/bionic/libc/bionic/ |
H A D | strnlen.c | 30 size_t strnlen(const char* str, size_t maxlen) argument 32 char* p = memchr(str, 0, maxlen); 37 return (p - str);
|
H A D | strtotimeval.c | 33 char * strtotimeval (const char *str, struct timeval *ts) argument 39 ts->tv_sec = strtoumax(str, &s, 10);
|
H A D | wchar.cpp | 139 int fputws(const wchar_t* str, FILE* stream) { argument 140 return fputs(reinterpret_cast<const char*>(str), stream );
|
H A D | libc_logging.cpp | 334 const char* str = buffer; local 337 str = va_arg(args, const char*); 338 if (str == NULL) { 339 str = "(null)"; 382 /* if we are here, 'str' points to the content that must be 385 slen = strlen(str); 396 o.Send(str, slen);
|
H A D | malloc_debug_qemu.cpp | 228 static void notify_qemu_string(const char* str); 230 static void dump_malloc_descriptor(char* str, 406 * str - Zero-terminated string to print. 408 static void notify_qemu_string(const char* str) { argument 409 if (str != NULL) { 410 notify_qemu(TRACE_DEV_REG_PRINT_USER_STR, (uint32_t)str); 530 * str - String to dump descriptor to. 534 static void dump_malloc_descriptor(char* str, size_t str_buf_size, const MallocDesc* desc) { argument 536 snprintf(str, str_buf_size, 542 str[str_buf_siz [all...] |
/bionic/libc/string/ |
H A D | strdup.c | 39 strdup(const char *str) argument 44 siz = strlen(str) + 1; 47 (void)memcpy(copy, str, siz);
|
H A D | strlen.c | 39 strlen(const char *str) argument 43 for (s = str; *s; ++s) 45 return (s - str);
|
/bionic/libc/stdlib/ |
H A D | putenv.c | 35 putenv(const char *str) argument 40 if ((p = strdup(str)) == NULL)
|
/bionic/libc/stdio/ |
H A D | asprintf.c | 27 asprintf(char **str, const char *fmt, ...) argument 49 *str = (char *)_base; 54 *str = NULL;
|
H A D | sprintf.c | 46 sprintf(char *str, const char *fmt, ...) argument 56 f._bf._base = f._p = (unsigned char *)str;
|
H A D | vsprintf.c | 45 vsprintf(char *str, const char *fmt, __va_list ap) argument 54 f._bf._base = f._p = (unsigned char *)str;
|
H A D | snprintf.c | 41 snprintf(char *str, size_t n, const char *fmt, ...) argument 54 str = &dummy; 60 f._bf._base = f._p = (unsigned char *)str;
|
H A D | vasprintf.c | 26 vasprintf(char **str, const char *fmt, __va_list ap) argument 47 *str = (char *)_base; 52 *str = NULL;
|
H A D | vsnprintf.c | 40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) argument 54 str = &dummy; 59 f._bf._base = f._p = (unsigned char *)str;
|
H A D | vsscanf.c | 46 vsscanf(const char *str, const char *fmt, __va_list ap) argument 53 f._bf._base = f._p = (unsigned char *)str; 54 f._bf._size = f._r = strlen(str);
|
H A D | sscanf.c | 48 sscanf(const char *str, const char *fmt, ...) argument 57 f._bf._base = f._p = (unsigned char *)str; 58 f._bf._size = f._r = strlen(str);
|
/bionic/libc/kernel/tools/ |
H A D | update_all.py | 76 str = "cleaning: %-*s -> %-*s (%s)" % ( 35, "<original>" + path[len(original_dir):], 35, dst_path, state ) variable 78 print "%-*s" % (oldlen,str), 85 print str 87 oldlen = len(str)
|
/bionic/libc/upstream-netbsd/libc/isc/ |
H A D | ev_streams.c | 48 static int copyvec(evStream *str, const struct iovec *iov, int iocnt); 49 static void consume(evStream *str, size_t bytes); 50 static void done(evContext opaqueCtx, evStream *str); 136 evStream *str = id.opaque; local 140 str->timer = timer; 141 str->flags |= EV_STR_TIMEROK; 147 evStream *str = id.opaque; local 151 str->flags &= ~EV_STR_TIMEROK; 211 copyvec(evStream *str, const struct iovec *iov, int iocnt) { argument 214 str 233 consume(evStream *str, size_t bytes) argument 252 done(evContext opaqueCtx, evStream *str) argument 271 evStream *str = uap; local 294 evStream *str = uap; local [all...] |
/bionic/libc/kernel/common/linux/ |
H A D | init.h | 61 const char *str; member in struct:obs_kernel_param 66 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata = str; static struct obs_kernel_param __setup_##unique_id __attribute_used__ __attribute__((__section__(".init.setup"))) __attribute__((aligned((sizeof(long))))) = { __setup_str_##unique_id, fn, early } 67 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 69 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 70 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 71 #define early_param(str, f [all...] |
/bionic/libc/netbsd/nameser/ |
H A D | ns_print.c | 599 const char *str = "record too long to print"; local 600 T(addstr(str, strlen(str), &buf, &buflen));
|
/bionic/libc/include/ |
H A D | stdio.h | 485 int snprintf(char *str, size_t size, const char *format, ...) argument 487 return __builtin___snprintf_chk(str, size, 0, 488 __builtin_object_size(str, 0), format, __builtin_va_arg_pack());
|
/bionic/libc/netbsd/net/ |
H A D | getaddrinfo.c | 288 #define GET_CANONNAME(ai, str) \ 291 error = get_canonname(pai, (ai), (str)); \ 1079 get_canonname(const struct addrinfo *pai, struct addrinfo *ai, const char *str) argument 1084 assert(str != NULL); 1087 ai->ai_canonname = strdup(str);
|