Home
last modified time | relevance | path

Searched refs:vlen (Results 1 – 25 of 32) sorted by relevance

12

/f-stack/app/redis-5.0.5/src/
H A Dzipmap.c171 l = klen+vlen+3; in zipmapRequiredLength()
173 if (vlen >= ZIPMAP_BIGLEN) l += 4; in zipmapRequiredLength()
273 p += zipmapEncodeLength(p,vlen); in zipmapSet()
275 memcpy(p,val,vlen); in zipmapSet()
339 *vlen = zipmapDecodeLength(p); in zipmapGet()
437 unsigned int vlen, i; in zipmapTest() local
443 vlen, vlen, value); in zipmapTest()
450 unsigned int vlen; in zipmapTest() local
454 vlen, vlen, value); in zipmapTest()
461 unsigned int klen, vlen; in zipmapTest() local
[all …]
H A Dt_hash.c118 *vlen = sdslen(value); in hashTypeGetValue()
133 unsigned int vlen; in hashTypeGetValueObject() local
148 unsigned int vlen = UINT_MAX; in hashTypeGetValueLength() local
169 unsigned int vlen = UINT_MAX; in hashTypeExists() local
433 *vlen = sdslen(ele); in hashTypeCurrentObject()
443 unsigned int vlen; in hashTypeCurrentObjectNewSds() local
447 if (vstr) return sdsnewlen(vstr,vlen); in hashTypeCurrentObjectNewSds()
564 unsigned int vlen; in hincrbyCommand() local
600 unsigned int vlen; in hincrbyfloatCommand() local
654 unsigned int vlen = UINT_MAX; in addHashFieldToReply() local
[all …]
H A Dzipmap.h39 …ar *zm, unsigned char *key, unsigned int klen, unsigned char *val, unsigned int vlen, int *update);
42 …gned char *zm, unsigned char **key, unsigned int *klen, unsigned char **value, unsigned int *vlen);
43 …signed char *zm, unsigned char *key, unsigned int klen, unsigned char **value, unsigned int *vlen);
H A Dt_zset.c724 unsigned int vlen; in zzlGetScore() local
733 memcpy(buf,vstr,vlen); in zzlGetScore()
734 buf[vlen] = '\0'; in zzlGetScore()
746 unsigned int vlen; in ziplistGetObject() local
762 unsigned int vlen; in zzlCompareElements() local
774 minlen = (vlen < clen) ? vlen : clen; in zzlCompareElements()
1179 unsigned int vlen; in zsetConvert() local
2455 unsigned int vlen; in zrangeGenericCommand() local
2580 unsigned int vlen; in genericZrangebyscoreCommand() local
2935 unsigned int vlen; in genericZrangebylexCommand() local
[all …]
H A Dziplist.h48 unsigned char *ziplistFind(unsigned char *p, unsigned char *vstr, unsigned int vlen, unsigned int s…
H A Dconfig.c970 int vlen, j; local
976 if (vlen & 1) {
977 sdsfreesplitres(v,vlen);
980 for (j = 0; j < vlen; j++) {
994 for (j = 0; j < vlen; j += 2) {
1002 sdsfreesplitres(v,vlen);
1009 int vlen, j; local
1013 if (vlen % 4) {
1014 sdsfreesplitres(v,vlen);
1021 for (j = 0; j < vlen; j++) {
[all …]
H A Dziplist.c1108 unsigned char *ziplistFind(unsigned char *p, unsigned char *vstr, unsigned int vlen, unsigned int s… in ziplistFind() argument
1124 if (len == vlen && memcmp(q, vstr, vlen) == 0) { in ziplistFind()
1132 if (!zipTryEncoding(vstr, vlen, &vll, &vencoding)) { in ziplistFind()
1314 unsigned int vlen; in pop() local
1318 if (ziplistGet(p,&vstr,&vlen,&vlong)) { in pop()
1325 if (vlen && fwrite(vstr,vlen,1,stdout) == 0) perror("fwrite"); in pop()
H A Dgeo.c236 unsigned int vlen = 0; in geoGetPointsInRange() local
254 ziplistGet(eptr, &vstr, &vlen, &vlong); in geoGetPointsInRange()
256 sdsnewlen(vstr,vlen); in geoGetPointsInRange()
H A Daof.c1010 unsigned int vlen; in rewriteSortedSetObject() local
1020 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in rewriteSortedSetObject()
1033 if (rioWriteBulkString(r,(char*)vstr,vlen) == 0) return 0; in rewriteSortedSetObject()
1079 unsigned int vlen = UINT_MAX; in rioWriteHashIteratorCursor() local
1082 hashTypeCurrentFromZiplist(hi, what, &vstr, &vlen, &vll); in rioWriteHashIteratorCursor()
1084 return rioWriteBulkString(r, (char*)vstr, vlen); in rioWriteHashIteratorCursor()
H A Drdb.c1066 int vlen = ll2string(buf,sizeof(buf),val); in rdbSaveAuxFieldStrInt() local
1067 return rdbSaveAuxField(rdb,key,strlen(key),buf,vlen); in rdbSaveAuxFieldStrInt()
1590 unsigned int flen, vlen; in rdbLoadObject() local
1593 while ((zi = zipmapNext(zi, &fstr, &flen, &vstr, &vlen)) != NULL) { in rdbLoadObject()
1595 if (vlen > maxlen) maxlen = vlen; in rdbLoadObject()
1597 zl = ziplistPush(zl, vstr, vlen, ZIPLIST_TAIL); in rdbLoadObject()
H A Dquicklist.c1329 unsigned int vlen; in quicklistPopCustom() local
1353 if (ziplistGet(p, &vstr, &vlen, &vlong)) { in quicklistPopCustom()
1356 *data = saver(vstr, vlen); in quicklistPopCustom()
1358 *sz = vlen; in quicklistPopCustom()
1388 unsigned int vlen; in quicklistPop() local
1392 int ret = quicklistPopCustom(quicklist, where, &vstr, &vlen, &vlong, in quicklistPop()
1399 *sz = vlen; in quicklistPop()
H A Ddb.c723 unsigned int vlen; in scanGenericCommand() local
727 ziplistGet(p,&vstr,&vlen,&vll); in scanGenericCommand()
729 (vstr != NULL) ? createStringObject((char*)vstr,vlen) : in scanGenericCommand()
H A Ddebug.c154 unsigned int vlen; in xorObjectDigest() local
164 serverAssert(ziplistGet(eptr,&vstr,&vlen,&vll)); in xorObjectDigest()
169 mixDigest(eledigest,vstr,vlen); in xorObjectDigest()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Djemalloc.c849 size_t vlen) { in malloc_conf_error() argument
851 (int)vlen, v); in malloc_conf_error()
876 size_t klen, vlen; in malloc_conf_init() local
952 &vlen)) { in malloc_conf_init()
956 (sizeof(n)-1 == vlen && strncmp(n, v, vlen) == 0) in malloc_conf_init()
1058 v, vlen) == 0) { in malloc_conf_init()
1066 k, klen, v, vlen); in malloc_conf_init()
1091 k, klen, v, vlen); in malloc_conf_init()
1131 klen, v, vlen); in malloc_conf_init()
1154 v, vlen) == 0) { in malloc_conf_init()
[all …]
/f-stack/tools/libxo/libxo/
H A Dlibxo.c3816 if (vlen == 0) in xo_simple_field()
4123 if (vlen) { in xo_format_title()
4130 memcpy(newstr, value, vlen); in xo_format_title()
4131 newstr[vlen] = '\0'; in xo_format_title()
4133 if (newstr[vlen - 1] == 's') { in xo_format_title()
4488 else if (vlen != 0) in xo_format_value()
5024 if (vlen) in xo_format_colors()
5110 if (vlen) in xo_format_units()
5148 if (vlen) { in xo_find_width()
5150 memcpy(bp, value, vlen); in xo_find_width()
[all …]
/f-stack/freebsd/net/
H A Dradix.c281 int off = t->rn_offset, vlen = LEN(cp), matched_off; in rn_match() local
306 vlen = *(u_char *)t->rn_mask; in rn_match()
307 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; in rn_match()
428 int head_off = top->rn_offset, vlen = LEN(v); in rn_insert() local
438 caddr_t cplim = v + vlen; in rn_insert()
758 int b, head_off, vlen; in rn_delete() local
765 vlen = LEN(v); in rn_delete()
769 bcmp(v + head_off, tt->rn_key + head_off, vlen - head_off)) in rn_delete()
/f-stack/lib/
H A Dff_freebsd_init.c122 cur->value, cur->vlen, NULL, 0); in ff_freebsd_init()
H A Dff_config.h119 size_t vlen; member
H A Dff_config.c172 newconf->vlen = strlen(value); in freebsd_conf_handler()
181 newconf->vlen = sizeof(*p); in freebsd_conf_handler()
186 newconf->vlen = sizeof(*p); in freebsd_conf_handler()
190 newconf->vlen = strlen(value); in freebsd_conf_handler()
/f-stack/freebsd/netgraph/
H A Dng_parse.c1325 int k, pad, vlen; in ng_parse_composite() local
1338 vlen = *buflen - blen; in ng_parse_composite()
1341 start, buf + blen, &vlen, ctype); in ng_parse_composite()
1345 s, off, start, buf + blen, &vlen); in ng_parse_composite()
1349 blen += vlen; in ng_parse_composite()
/f-stack/freebsd/arm64/linux/
H A Dlinux_systrace_args.c540 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
551 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
1925 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2006 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2172 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2184 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
H A Dlinux_proto.h286 char vlen_l_[PADL_(l_ulong)]; l_ulong vlen; char vlen_r_[PADR_(l_ulong)]; member
293 char vlen_l_[PADL_(l_ulong)]; l_ulong vlen; char vlen_r_[PADR_(l_ulong)]; member
947 char vlen_l_[PADL_(l_uint)]; l_uint vlen; char vlen_r_[PADR_(l_uint)]; member
994 char vlen_l_[PADL_(l_uint)]; l_uint vlen; char vlen_r_[PADR_(l_uint)]; member
1092 char vlen_l_[PADL_(l_ulong)]; l_ulong vlen; char vlen_r_[PADR_(l_ulong)]; member
1100 char vlen_l_[PADL_(l_ulong)]; l_ulong vlen; char vlen_r_[PADR_(l_ulong)]; member
/f-stack/freebsd/amd64/linux/
H A Dlinux_systrace_args.c2259 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2270 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2296 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2359 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2553 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2565 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_systrace_args.c2383 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2394 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2420 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2483 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2799 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2811 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
/f-stack/freebsd/i386/linux/
H A Dlinux_systrace_args.c2422 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2433 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2459 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2522 iarg[2] = p->vlen; /* l_uint */ in systrace_args()
2838 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()
2850 iarg[2] = p->vlen; /* l_ulong */ in systrace_args()

12