/external/ltp/testcases/kernel/io/disktest/ |
D | parse.c | 108 if (strchr(optarg, 'g')) { in fill_cld_args() 111 if (strchr(optarg, 'c')) { in fill_cld_args() 114 if (strchr(optarg, 'm')) { in fill_cld_args() 117 if (strchr(optarg, 'r')) { in fill_cld_args() 120 if (strchr(optarg, 's')) { in fill_cld_args() 123 if (strchr(optarg, 'S')) { in fill_cld_args() 126 if (strchr(optarg, 'w')) { in fill_cld_args() 129 if (strchr(optarg, 'W')) { in fill_cld_args() 132 if (strchr(optarg, 't')) { in fill_cld_args() 157 if (strchr(optarg, 'L')) in fill_cld_args() [all …]
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_returnfuncptrs.py | 14 strchr = get_strchr() 15 self.assertEqual(strchr(b"abcdef", b"b"), b"bcdef") 16 self.assertEqual(strchr(b"abcdef", b"x"), None) 17 self.assertEqual(strchr(b"abcdef", 98), b"bcdef") 18 self.assertEqual(strchr(b"abcdef", 107), None) 19 self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0) 20 self.assertRaises(TypeError, strchr, b"abcdef") 30 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 31 self.assertTrue(strchr(b"abcdef", b"b"), "bcdef") 32 self.assertEqual(strchr(b"abcdef", b"x"), None) [all …]
|
D | test_stringptr.py | 47 strchr = lib.my_strchr 48 strchr.restype = c_char_p 52 strchr.argtypes = c_char_p, c_char 53 self.assertEqual(strchr(b"abcdef", b"c"), b"cdef") 54 self.assertEqual(strchr(c_buffer(b"abcdef"), b"c"), b"cdef") 58 strchr.argtypes = POINTER(c_char), c_char 60 self.assertEqual(strchr(buf, b"c"), b"cdef") 61 self.assertEqual(strchr(b"abcdef", b"c"), b"cdef") 67 strchr.restype = POINTER(c_char) 69 r = strchr(buf, b"c")
|
D | test_funcptr.py | 97 strchr = lib.my_strchr 98 strchr.restype = c_char_p 99 strchr.argtypes = (c_char_p, c_char) 100 self.assertEqual(strchr(b"abcdefghi", b"b"), b"bcdefghi") 101 self.assertEqual(strchr(b"abcdefghi", b"x"), None)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_returnfuncptrs.py | 15 strchr = get_strchr() 16 self.assertEqual(strchr("abcdef", "b"), "bcdef") 17 self.assertEqual(strchr("abcdef", "x"), None) 18 self.assertRaises(ArgumentError, strchr, "abcdef", 3) 19 self.assertRaises(TypeError, strchr, "abcdef") 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 30 self.assertTrue(strchr("abcdef", "b"), "bcdef") 31 self.assertEqual(strchr("abcdef", "x"), None) 32 self.assertRaises(ArgumentError, strchr, "abcdef", 3) 33 self.assertRaises(TypeError, strchr, "abcdef") [all …]
|
D | test_stringptr.py | 45 strchr = lib.my_strchr 46 strchr.restype = c_char_p 50 strchr.argtypes = c_char_p, c_char 51 self.assertEqual(strchr("abcdef", "c"), "cdef") 52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef") 56 strchr.argtypes = POINTER(c_char), c_char 58 self.assertEqual(strchr(buf, "c"), "cdef") 59 self.assertEqual(strchr("abcdef", "c"), "cdef") 65 strchr.restype = POINTER(c_char) 67 r = strchr(buf, "c")
|
D | test_funcptr.py | 97 strchr = lib.my_strchr 98 strchr.restype = c_char_p 99 strchr.argtypes = (c_char_p, c_char) 100 self.assertEqual(strchr("abcdefghi", "b"), "bcdefghi") 101 self.assertEqual(strchr("abcdefghi", "x"), None)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | strchr-1.ll | 1 ; Test that the strchr library call simplifier works correctly. 11 declare i8* @strchr(i8*, i32) 15 ; CHECK-NOT: call i8* @strchr 19 %dst = call i8* @strchr(i8* %str, i32 119) 26 ; CHECK-NOT: call i8* @strchr 30 %dst = call i8* @strchr(i8* %str, i32 119) 37 ; CHECK-NOT: call i8* @strchr 41 %dst = call i8* @strchr(i8* %src, i32 0) 48 ; CHECK-NOT: call i8* @strchr 52 %dst = call i8* @strchr(i8* %src, i32 %chr) [all …]
|
D | strchr-2.ll | 1 ; Test that the strchr libcall simplifier works correctly. 10 declare i8 @strchr(i8*, i32) 14 ; CHECK: call i8 @strchr 18 %dst = call i8 @strchr(i8* %str, i32 119)
|
/external/llvm/test/Transforms/InstCombine/ |
D | strchr-1.ll | 1 ; Test that the strchr library call simplifier works correctly. 11 declare i8* @strchr(i8*, i32) 15 ; CHECK-NOT: call i8* @strchr 19 %dst = call i8* @strchr(i8* %str, i32 119) 26 ; CHECK-NOT: call i8* @strchr 30 %dst = call i8* @strchr(i8* %str, i32 119) 37 ; CHECK-NOT: call i8* @strchr 41 %dst = call i8* @strchr(i8* %src, i32 0) 48 ; CHECK-NOT: call i8* @strchr 52 %dst = call i8* @strchr(i8* %src, i32 %chr) [all …]
|
D | strchr-2.ll | 1 ; Test that the strchr libcall simplifier works correctly. 10 declare i8 @strchr(i8*, i32) 14 ; CHECK: call i8 @strchr 18 %dst = call i8 @strchr(i8* %str, i32 119)
|
/external/clang/include/clang/Basic/ |
D | Builtins.h | 99 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure() 105 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst() 110 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow() 115 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn() 120 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice() 126 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated() 132 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction() 139 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction() 146 return strchr(getRecord(ID).Attributes, 'i') != nullptr; in isPredefinedRuntimeFunction() 151 return strchr(getRecord(ID).Attributes, 't') != nullptr; in hasCustomTypechecking() [all …]
|
/external/python/cpython2/PC/os2emx/ |
D | getpathp.c | 219 if (strchr(prog, SEP) || strchr(prog, ALTSEP)) in get_progpath() 221 if (strchr(prog, SEP)) in get_progpath() 226 char *delim = strchr(path, DELIM); in get_progpath() 342 buf = strchr(buf, '\0'); in calculate_path() 347 buf = strchr(buf, '\0'); in calculate_path() 353 buf = strchr(buf, '\0'); in calculate_path() 360 q = strchr(p, DELIM); in calculate_path() 367 buf = strchr(buf, '\0'); in calculate_path() 382 buf = strchr(buf, '\0'); in calculate_path()
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | StrChr.ll | 11 declare i8* @strchr(i8*, i32) 16 %world = call i8* @strchr(i8* %hello_p, i32 119) 18 %ignore = call i8* @strchr(i8* %null_p, i32 119) 19 ; CHECK-NOT: call i8* strchr 20 %null = call i8* @strchr(i8* %hello_p, i32 0) 22 %result = call i8* @strchr(i8* %hello_p, i32 %index)
|
D | 2007-04-06-strchr-miscompile.ll | 13 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str, i32 0, i32 2), i32 103 ) … 17 declare i8* @strchr(i8*, i32) 20 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([8 x i8]* @str1, i32 0, i32 2), i32 0 ) … 26 …%tmp3 = tail call i8* @strchr( i8* getelementptr ([5 x i8]* @str2, i32 0, i32 1), i32 80 ) …
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 264 if (strchr(prog, SEP) || strchr(prog, ALTSEP)) in get_progpath() 266 if (strchr(prog, SEP)) in get_progpath() 271 char *delim = strchr(path, DELIM); in get_progpath() 334 delim = strchr(prefix, DELIM); in calculate_path() 394 buf = strchr(buf, '\0'); in calculate_path() 400 buf = strchr(buf, '\0'); in calculate_path() 405 buf = strchr(buf, '\0'); in calculate_path() 411 buf = strchr(buf, '\0'); in calculate_path() 418 q = strchr(p, DELIM); in calculate_path() 425 buf = strchr(buf, '\0'); in calculate_path() [all …]
|
/external/curl/lib/ |
D | dict.c | 151 word = strchr(path, ':'); in dict_do() 154 database = strchr(word, ':'); in dict_do() 157 strategy = strchr(database, ':'); in dict_do() 160 nthdef = strchr(strategy, ':'); in dict_do() 208 word = strchr(path, ':'); in dict_do() 211 database = strchr(word, ':'); in dict_do() 214 nthdef = strchr(database, ':'); in dict_do() 252 ppath = strchr(path, '/'); in dict_do()
|
/external/python/cpython2/PC/ |
D | getpathp.c | 427 if (strchr(prog, SEP) || strchr(prog, ALTSEP)) in get_progpath() 429 if (strchr(prog, SEP)) in get_progpath() 434 char *delim = strchr(path, DELIM); in get_progpath() 584 buf = strchr(buf, '\0'); in calculate_path() 590 buf = strchr(buf, '\0'); in calculate_path() 595 buf = strchr(buf, '\0'); in calculate_path() 601 buf = strchr(buf, '\0'); in calculate_path() 608 buf = strchr(buf, '\0'); in calculate_path() 614 buf = strchr(buf, '\0'); in calculate_path() 622 q = strchr(p, DELIM); in calculate_path() [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | pp.c | 120 backslash = strchr(shader, '\\'); in remove_line_continuations() 146 cr = strchr(search_start, '\r'); in remove_line_continuations() 147 lf = strchr(search_start, '\n'); in remove_line_continuations() 173 cr = strchr (search_start, '\r'); in remove_line_continuations() 174 lf = strchr (search_start, '\n'); in remove_line_continuations() 215 backslash = strchr(search_start, '\\'); in remove_line_continuations()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | host_port.cc | 32 if (host[0] != '[' && strchr(host, ':') != nullptr) { in gpr_join_host_port() 51 const char* rbracket = strchr(name, ']'); in gpr_split_host_port() 74 const char* colon = strchr(name, ':'); in gpr_split_host_port() 75 if (colon != nullptr && strchr(colon + 1, ':') == nullptr) { in gpr_split_host_port()
|
/external/iptables/extensions/ |
D | libip6t_DNAT.c | 56 start = strchr(arg, '['); in parse_to() 60 colon = strchr(arg, ':'); in parse_to() 61 if (colon && strchr(colon+1, ':')) in parse_to() 66 end = strchr(start, ']'); in parse_to() 72 colon = strchr(end + 1, ':'); in parse_to() 89 error = strchr(colon+1, ':'); in parse_to() 94 dash = strchr(colon, '-'); in parse_to() 122 dash = strchr(start, '-'); in parse_to()
|
D | libip6t_SNAT.c | 59 start = strchr(arg, '['); in parse_to() 63 colon = strchr(arg, ':'); in parse_to() 64 if (colon && strchr(colon+1, ':')) in parse_to() 69 end = strchr(start, ']'); in parse_to() 75 colon = strchr(end + 1, ':'); in parse_to() 92 error = strchr(colon+1, ':'); in parse_to() 97 dash = strchr(colon, '-'); in parse_to() 125 dash = strchr(start, '-'); in parse_to()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_icu.cpp | 38 const char *listNameEnd=strchr(listname, 0); in isListTextFile() 77 listNameEnd=strchr(listname, 0); in readList() 93 end=strchr(line, '#'); in readList() 98 end=strchr(line, 0); in readList() 108 if(*start==0 || NULL!=strchr(U_PKG_RESERVED_CHARS, *start)) { in readList()
|
/external/libevent/sample/ |
D | hostcheck.c | 168 pattern_wildcard = strchr(pattern, '*'); in hostmatch() 176 pattern_label_end = strchr(pattern, '.'); in hostmatch() 177 if(pattern_label_end == NULL || strchr(pattern_label_end+1, '.') == NULL || in hostmatch() 186 hostname_label_end = strchr(hostname, '.'); in hostmatch()
|
/external/lua/src/ |
D | ldblib.c | 165 if (strchr(options, 'S')) { in db_getinfo() 172 if (strchr(options, 'l')) in db_getinfo() 174 if (strchr(options, 'u')) { in db_getinfo() 179 if (strchr(options, 'n')) { in db_getinfo() 183 if (strchr(options, 't')) in db_getinfo() 185 if (strchr(options, 'L')) in db_getinfo() 187 if (strchr(options, 'f')) in db_getinfo() 326 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask() 327 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask() 328 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()
|