Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 34) sorted by relevance

12

/bionic/libc/netbsd/isc/
Dev_streams.c42 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; in evTimeRW() local
134 str->timer = timer; in evTimeRW()
135 str->flags |= EV_STR_TIMEROK; in evTimeRW()
141 evStream *str = id.opaque; in evUntimeRW() local
145 str->flags &= ~EV_STR_TIMEROK; in evUntimeRW()
205 copyvec(evStream *str, const struct iovec *iov, int iocnt) { in copyvec() argument
208 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt); in copyvec()
[all …]
/bionic/libc/string/
Dstrlen.c39 strlen(const char *str) in strlen() argument
43 for (s = str; *s; ++s) in strlen()
45 return (s - str); in strlen()
Dstrnlen.c30 size_t strnlen(const char* str, size_t maxlen) in strnlen() argument
32 char* p = memchr(str, 0, maxlen); in strnlen()
37 return (p - str); in strnlen()
Dstrdup.c39 strdup(const char *str) in strdup() argument
44 siz = strlen(str) + 1; in strdup()
47 (void)memcpy(copy, str, siz); in strdup()
Dstrtotimeval.c33 char * strtotimeval (const char *str, struct timeval *ts) in strtotimeval() argument
39 ts->tv_sec = strtoumax(str, &s, 10); in strtotimeval()
/bionic/libc/kernel/common/linux/
Dinit.h62 const char *str; member
67 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata… argument
69 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) argument
71 #define __setup(str, fn) __setup_param(str, fn, fn, 0) argument
73 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) argument
75 #define early_param(str, fn) __setup_param(str, fn, fn, 1) argument
99 #define __setup_param(str, unique_id, fn) argument
100 #define __setup_null_param(str, unique_id) argument
101 #define __setup(str, func) argument
102 #define __obsolete_setup(str) argument
/bionic/libc/stdio/
Dvsscanf.c46 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument
53 f._bf._base = f._p = (unsigned char *)str; in vsscanf()
54 f._bf._size = f._r = strlen(str); in vsscanf()
Dsscanf.c48 sscanf(const char *str, const char *fmt, ...) in sscanf() argument
57 f._bf._base = f._p = (unsigned char *)str; in sscanf()
58 f._bf._size = f._r = strlen(str); in sscanf()
Dvsnprintf.c40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument
54 str = &dummy; in vsnprintf()
59 f._bf._base = f._p = (unsigned char *)str; in vsnprintf()
Dsnprintf.c41 snprintf(char *str, size_t n, const char *fmt, ...) in snprintf() argument
54 str = &dummy; in snprintf()
60 f._bf._base = f._p = (unsigned char *)str; in snprintf()
Dasprintf.c27 asprintf(char **str, const char *fmt, ...) in asprintf() argument
49 *str = (char *)_base; in asprintf()
54 *str = NULL; in asprintf()
Dvasprintf.c26 vasprintf(char **str, const char *fmt, __va_list ap) in vasprintf() argument
47 *str = (char *)_base; in vasprintf()
52 *str = NULL; in vasprintf()
Dvsprintf.c45 vsprintf(char *str, const char *fmt, __va_list ap) in vsprintf() argument
54 f._bf._base = f._p = (unsigned char *)str; in vsprintf()
Dsprintf.c46 sprintf(char *str, const char *fmt, ...) in sprintf() argument
56 f._bf._base = f._p = (unsigned char *)str; in sprintf()
/bionic/libc/stdlib/
Dputenv.c35 putenv(const char *str) in putenv() argument
40 if ((p = strdup(str)) == NULL) in putenv()
/bionic/libc/arch-arm/bionic/
Dclone.S38 str r0, [r1, #-4]
39 str r3, [r1, #-8]
Dsetjmp.S62 str r1, [r0, #(_JB_SIGMASK * 4)]
65 str r1, [r0, #(_JB_MAGIC * 4)]
77 str r1, [r0, #(_JB_FLOAT_STATE * 4)]
D_setjmp.S56 str r1, [r0, #(_JB_MAGIC * 4)]
68 str r1, [r0, #(_JB_FLOAT_STATE * 4)]
/bionic/libc/bionic/
Dmalloc_debug_qemu.c228 static void notify_qemu_string(const char* str);
230 static void dump_malloc_descriptor(char* str,
421 notify_qemu_string(const char* str) in notify_qemu_string() argument
423 if (str != NULL) { in notify_qemu_string()
424 notify_qemu(TRACE_DEV_REG_PRINT_USER_STR, (uint32_t)str); in notify_qemu_string()
559 dump_malloc_descriptor(char* str, size_t str_buf_size, const MallocDesc* desc) in dump_malloc_descriptor() argument
562 snprintf(str, str_buf_size, in dump_malloc_descriptor()
568 str[str_buf_size - 1] = '\0'; in dump_malloc_descriptor()
/bionic/linker/
Dlinker_format.c437 const char* str; in out_vformat() local
538 str = va_arg(args, const char*); in out_vformat()
544 str = buffer; in out_vformat()
550 str = buffer; in out_vformat()
588 str = buffer; in out_vformat()
594 slen = strlen(str); in out_vformat()
601 out_send(o, str, slen); in out_vformat()
/bionic/libc/kernel/arch-sh/asm/
Duaccess.h53 #define strlen_user(str) strnlen_user(str, ~0UL >> 1) argument
/bionic/libc/tzcode/
Dstrftime.c683 _add(str, pt, ptlim, modifier) in _add() argument
684 const char * str; in _add()
693 while (pt < ptlim && (*pt = tolower(*str++)) != '\0') {
699 while (pt < ptlim && (*pt = toupper(*str++)) != '\0') {
705 while (pt < ptlim && (c = *str++) != '\0') {
718 while (pt < ptlim && (*pt = *str++) != '\0') {
/bionic/libc/tools/
Dbionic_utils.py215 print str(syscall_id) + ':' + str(syscall_id2) + ':' + str(syscall_id3)
Dgenserv.py72 line += str(s)+"\\\n"
/bionic/libc/kernel/arch-x86/asm/
Duaccess_32.h81 #define strlen_user(str) strnlen_user(str, LONG_MAX) argument

12