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

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.27/libiberty/
index.c 9 deprecated in new programs in favor of @code{strchr}.
15 extern char * strchr(const char *, int);
20 return strchr (s, c);
strchr.c 1 /* Portable version of strchr()
6 @deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
19 strchr (register const char *s, int c) function
strstr.c 25 extern char *strchr (const char *, int);
35 for (; (p = strchr (p, *s2)) != 0; p++)
  /external/python/cpython2/Lib/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/gdb/darwin-x86/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/gdb/linux-x86/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/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...]
  /external/python/cpython3/Lib/ctypes/test/
test_returnfuncptrs.py 10 # The get_strchr function returns a *pointer* to the C strchr function.
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"
    [all...]
  /bionic/libc/bionic/
strchr.cpp 32 char* strchr(const char* p, int ch) { function
  /external/syslinux/com32/lib/
strcat.c 9 strcpy(strchr(dst, '\0'), src);
strchr.c 2 * strchr.c
7 char *strchr(const char *s, int c) function
strncat.c 9 strncpy(strchr(dst, '\0'), src, n);
  /external/syslinux/dos/
strchr.c 2 * strchr.c
8 char *strchr(const char *s, int c) function
  /external/ltp/testcases/kernel/io/disktest/
parse.c 108 if (strchr(optarg, 'g')) {
111 if (strchr(optarg, 'c')) {
114 if (strchr(optarg, 'm')) {
117 if (strchr(optarg, 'r')) {
120 if (strchr(optarg, 's')) {
123 if (strchr(optarg, 'S')) {
126 if (strchr(optarg, 'w')) {
129 if (strchr(optarg, 'W')) {
132 if (strchr(optarg, 't')) {
157 if (strchr(optarg, 'L')
    [all...]
  /external/curl/lib/
strtok.c 38 while(*ptr && strchr(sep, *ptr))
50 while(**end && !strchr(sep, **end))
  /external/clang/include/clang/Basic/
Builtins.h 99 return strchr(getRecord(ID).Attributes, 'U') != nullptr;
105 return strchr(getRecord(ID).Attributes, 'c') != nullptr;
110 return strchr(getRecord(ID).Attributes, 'n') != nullptr;
115 return strchr(getRecord(ID).Attributes, 'r') != nullptr;
120 return strchr(getRecord(ID).Attributes, 'j') != nullptr;
126 return strchr(getRecord(ID).Attributes, 'u') != nullptr;
132 return strchr(getRecord(ID).Attributes, 'F') != nullptr;
139 return strchr(getRecord(ID).Attributes, 'f') != nullptr;
146 return strchr(getRecord(ID).Attributes, 'i') != nullptr;
151 return strchr(getRecord(ID).Attributes, 't') != nullptr
    [all...]
  /external/ltp/pan/
debug.c 58 d_level = strchr(d_area, ':');
73 if ((d_area = strchr(d_area, ',')) != NULL)
76 if ((d_area = strchr(d_level, ',')) == NULL)
  /device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
strchr.c 40 strchr(const char *p, int ch) function
  /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)

Completed in 183 milliseconds

1 2 3 4 5 6 7 8 91011>>