Home
last modified time | relevance | path

Searched refs:strrchr (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/external/llvm-project/libc/test/src/string/
Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strrchr("123?", 'z'), nullptr); in TEST()
66 ASSERT_STREQ(__llvm_libc::strrchr("abc1def1ghi", '1'), "1ghi"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dstrrchr-1.ll1 ; Test that the strrchr library call simplifier works correctly.
10 declare i8* @strrchr(i8*, i32)
14 ; CHECK-NOT: call i8* @strrchr
18 %dst = call i8* @strrchr(i8* %str, i32 119)
25 ; CHECK-NOT: call i8* @strrchr
29 %dst = call i8* @strrchr(i8* %str, i32 119)
36 ; CHECK-NOT: call i8* @strrchr
40 %dst = call i8* @strrchr(i8* %src, i32 0)
47 ; CHECK-NOT: call i8* @strrchr
51 %dst = call i8* @strrchr(i8* %src, i32 65280)
[all …]
Dstrrchr-2.ll1 ; Test that the strrchr libcall simplifier works correctly.
10 declare i8 @strrchr(i8*, i32)
14 ; CHECK: call i8 @strrchr
18 %dst = call i8 @strrchr(i8* %str, i32 119)
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dstrrchr-1.ll2 ; Test that the strrchr library call simplifier works correctly.
11 declare i8* @strrchr(i8*, i32)
20 %dst = call i8* @strrchr(i8* %str, i32 119)
32 %dst = call i8* @strrchr(i8* %str, i32 119)
44 %dst = call i8* @strrchr(i8* %src, i32 0)
56 %dst = call i8* @strrchr(i8* %src, i32 65280)
63 ; CHECK-NEXT: [[DST:%.*]] = call i8* @strrchr(i8* nonnull dereferenceable(1) getelementptr inbou…
69 %dst = call i8* @strrchr(i8* %src, i32 %chr)
76 ; CHECK-NEXT: [[RET:%.*]] = call i8* @strrchr(i8* nonnull dereferenceable(1) [[STR:%.*]], i32 [[…
80 %ret = call i8* @strrchr(i8* %str, i32 %c)
[all …]
Dstrrchr-2.ll1 ; Test that the strrchr libcall simplifier works correctly.
10 declare i8 @strrchr(i8*, i32)
14 ; CHECK: call i8 @strrchr
18 %dst = call i8 @strrchr(i8* %str, i32 119)
/external/icu/icu4c/as_is/os400/
Diculd.c99 progshort=strrchr(prog,'/'); in main()
134 char *mend = strrchr(linkbuf,'.'); in main()
137 mend = strrchr(linkbuf,'/'); in main()
168 char *mend = strrchr(linkbuf,'.'); in main()
171 mend = strrchr(linkbuf,'/'); in main()
191 const char *p = strrchr(argv[i],'/'); in main()
/external/curl/src/
Dtool_operhlp.c87 ptr = strrchr(ptr, '/'); in add_file_name_to_url()
95 const char *filep = strrchr(filename, '/'); in add_file_name_to_url()
96 char *file2 = strrchr(filep?filep:filename, '\\'); in add_file_name_to_url()
150 pc2 = strrchr(pc, '\\'); in get_url_file_name()
151 pc = strrchr(pc, '/'); in get_url_file_name()
Dtool_bname.c35 s1 = strrchr(path, '/'); in tool_basename()
36 s2 = strrchr(path, '\\'); in tool_basename()
/external/mesa3d/src/util/
Du_process.c60 char * arg = strrchr(program_invocation_name, '/'); in __getProgramName()
77 char * name = strrchr(path, '/'); in __getProgramName()
88 arg = strrchr(program_invocation_name, '\\'); in __getProgramName()
149 char * arg = strrchr(__progname, '/'); in __getProgramName()
/external/llvm-project/lldb/source/Host/windows/
DWindows.cpp68 char *l1 = strrchr(path, '\\'); in basename()
69 char *l2 = strrchr(path, '/'); in basename()
78 char *l1 = strrchr(path, '\\'); in dirname()
79 char *l2 = strrchr(path, '/'); in dirname()
/external/ltp/testcases/kernel/sched/eas/
Dutil.c94 tmp1 = strrchr(filebuf, '\t'); in read_capacity_sched_domains()
99 tmp1 = strrchr(tmp1 - 1, '\t'); in read_capacity_sched_domains()
104 tmp1 = strrchr(tmp1 - 1, '\t'); in read_capacity_sched_domains()
111 tmp2 = strrchr(tmp1 - 1, '\t'); in read_capacity_sched_domains()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_debug.c81 const char *f = func ? strrchr(func, '_') : NULL; in _nine_debug_printf()
114 const char *r = strrchr(file, '/'); in _nine_stub()
115 if (r == NULL) { r = strrchr(file, '\\'); } in _nine_stub()
/external/libcxx/include/
Dstring.h88 char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} in __libcpp_strrchr()
90 const char* strrchr(const char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() function
92 char* strrchr( char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() function
Dcstring46 const char* strrchr(const char* s, int c);
47 char* strrchr( char* s, int c);
85 using ::strrchr;
/external/llvm-project/libcxx/include/
Dstring.h87 char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} in __libcpp_strrchr()
89 const char* strrchr(const char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() function
91 char* strrchr( char* __s, int __c) {return __libcpp_strrchr(__s, __c);} in strrchr() function
Dcstring45 const char* strrchr(const char* s, int c);
46 char* strrchr( char* s, int c);
84 using ::strrchr;
/external/clang/test/Preprocessor/
Dpragma_poison.c14 #define strrchr rindex2 macro
20 strrchr(some_string, 'h'); // ok.
/external/llvm-project/clang/test/Preprocessor/
Dpragma_poison.c14 #define strrchr rindex2 macro
20 strrchr(some_string, 'h'); // ok.
/external/skqp/src/utils/
DSkOSPath.cpp23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename()
36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
/external/skia/src/utils/
DSkOSPath.cpp23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename()
36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
/external/e2fsprogs/util/
Dlibecho.c49 while((slash = strrchr(f, '/')) != NULL) in echo_files()
54 slash = strrchr(filepath, '\\'); in echo_files()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_process.c72 lpProcessName = strrchr(szProcessPath, '\\'); in os_get_process_name()
75 lpProcessExt = strrchr(lpProcessName, '.'); in os_get_process_name()
/external/mtools/
DmissFuncs.c136 char * strrchr (const char* s1, int c) in strrchr() function
451 ptr = strrchr(filename, PATH_SEP); in _basename()
456 ptr = strrchr(filename, '\\'); in _basename()
469 ptr = strrchr(filename, '.'); in _stripexe()
/external/bcc/src/cc/
Dbcc_perf_map.c53 nstgid = (int)strtol(strrchr(line, '\t'), NULL, 10); in bcc_perf_map_nstgid()
56 nstgid = (int)strtol(strrchr(line, '\t'), NULL, 10); in bcc_perf_map_nstgid()
/external/llvm-project/clang-tools-extra/clangd/support/
DLogger.cpp43 if (const char *Slash = strrchr(Filename, '/')) in debugType()
45 if (const char *Backslash = strrchr(Filename, '\\')) in debugType()

12345678910>>...24