Searched refs:chars (Results 1 – 3 of 3) sorted by relevance
/device/google/coral/json-c/ |
D | printbuf.c | 125 int chars; in vasprintf() local 131 chars = _vscprintf(fmt, ap)+1; in vasprintf() 135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf() 136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf() 139 b = (char*)malloc(sizeof(char)*chars); in vasprintf() 142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf() 149 return chars; in vasprintf()
|
/device/google/crosshatch/json-c/ |
D | printbuf.c | 125 int chars; in vasprintf() local 131 chars = _vscprintf(fmt, ap)+1; in vasprintf() 135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf() 136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf() 139 b = (char*)malloc(sizeof(char)*chars); in vasprintf() 142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf() 149 return chars; in vasprintf()
|
/device/google/bonito/json-c/ |
D | printbuf.c | 125 int chars; in vasprintf() local 131 chars = _vscprintf(fmt, ap)+1; in vasprintf() 135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf() 136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf() 139 b = (char*)malloc(sizeof(char)*chars); in vasprintf() 142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf() 149 return chars; in vasprintf()
|