/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);
|
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);
|
/bionic/libc/stdlib/ |
H A D | putenv.c | 35 putenv(const char *str) argument 40 if ((p = strdup(str)) == NULL)
|
H A D | wchar.c | 159 int fputws(const wchar_t *str, FILE *stream) argument 161 return fputs( (const char*)str, stream );
|
/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 | 81 str = "cleaning: %-*s -> %-*s (%s)" % ( 35, "<original>" + path[len(original_dir):], 35, dst_path, state ) variable 83 print "%-*s" % (oldlen,str), 90 print str 92 oldlen = len(str)
|
/bionic/linker/ |
H A D | linker_environ.c | 33 /* Returns 1 if 'str' points to a valid environment variable definition. 39 _is_valid_definition(const char* str) argument 49 if (str == NULL) 54 if (str[pos] == '\0') 56 if (str[pos] == '=' && first_equal_pos < 0)
|
H A D | linker_format.c | 440 const char* str; local 537 str = va_arg(args, const char*); 543 str = buffer; 549 str = buffer; 587 str = buffer; 590 /* if we are here, 'str' points to the content that must be 593 slen = strlen(str); 600 out_send(o, str, slen);
|
/bionic/libc/netbsd/isc/ |
H A D | ev_streams.c | 42 static int copyvec(evStream *str, const struct iovec *iov, int iocnt); 43 static void consume(evStream *str, size_t bytes); 44 static void done(evContext opaqueCtx, evStream *str); 130 evStream *str = id.opaque; local 134 str->timer = timer; 135 str->flags |= EV_STR_TIMEROK; 141 evStream *str = id.opaque; local 145 str->flags &= ~EV_STR_TIMEROK; 205 copyvec(evStream *str, const struct iovec *iov, int iocnt) { argument 208 str 227 consume(evStream *str, size_t bytes) argument 246 done(evContext opaqueCtx, evStream *str) argument 265 evStream *str = uap; local 288 evStream *str = uap; local [all...] |
/bionic/libc/kernel/common/linux/ |
H A D | init.h | 62 const char *str; member in struct:obs_kernel_param 67 #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 } 69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) 71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) 73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) 75 #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/bionic/ |
H A D | malloc_debug_qemu.c | 228 static void notify_qemu_string(const char* str); 230 static void dump_malloc_descriptor(char* str, 418 * str - Zero-terminated string to print. 421 notify_qemu_string(const char* str) argument 423 if (str != NULL) { 424 notify_qemu(TRACE_DEV_REG_PRINT_USER_STR, (uint32_t)str); 554 * str - String to dump descriptor to. 559 dump_malloc_descriptor(char* str, size_t str_buf_size, const MallocDesc* desc) argument 562 snprintf(str, str_buf_size, 568 str[str_buf_siz [all...] |
/bionic/libc/netbsd/net/ |
H A D | getaddrinfo.c | 285 #define GET_CANONNAME(ai, str) \ 288 error = get_canonname(pai, (ai), (str)); \ 1082 get_canonname(const struct addrinfo *pai, struct addrinfo *ai, const char *str) argument 1087 assert(str != NULL); 1090 ai->ai_canonname = strdup(str);
|