Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 36) 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.h61 const char *str; member
66 #define __setup_param(str, unique_id, fn, early) static char __setup_str_##unique_id[] __initdata… argument
67 #define __setup_null_param(str, unique_id) __setup_param(str, unique_id, NULL, 0) argument
69 #define __setup(str, fn) __setup_param(str, fn, fn, 0) argument
70 #define __obsolete_setup(str) __setup_null_param(str, __LINE__) argument
71 #define early_param(str, fn) __setup_param(str, fn, fn, 1) argument
90 #define __setup_param(str, unique_id, fn) argument
91 #define __setup_null_param(str, unique_id) argument
92 #define __setup(str, func) argument
94 #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()
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()
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()
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/linker/
Dlinker_environ.c39 _is_valid_definition(const char* str) in _is_valid_definition() argument
49 if (str == NULL) in _is_valid_definition()
54 if (str[pos] == '\0') in _is_valid_definition()
56 if (str[pos] == '=' && first_equal_pos < 0) in _is_valid_definition()
Dlinker_format.c440 const char* str; in out_vformat() local
537 str = va_arg(args, const char*); in out_vformat()
543 str = buffer; in out_vformat()
549 str = buffer; in out_vformat()
587 str = buffer; in out_vformat()
593 slen = strlen(str); in out_vformat()
600 out_send(o, str, slen); in out_vformat()
/bionic/libc/kernel/tools/
Dupdate_all.py81str = "cleaning: %-*s -> %-*s (%s)" % ( 35, "<original>" + path[len(original_dir):], 35, dst_path,… variable
83 print "%-*s" % (oldlen,str),
90 print str
92 oldlen = len(str)
/bionic/libc/arch-arm/bionic/
Dclone.S33 str r0, [r1, #-4]
34 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)]
Dstrcpy.S44 str r5, [sp, #-4]!
49 str r4, [sp, #-4]!
72 str r3, [ip], #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/libc/tzcode/
Dstrftime.c684 _add(str, pt, ptlim, modifier) in _add() argument
685 const char * str; in _add()
694 while (pt < ptlim && (*pt = tolower(*str++)) != '\0') {
700 while (pt < ptlim && (*pt = toupper(*str++)) != '\0') {
706 while (pt < ptlim && (c = *str++) != '\0') {
719 while (pt < ptlim && (*pt = *str++) != '\0') {
/bionic/libc/kernel/arch-x86/asm/
Duaccess_32.h72 #define strlen_user(str) strnlen_user(str, LONG_MAX) argument

12