/external/llvm-project/libc/test/src/string/ |
D | strrchr_test.cpp | 16 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/ |
D | strrchr-1.ll | 1 ; 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 …]
|
D | strrchr-2.ll | 1 ; 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/ |
D | strrchr-1.ll | 2 ; 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 …]
|
D | strrchr-2.ll | 1 ; 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/ |
D | iculd.c | 99 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/ |
D | tool_operhlp.c | 87 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()
|
D | tool_bname.c | 35 s1 = strrchr(path, '/'); in tool_basename() 36 s2 = strrchr(path, '\\'); in tool_basename()
|
/external/mesa3d/src/util/ |
D | u_process.c | 60 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/ |
D | Windows.cpp | 68 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/ |
D | util.c | 94 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/ |
D | nine_debug.c | 81 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/ |
D | string.h | 88 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
|
D | cstring | 46 const char* strrchr(const char* s, int c); 47 char* strrchr( char* s, int c); 85 using ::strrchr;
|
/external/llvm-project/libcxx/include/ |
D | string.h | 87 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
|
D | cstring | 45 const char* strrchr(const char* s, int c); 46 char* strrchr( char* s, int c); 84 using ::strrchr;
|
/external/clang/test/Preprocessor/ |
D | pragma_poison.c | 14 #define strrchr rindex2 macro 20 strrchr(some_string, 'h'); // ok.
|
/external/llvm-project/clang/test/Preprocessor/ |
D | pragma_poison.c | 14 #define strrchr rindex2 macro 20 strrchr(some_string, 'h'); // ok.
|
/external/skqp/src/utils/ |
D | SkOSPath.cpp | 23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename() 36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
|
/external/skia/src/utils/ |
D | SkOSPath.cpp | 23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename() 36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
|
/external/e2fsprogs/util/ |
D | libecho.c | 49 while((slash = strrchr(f, '/')) != NULL) in echo_files() 54 slash = strrchr(filepath, '\\'); in echo_files()
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_process.c | 72 lpProcessName = strrchr(szProcessPath, '\\'); in os_get_process_name() 75 lpProcessExt = strrchr(lpProcessName, '.'); in os_get_process_name()
|
/external/mtools/ |
D | missFuncs.c | 136 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/ |
D | bcc_perf_map.c | 53 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/ |
D | Logger.cpp | 43 if (const char *Slash = strrchr(Filename, '/')) in debugType() 45 if (const char *Backslash = strrchr(Filename, '\\')) in debugType()
|