HomeSort by relevance Sort by last modified time
    Searched refs:strchr (Results 1 - 25 of 926) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_returnfuncptrs.py 11 # The get_strchr function returns a *pointer* to the C strchr function.
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
    [all...]
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")
62 # to strchr is no longer valid after the function returns!
65 strchr.restype = POINTER(c_char
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_returnfuncptrs.py 11 # The get_strchr function returns a *pointer* to the C strchr function.
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
    [all...]
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")
62 # to strchr is no longer valid after the function returns!
65 strchr.restype = POINTER(c_char
    [all...]
  /bionic/libc/bionic/
strchr.cpp 33 char* strchr(const char* p, int ch) { function
  /external/clang/include/clang/Basic/
Builtins.h 97 return strchr(GetRecord(ID).Attributes, 'c') != nullptr;
102 return strchr(GetRecord(ID).Attributes, 'n') != nullptr;
107 return strchr(GetRecord(ID).Attributes, 'r') != nullptr;
112 return strchr(GetRecord(ID).Attributes, 'j') != nullptr;
118 return strchr(GetRecord(ID).Attributes, 'u') != nullptr;
124 return strchr(GetRecord(ID).Attributes, 'F') != nullptr;
131 return strchr(GetRecord(ID).Attributes, 'f') != nullptr;
138 return strchr(GetRecord(ID).Attributes, 'i') != nullptr;
143 return strchr(GetRecord(ID).Attributes, 't') != nullptr;
149 return strchr(GetRecord(ID).Type, '*') != nullptr
    [all...]
  /external/valgrind/memcheck/tests/
strchr.stderr.exp 3 by 0x........: main (strchr.c:15)
7 by 0x........: main (strchr.c:15)
11 by 0x........: main (strchr.c:16)
strchr.c 4 // The issue here is the same one in memcmptest -- 'strchr' and 'index' are
15 a = strchr (s, '1');
  /external/compiler-rt/test/asan/TestCases/
strchr_strict.c 1 // Test strict_string_checks option in strchr function
16 char* r = strchr(s, c);
  /external/libyuv/files/unit_test/
version_test.cc 27 const char *ver = strchr(LIBYUV_SVNREVISION, ':');
  /external/bison/lib/
mbschr.c 51 return strchr (string, c);
unsetenv.c 62 if (name == NULL || *name == '\0' || strchr (name, '=') != NULL)
114 if (!name || !*name || strchr (name, '='))
  /external/libutf/
utfrune.c 28 return strchr(s, c);
  /external/skia/src/svg/parser/
SkSVGUse.cpp 26 const char* start = strchr(f_xlink_href.c_str(), '#') + 1;
SkSVGPath.cpp 23 const char* firstZ = strchr(f_d.c_str(), 'z');
  /external/toybox/toys/lsb/
mktemp.c 43 template = strchr(template, '/') ? xstrdup(template)
  /external/icu/icu4c/source/tools/toolutil/
pkg_icu.cpp 35 const char *listNameEnd=strchr(listname, 0);
74 listNameEnd=strchr(listname, 0);
90 end=strchr(line, '#');
95 end=strchr(line, 0);
105 if(*start==0 || NULL!=strchr(U_PKG_RESERVED_CHARS, *start)) {
  /ndk/sources/host-tools/make-3.81/
vmsify.c 151 if (strchr (s, '\\') == 0)
246 s1 = strchr (s+1, '[');
247 s2 = strchr (s+1, ']');
252 if (strchr (name, '/') == 0)
279 s = strchr (name, '[');
283 s1 = strchr (s+1, '[');
287 && (strchr (s+1, ']') == 0))
321 s1 = strchr (s, ']');
373 s = strchr (fptr, '/');
417 s = strchr (s1, ':')
    [all...]
  /external/e2fsprogs/resize/
test_extent.c 43 cp = strchr(buf, '\n');
53 cp = strchr(buf, ' ');
59 cp = strchr(cp, ' ');
  /external/linux-tools-perf/src/tools/perf/arch/powerpc/util/
header.c 31 if (strchr(buffer, '$')) {
  /external/pcre/dist/
pcre_scanner_unittest.cc 40 #include <string.h> /* for strchr */
110 s.GetComments(0, (int)(strchr(input, '/') - input), &comments);
114 s.GetComments((int)(strchr(input, '/') - input - 1), sizeof(input),
122 s.GetComments((int)(strchr(input, '/') - input - 1),
123 (int)(strchr(input + 1, '\n') - input + 1), &comments);
  /external/toybox/toys/other/
which.c 29 if (strchr(filename, '/')) {
  /bionic/libstdc++/include/
cstring 50 using ::strchr;
  /external/iptables/extensions/
libip6t_DNAT.c 56 start = strchr(arg, '[');
60 colon = strchr(arg, ':');
61 if (colon && strchr(colon+1, ':'))
66 end = strchr(start, ']');
72 colon = strchr(end + 1, ':');
89 error = strchr(colon+1, ':');
94 dash = strchr(colon, '-');
122 dash = strchr(start, '-');
libip6t_SNAT.c 56 start = strchr(arg, '[');
60 colon = strchr(arg, ':');
61 if (colon && strchr(colon+1, ':'))
66 end = strchr(start, ']');
72 colon = strchr(end + 1, ':');
89 error = strchr(colon+1, ':');
94 dash = strchr(colon, '-');
122 dash = strchr(start, '-');

Completed in 4103 milliseconds

1 2 3 4 5 6 7 8 91011>>