Home
last modified time | relevance | path

Searched refs:newsh (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dsds.c195 void *sh, *newsh; in sdsMakeRoomFor() local
222 if (newsh == NULL) return NULL; in sdsMakeRoomFor()
223 s = (char*)newsh+hdrlen; in sdsMakeRoomFor()
228 if (newsh == NULL) return NULL; in sdsMakeRoomFor()
231 s = (char*)newsh+hdrlen; in sdsMakeRoomFor()
246 void *sh, *newsh; in sdsRemoveFreeSpace() local
256 if (newsh == NULL) return NULL; in sdsRemoveFreeSpace()
257 s = (char*)newsh+hdrlen; in sdsRemoveFreeSpace()
259 newsh = s_malloc(hdrlen+len+1); in sdsRemoveFreeSpace()
260 if (newsh == NULL) return NULL; in sdsRemoveFreeSpace()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Dsds.c205 void *sh, *newsh; in sdsMakeRoomFor() local
232 if (newsh == NULL) return NULL; in sdsMakeRoomFor()
233 s = (char*)newsh+hdrlen; in sdsMakeRoomFor()
238 if (newsh == NULL) return NULL; in sdsMakeRoomFor()
241 s = (char*)newsh+hdrlen; in sdsMakeRoomFor()
256 void *sh, *newsh; in sdsRemoveFreeSpace() local
277 if (newsh == NULL) return NULL; in sdsRemoveFreeSpace()
278 s = (char*)newsh+oldhdrlen; in sdsRemoveFreeSpace()
280 newsh = s_malloc(hdrlen+len+1); in sdsRemoveFreeSpace()
281 if (newsh == NULL) return NULL; in sdsRemoveFreeSpace()
[all …]