Searched refs:str (Results 1 - 25 of 67) sorted by relevance

123

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Datoll.c34 atoll(str)
35 const char *str;
37 return(strtoll(str, (char **)NULL, 10));
H A Datol.c34 atol(const char *str) argument
36 return(strtol(str, (char **)NULL, 10));
H A Datoi.c34 atoi(const char *str) argument
36 return((int)strtol(str, (char **)NULL, 10));
H A Dsetenv.c44 putenv(char *str) argument
50 for (cp = str; *cp && *cp != '='; ++cp)
57 if (__findenv(str, (int)(cp - str), &offset) != NULL) {
58 environ[offset++] = str;
60 while (__findenv(str, (int)(cp - str), &offset)) {
78 environ[cnt] = str;
/bionic/libc/bionic/
H A Dstrnlen.c30 size_t strnlen(const char* str, size_t maxlen) argument
32 char* p = memchr(str, 0, maxlen);
37 return (p - str);
H A Dwcstod.cpp37 float_type wcstod(const wchar_t* str, wchar_t** end, float_type strtod_fn(const char*, char**)) { argument
38 const wchar_t* original_str = str;
39 while (iswspace(*str)) {
40 str++;
44 size_t max_len = wcsspn(str, L"-+0123456789.xXeEpP()nNaAiIfFtTyY");
50 ascii_str[i] = str[i] & 0xff;
85 *end = const_cast<wchar_t*>(str) + actual_len;
/bionic/libc/upstream-netbsd/lib/libc/isc/
H A Dev_streams.c48 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/upstream-openbsd/lib/libc/string/
H A Dstrdup.c39 strdup(const char *str) argument
44 siz = strlen(str) + 1;
47 (void)memcpy(copy, str, siz);
H A Dstrndup.c26 strndup(const char *str, size_t maxlen) argument
31 len = strnlen(str, maxlen);
34 (void)memcpy(copy, str, len);
/bionic/libc/malloc_debug/
H A Ddebug_log.h41 #define error_log_string(str) \
42 async_safe_write_log(ANDROID_LOG_ERROR, "malloc_debug", (str))
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvsscanf.c46 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 Dvasprintf.c26 vasprintf(char **str, const char *fmt, __va_list ap) argument
47 *str = (char *)_base;
53 *str = NULL;
H A Dvswscanf.c52 vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, argument
67 len = wcslen(str) * MB_CUR_MAX;
71 strp = str;
/bionic/tools/relocation_packer/src/
H A Ddebug_unittest.cc22 EXPECT_EQ("INFO: INFO log message\n", info.str());
24 "ERROR: ERROR log message\n", error.str());
42 EXPECT_EQ("INFO: INFO log message\n", info.str());
44 "ERROR: ERROR log message\n", error.str());
58 EXPECT_EQ("", info.str());
59 EXPECT_EQ("", error.str());
68 "INFO: VLOG 1 INFO log message\n", info.str());
69 EXPECT_EQ("", error.str());
83 EXPECT_EQ("", info.str());
84 EXPECT_EQ("", error.str());
[all...]
/bionic/tools/versioner/src/
H A DCompilationType.cpp25 return ss.str();
/bionic/libc/arch-mips/string/
H A Dstrlen.c65 return do_bytes(str, (const char *)(w + cnt), val); \
77 return do_bytes(str, (const char *)(w + cnt)); \
82 strlen (const char *str) __overloadable
84 if (*str) {
85 const char *p = (const char *) str;
91 return (p - str);
H A Dstrnlen.c65 return do_bytes(str, (const char *)(in), tmp); \
77 return do_bytes(str, (const char *)(in)); \
82 size_t strnlen (const char *str, size_t n) { argument
84 const char *p = (const char *) str;
90 return (p - str);
132 return (p - str);
135 return (p - str);
/bionic/libc/kernel/uapi/drm/
H A Darmada_drm.h27 #define ARMADA_IOCTL(dir,name,str) DRM_ ##dir(DRM_COMMAND_BASE + DRM_ARMADA_ ##name, struct drm_armada_ ##str)
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Darmada_drm.h27 #define ARMADA_IOCTL(dir,name,str) DRM_ ##dir(DRM_COMMAND_BASE + DRM_ARMADA_ ##name, struct drm_armada_ ##str)
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Darmada_drm.h27 #define ARMADA_IOCTL(dir,name,str) DRM_ ##dir(DRM_COMMAND_BASE + DRM_ARMADA_ ##name, struct drm_armada_ ##str)
/bionic/libc/arch-arm/bionic/
H A Dvfork.S36 str r0, [r3, #12]
/bionic/libc/arch-arm64/generic/bionic/
H A Dmemset.S114 str val, [dstin]
115 str val, [dstend, -8]
119 str valw, [dstin]
120 str valw, [dstend, -4]
130 str q0, [dstin]
132 str q0, [dstend, -16]
134 str q0, [dstin, 16]
135 str q0, [dstend, -32]
142 str q0, [dstin, 16]
152 str q
[all...]
H A Dstring_copy.S138 str data1, [dst], #7
140 str data1, [dst]
145 str data1_w, [dst], #4
165 str data1, [dst], #8
172 str data2, [dst], #7
174 str data2, [dst]
179 str data2_w, [dst], #4
230 str data1_w, [dst], #4
239 str data1, [dst], #8
/bionic/libc/arch-arm64/bionic/
H A Dvfork.S37 str wzr, [x0, #20]
/bionic/linker/
H A Dlinker_utils.cpp39 void format_string(std::string* str, const std::vector<std::pair<std::string, std::string>>& params) { argument
41 while (pos < str->size()) {
42 pos = str->find("$", pos);
47 if (str->substr(pos + 1, token.size()) == token) {
48 str->replace(pos, token.size() + 1, replacement);
52 } else if (str->substr(pos + 1, token.size() + 2) == "{" + token + "}") {
53 str->replace(pos, token.size() + 3, replacement);

Completed in 268 milliseconds

123