Lines Matching refs:res
59 void* res = alloc(bytes); in allocArray() local
60 return (T*) res; in allocArray()
65 void* res = alloc(bytes); in strDup() local
66 memset(res, 0x0, bytes); in strDup()
67 memcpy(res, toCopy, bytes); in strDup()
68 return (char*)res; in strDup()
72 char** res = allocArray<char*>(count); in strDupArray() local
75 res[i] = strDup(arrayToCopy[i]); in strDupArray()
78 return res; in strDupArray()
82 void* res = alloc(bytes); in dupArray() local
83 memcpy(res, buf, bytes); in dupArray()
84 return res; in dupArray()