Home
last modified time | relevance | path

Searched refs:field (Results 1 – 14 of 14) sorted by relevance

/redis-3.2.3/src/
H A Dt_hash.c75 field = getDecodedObject(field); in hashTypeGetFromZiplist()
80 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeGetFromZiplist()
88 decrRefCount(field); in hashTypeGetFromZiplist()
198 field = getDecodedObject(field); in hashTypeSet()
204 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeSet()
221 zl = ziplistPush(zl, field->ptr, sdslen(field->ptr), ZIPLIST_TAIL); in hashTypeSet()
225 decrRefCount(field); in hashTypeSet()
252 field = getDecodedObject(field); in hashTypeDelete()
257 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeDelete()
266 decrRefCount(field); in hashTypeDelete()
[all …]
H A Dzmalloc.c338 size_t zmalloc_get_smap_bytes_by_field(char *field) { in zmalloc_get_smap_bytes_by_field() argument
342 int flen = strlen(field); in zmalloc_get_smap_bytes_by_field()
346 if (strncmp(line,field,flen) == 0) { in zmalloc_get_smap_bytes_by_field()
358 size_t zmalloc_get_smap_bytes_by_field(char *field) { in zmalloc_get_smap_bytes_by_field() argument
359 ((void) field); in zmalloc_get_smap_bytes_by_field()
H A Drdb.c1088 robj *field, *value; in rdbLoadObject() local
1092 field = rdbLoadStringObject(rdb); in rdbLoadObject()
1093 if (field == NULL) return NULL; in rdbLoadObject()
1094 serverAssert(sdsEncodedObject(field)); in rdbLoadObject()
1100 o->ptr = ziplistPush(o->ptr, field->ptr, sdslen(field->ptr), ZIPLIST_TAIL); in rdbLoadObject()
1106 decrRefCount(field); in rdbLoadObject()
1111 decrRefCount(field); in rdbLoadObject()
1117 robj *field, *value; in rdbLoadObject() local
1121 field = rdbLoadEncodedStringObject(rdb); in rdbLoadObject()
1122 if (field == NULL) return NULL; in rdbLoadObject()
[all …]
H A Dzmalloc.h79 size_t zmalloc_get_smap_bytes_by_field(char *field);
H A Dredis-cli.c2208 static char *getInfoField(char *info, char *field) { in getInfoField() argument
2209 char *p = strstr(info,field); in getInfoField()
2214 p += strlen(field)+1; in getInfoField()
2226 static long getLongInfoField(char *info, char *field) { in getLongInfoField() argument
2227 char *value = getInfoField(info,field); in getLongInfoField()
H A Dscripting.c669 int luaRedisReturnSingleFieldTable(lua_State *lua, char *field) { in luaRedisReturnSingleFieldTable() argument
676 lua_pushstring(lua, field); in luaRedisReturnSingleFieldTable()
/redis-3.2.3/tests/unit/type/
H A Dhash.tcl418 test {HSTRLEN against non existing field} {
431 r hmset smallhash field $v
432 r hmset bighash field $v
435 set len3 [r hstrlen bighash field]
456 set field [randomValue]
458 r hset hash $field $value
459 set hash($field) $value
479 set field [randomValue]
482 set hash($field) $value
487 set hash($field) $value
[all …]
/redis-3.2.3/tests/
H A Dinstances.tcl343 proc get_info_field {info field} { argument
344 set fl [string length $field]
345 append field :
348 if {[string range $line 0 $fl] eq $field} {
355 proc SI {n field} { argument
356 get_info_field [S $n info] $field
359 proc RI {n field} { argument
360 get_info_field [R $n info] $field
/redis-3.2.3/tests/cluster/
H A Dcluster.tcl46 proc CI {n field} { argument
47 get_info_field [R $n cluster info] $field
/redis-3.2.3/deps/hiredis/
H A DREADME.md42 struct has an integer `err` field that is non-zero when an the connection is in
43 an error state. The field `errstr` will contain a string with a description of
46 check the `err` field to see if establishing the connection was successful:
84 the `err` field in the context will be set (see section on **Errors**).
89 `type` field in the `redisReply` should be used to test what kind of reply
101 `reply->integer` field of type `long long`.
204 returned. The `err` field inside the context will be non-zero and set to one of the
254 field in the context can be accessed to find out the cause of the error.
349 the response of type `REDIS_REPLY_STATUS` then the `str` field of `redisReply`
352 setting the `fn` field on the `redisReader` struct. This should be done
[all …]
H A Dtest.c434 const char *field = "redis_version:"; in test_blocking_io_errors() local
438 p = strstr(reply->str,field); in test_blocking_io_errors()
439 major = strtol(p+strlen(field),&eptr,10); in test_blocking_io_errors()
/redis-3.2.3/deps/lua/src/
H A Dlparser.c407 static void field (LexState *ls, expdesc *v) { in field() function
698 field(ls, v); in primaryexp()
1203 field(ls, v); in funcname()
1206 field(ls, v); in funcname()
/redis-3.2.3/deps/lua/
H A DHISTORY15 + new functions: lua_createtable, lua_get(set)field, lua_push(to)integer.
/redis-3.2.3/deps/jemalloc/
H A Dconfigure9095 nfields = split(line, field, "@")
9097 len = length(field[1])
9099 key = field[i]
9104 len += length(value) + length(field[++i])