Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 102) sorted by relevance

12345

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c145 static int fnmatch_ch(const char **pattern, const char **string, int flags) in fnmatch_ch() argument
173 ++*string; in fnmatch_ch()
190 if (classmatch(*pattern, **string, nocase, pattern) in fnmatch_ch()
216 if ((**string >= *startch) && (**string <= **pattern)) in fnmatch_ch()
218 else if (nocase && (isupper((unsigned char)**string) || in fnmatch_ch()
221 && (tolower((unsigned char)**string) >= in fnmatch_ch()
223 && (tolower((unsigned char)**string) <= in fnmatch_ch()
232 if ((**string == **pattern)) in fnmatch_ch()
234 else if (nocase && (isupper((unsigned char)**string) || in fnmatch_ch()
236 && (tolower((unsigned char)**string) == in fnmatch_ch()
[all …]
/bionic/libc/arch-x86/
Dx86.mk8 arch-x86/atom/string/sse2-memchr-atom.S \
9 arch-x86/atom/string/sse2-memrchr-atom.S \
10 arch-x86/atom/string/sse2-strchr-atom.S \
11 arch-x86/atom/string/sse2-strnlen-atom.S \
12 arch-x86/atom/string/sse2-strrchr-atom.S \
13 arch-x86/atom/string/sse2-wcschr-atom.S \
14 arch-x86/atom/string/sse2-wcsrchr-atom.S \
15 arch-x86/atom/string/sse2-wcslen-atom.S \
16 arch-x86/atom/string/sse2-wcscmp-atom.S \
17 arch-x86/silvermont/string/sse2-bcopy-slm.S \
[all …]
/bionic/libc/arch-x86/atom/
Datom.mk2 arch-x86/atom/string/sse2-bzero-atom.S \
3 arch-x86/atom/string/sse2-memset-atom.S \
4 arch-x86/atom/string/sse2-strlen-atom.S \
5 arch-x86/atom/string/ssse3-bcopy-atom.S \
6 arch-x86/atom/string/ssse3-memcmp-atom.S \
7 arch-x86/atom/string/ssse3-memcpy-atom.S \
8 arch-x86/atom/string/ssse3-memmove-atom.S \
9 arch-x86/atom/string/ssse3-strcpy-atom.S \
10 arch-x86/atom/string/ssse3-strncpy-atom.S \
11 arch-x86/atom/string/ssse3-wmemcmp-atom.S
[all …]
/bionic/libc/arch-x86_64/
Dx86_64.mk8 upstream-openbsd/lib/libc/string/memmove.c \
9 upstream-openbsd/lib/libc/string/stpcpy.c \
10 upstream-openbsd/lib/libc/string/stpncpy.c \
11 upstream-openbsd/lib/libc/string/strcat.c \
12 upstream-openbsd/lib/libc/string/strcpy.c \
13 upstream-openbsd/lib/libc/string/strlcat.c \
14 upstream-openbsd/lib/libc/string/strlcpy.c \
15 upstream-openbsd/lib/libc/string/strncat.c \
16 upstream-openbsd/lib/libc/string/strncmp.c \
17 upstream-openbsd/lib/libc/string/strncpy.c \
[all …]
/bionic/tests/
D__cxa_thread_atexit_test.cpp23 static std::string class_with_dtor_output;
27 void set_message(const std::string& msg) { in set_message()
35 std::string message;
46 class_with_dtor.set_message(*static_cast<std::string*>(arg)); in thread_nop()
51 std::string msg("dtor called."); in TEST()
65 void set_message(const std::string& msg) { in set_message()
73 std::string message;
95 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn1()
100 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn2()
105 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_from_atexit()
[all …]
Ddirent_test.cpp31 static void CheckProcSelf(std::set<std::string>& names) { in CheckProcSelf()
42 std::set<std::string>& name_set, std::vector<std::string>& name_list) { in ScanEntries()
62 std::set<std::string> name_set; in TEST()
63 std::vector<std::string> unsorted_name_list; in TEST()
70 std::vector<std::string> sorted_name_list(unsorted_name_list); in TEST()
75 std::set<std::string> name_set64; in TEST()
76 std::vector<std::string> unsorted_name_list64; in TEST()
104 std::set<std::string> name_set, name_set_at, name_set_at64; in TEST()
105 std::vector<std::string> unsorted_name_list, unsorted_name_list_at, unsorted_name_list_at64; in TEST()
205 std::set<std::string> name_set; in TEST()
[all …]
Dutils.h46 std::string pathname;
102 std::string filename = android::base::StringPrintf("/proc/%d/stat", tid.load()); in WaitUntilThreadSleep()
106 std::string content; in WaitUntilThreadSleep()
123 const std::string& get_executable_path();
/bionic/linker/
Dlinker_utils.h23 bool normalize_path(const char* path, std::string* normalized_path);
24 bool file_is_in_dir(const std::string& file, const std::string& dir);
25 bool file_is_under_dir(const std::string& file, const std::string& dir);
26 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path);
Dlinker_utils.cpp20 bool normalize_path(const char* path, std::string* normalized_path) { in normalize_path()
64 bool file_is_in_dir(const std::string& file, const std::string& dir) { in file_is_in_dir()
74 bool file_is_under_dir(const std::string& file, const std::string& dir) { in file_is_under_dir()
85 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) { in parse_zip_path()
86 std::string normalized_path; in parse_zip_path()
Dlinker_dlwarning.cpp23 static std::string current_msg;
43 std::string msg = current_msg; in get_dlwarning()
/bionic/libc/arch-mips/
Dmips.mk4 arch-mips/string/memcmp.c \
5 arch-mips/string/memcpy.S \
6 arch-mips/string/memset.S \
7 arch-mips/string/strcmp.S \
24 arch-mips/string/mips_strlen.c \
28 arch-mips/string/strlen.c \
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfmemopen.c28 char *string; /* actual stream */ member
42 b[i] = st->string[st->pos + i]; in fmemopen_read()
55 st->string[st->pos + i] = b[i]; in fmemopen_write()
62 st->string[st->len] = '\0'; in fmemopen_write()
64 st->string[st->size - 1] = '\0'; in fmemopen_write()
110 free(st->string); in fmemopen_close_free()
152 if ((st->string = malloc(size)) == NULL) { in fmemopen()
157 *st->string = '\0'; in fmemopen()
159 st->string = (char *)buf; in fmemopen()
162 *st->string = '\0'; in fmemopen()
[all …]
Dopen_memstream.c30 char *string; /* actual stream */ member
53 p = realloc(st->string, sz); in memstream_write()
57 *st->pbuf = st->string = p; in memstream_write()
62 st->string[st->pos + i] = b[i]; in memstream_write()
67 st->string[st->len] = '\0'; in memstream_write()
133 if ((st->string = calloc(1, st->size)) == NULL) { in open_memstream()
139 *st->string = '\0'; in open_memstream()
145 *pbuf = st->string; in open_memstream()
Dopen_wmemstream.c31 wchar_t *string; /* actual stream */ member
55 p = reallocarray(st->string, sz, sizeof(wchar_t)); in wmemstream_write()
59 *st->pbuf = st->string = p; in wmemstream_write()
64 len = mbsnrtowcs(st->string + st->pos, &b, nmc, l, &st->mbs); in wmemstream_write()
71 st->string[st->len] = L'\0'; in wmemstream_write()
143 if ((st->string = calloc(1, st->size)) == NULL) { in open_wmemstream()
149 *st->string = L'\0'; in open_wmemstream()
156 *pbuf = st->string; in open_wmemstream()
/bionic/libc/arch-mips64/
Dmips64.mk4 arch-mips/string/memcmp.c \
5 arch-mips/string/memcpy.S \
6 arch-mips/string/memset.S \
7 arch-mips/string/strcmp.S \
8 arch-mips/string/strlen.c \
/bionic/libc/malloc_debug/tests/
Dlog_fake.h23 std::string getFakeLogBuf();
24 std::string getFakeLogPrint();
Dmalloc_debug_config_tests.cpp48 std::string usage_string(
123 std::string log_msg("6 malloc_debug malloc_testing: unknown option unknown_option\n"); in TEST_F()
131 std::string log_msg("6 malloc_debug malloc_testing: unknown option unknown_option\n"); in TEST_F()
139 std::string log_msg("6 malloc_debug malloc_testing: bad value for option 'backtrace'\n"); in TEST_F()
147 std::string log_msg( in TEST_F()
156 std::string log_msg( in TEST_F()
166 std::string log_msg( in TEST_F()
176 std::string log_msg( in TEST_F()
186 std::string log_msg( in TEST_F()
445 std::string log_msg( in TEST_F()
[all …]
Dlog_fake.cpp31 std::string g_fake_log_buf;
33 std::string g_fake_log_print;
40 std::string getFakeLogBuf() { in getFakeLogBuf()
44 std::string getFakeLogPrint() { in getFakeLogPrint()
/bionic/tools/relocation_packer/src/
Delf_file_unittest.cc18 void GetDataFilePath(const char* name, std::string* path) { in GetDataFilePath()
19 std::string data_dir; in GetDataFilePath()
23 data_dir = std::string(bindir); in GetDataFilePath()
29 data_dir = std::string(path); in GetDataFilePath()
31 ASSERT_NE(std::string::npos, pos); in GetDataFilePath()
40 std::string path; in OpenRelocsTestFile()
65 void OpenRelocsTestFiles(const std::string& arch, FILE** relocs_so, FILE** packed_relocs_so) { in OpenRelocsTestFiles()
66 const std::string base = std::string("elf_file_unittest_relocs_") + arch; in OpenRelocsTestFiles()
67 const std::string relocs = base + ".so"; in OpenRelocsTestFiles()
68 const std::string packed_relocs = base + "_packed.so"; in OpenRelocsTestFiles()
[all …]
/bionic/libc/
DAndroid.bp203 // Use the empty string (instead of " ") as the timezone abbreviation
264 "upstream-freebsd/lib/libc/string/wcpcpy.c",
265 "upstream-freebsd/lib/libc/string/wcpncpy.c",
266 "upstream-freebsd/lib/libc/string/wcscasecmp.c",
267 "upstream-freebsd/lib/libc/string/wcscat.c",
268 "upstream-freebsd/lib/libc/string/wcschr.c",
269 "upstream-freebsd/lib/libc/string/wcscmp.c",
270 "upstream-freebsd/lib/libc/string/wcscpy.c",
271 "upstream-freebsd/lib/libc/string/wcscspn.c",
272 "upstream-freebsd/lib/libc/string/wcsdup.c",
[all …]
/bionic/libc/arch-arm64/
Darm64.mk28 upstream-freebsd/lib/libc/string/wmemmove.c \
31 upstream-openbsd/lib/libc/string/memchr.c \
32 upstream-openbsd/lib/libc/string/memmove.c \
33 upstream-openbsd/lib/libc/string/stpcpy.c \
34 upstream-openbsd/lib/libc/string/strcpy.c \
35 upstream-openbsd/lib/libc/string/strncmp.c \
/bionic/libc/arch-arm/krait/
Dkrait.mk2 upstream-openbsd/lib/libc/string/memmove.c \
3 upstream-openbsd/lib/libc/string/stpcpy.c \
4 upstream-openbsd/lib/libc/string/stpcpy.c \
5 upstream-openbsd/lib/libc/string/strcat.c \
/bionic/libc/dns/resolv/
Dres_debug.h26 # define Aerror(statp, file, string, error, address) /*empty*/ argument
27 # define Perror(statp, file, string, error) /*empty*/ argument
/bionic/libc/tools/
Dgenserv.py4 import sys, os, string, re
49 line = string.strip(line)
56 rest = string.strip(m.group(4))
63 rest = string.strip(m.group(2))
/bionic/libc/arch-arm/cortex-a9/
Dcortex-a9.mk2 upstream-openbsd/lib/libc/string/memmove.c \
3 upstream-openbsd/lib/libc/string/stpcpy.c \
4 upstream-openbsd/lib/libc/string/strcat.c \
5 upstream-openbsd/lib/libc/string/strcpy.c \

12345