Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 10056) sorted by relevance

12345678910>>...403

/dports/biology/tRNAscan-SE/tRNAscan-SE-2.0/src/
H A Dmisc.c46 if ((sptr = strchr(ALPHABET, sym)) != NULL) in SymbolIndex()
53 case 'B': return (strchr(ALPHABET, "ND"[CHOOSE(2)]) - ALPHABET); in SymbolIndex()
54 case 'Z': return (strchr(ALPHABET, "QE"[CHOOSE(2)]) - ALPHABET); in SymbolIndex()
66 case 'B': return (strchr(ALPHABET, "CGT"[CHOOSE(3)]) - ALPHABET); in SymbolIndex()
67 case 'D': return (strchr(ALPHABET, "AGT"[CHOOSE(3)]) - ALPHABET); in SymbolIndex()
68 case 'H': return (strchr(ALPHABET, "ACT"[CHOOSE(3)]) - ALPHABET); in SymbolIndex()
69 case 'K': return (strchr(ALPHABET, "GT" [CHOOSE(2)]) - ALPHABET); in SymbolIndex()
70 case 'M': return (strchr(ALPHABET, "AC" [CHOOSE(2)]) - ALPHABET); in SymbolIndex()
71 case 'R': return (strchr(ALPHABET, "AG" [CHOOSE(2)]) - ALPHABET); in SymbolIndex()
72 case 'S': return (strchr(ALPHABET, "CG" [CHOOSE(2)]) - ALPHABET); in SymbolIndex()
[all …]
/dports/net/netatalk3/netatalk-3.1.12/bin/ad/
H A Dad_set.c212 if (strchr(new_flags, 'D')) in change_flags()
214 if (strchr(new_flags, 'd')) in change_flags()
217 if (strchr(new_flags, 'E')) in change_flags()
219 if (strchr(new_flags, 'e')) in change_flags()
222 if (strchr(new_flags, 'I')) in change_flags()
224 if (strchr(new_flags, 'i')) in change_flags()
227 if (strchr(new_flags, 'C')) in change_flags()
229 if (strchr(new_flags, 'c')) in change_flags()
232 if (strchr(new_flags, 'S')) in change_flags()
234 if (strchr(new_flags, 's')) in change_flags()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python37/Python-3.7.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python38/Python-3.8.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python39/Python-3.9.9/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python310/Python-3.10.1/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py14 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)
20 self.assertRaises(TypeError, strchr, b"abcdef")
32 self.assertEqual(strchr(b"abcdef", b"x"), None)
34 self.assertRaises(TypeError, strchr, b"abcdef")
42 self.assertEqual(strchr(b"abcdef", b"x"), None)
44 self.assertRaises(TypeError, strchr, b"abcdef")
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py15 strchr = get_strchr()
16 self.assertEqual(strchr("abcdef", "b"), "bcdef")
17 self.assertEqual(strchr("abcdef", "x"), None)
19 self.assertRaises(TypeError, strchr, "abcdef")
30 self.assertTrue(strchr("abcdef", "b"), "bcdef")
31 self.assertEqual(strchr("abcdef", "x"), None)
33 self.assertRaises(TypeError, strchr, "abcdef")
41 self.assertEqual(strchr(b"abcdef", b"x"), None)
43 self.assertRaises(TypeError, strchr, b"abcdef")
57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
[all …]
/dports/lang/python27/Python-2.7.18/Lib/ctypes/test/
H A Dtest_returnfuncptrs.py15 strchr = get_strchr()
16 self.assertEqual(strchr("abcdef", "b"), "bcdef")
17 self.assertEqual(strchr("abcdef", "x"), None)
19 self.assertRaises(TypeError, strchr, "abcdef")
30 self.assertTrue(strchr("abcdef", "b"), "bcdef")
31 self.assertEqual(strchr("abcdef", "x"), None)
33 self.assertRaises(TypeError, strchr, "abcdef")
41 self.assertEqual(strchr(b"abcdef", b"x"), None)
43 self.assertRaises(TypeError, strchr, b"abcdef")
57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
[all …]
/dports/science/hepmc3/HepMC3-3.2.4/src/
H A DReaderAsciiHepMC2.cc327 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
331 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
335 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
339 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
343 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
347 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
351 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
355 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
359 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
362 if ( !(cursor = strchr(cursor+1, ' ')) ) return -1; in parse_event_information()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
56 __llvm_libc::strchr(src, 'd'); in TEST()
59 __llvm_libc::strchr(src, 'z'); in TEST()
62 __llvm_libc::strchr(src, '\0'); in TEST()
72 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
79 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libc/test/src/string/
H A Dstrchr_test.cpp17 ASSERT_STREQ(__llvm_libc::strchr(src, 'a'), "abcde"); in TEST()
27 ASSERT_STREQ(__llvm_libc::strchr(src, 'c'), "cde"); in TEST()
37 ASSERT_STREQ(__llvm_libc::strchr(src, 'e'), "e"); in TEST()
47 ASSERT_STREQ(__llvm_libc::strchr(src, '\0'), ""); in TEST()
61 __llvm_libc::strchr(src, 'd'); in TEST()
64 __llvm_libc::strchr(src, 'z'); in TEST()
67 __llvm_libc::strchr(src, '\0'); in TEST()
77 ASSERT_STREQ(__llvm_libc::strchr(dups, 'X'), dups); in TEST()
82 ASSERT_STREQ(__llvm_libc::strchr("", '\0'), ""); in TEST()
84 ASSERT_STREQ(__llvm_libc::strchr("", 'Z'), nullptr); in TEST()
[all …]
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/locale/
H A Dkeyboard_x11.c72 pch = strchr(pch, ','); in freerdp_detect_keyboard_layout_from_xkb()
75 beg = strchr(pch + 1, '"'); in freerdp_detect_keyboard_layout_from_xkb()
78 end = strchr(beg, '"'); in freerdp_detect_keyboard_layout_from_xkb()
84 pch = strchr(layout, ','); in freerdp_detect_keyboard_layout_from_xkb()
89 beg = strchr(end + 1, '"'); in freerdp_detect_keyboard_layout_from_xkb()
92 end = strchr(beg, '"'); in freerdp_detect_keyboard_layout_from_xkb()
121 pch = strchr(pch, ','); in freerdp_detect_keyboard_layout_from_xkb()
124 beg = strchr(pch + 1, '"'); in freerdp_detect_keyboard_layout_from_xkb()
127 end = strchr(beg, '"'); in freerdp_detect_keyboard_layout_from_xkb()
133 pch = strchr(layout, ','); in freerdp_detect_keyboard_layout_from_xkb()
[all …]
/dports/misc/nut/nut-20.1/
H A Dutil.c105 if (strchr(buff,'g') != NULL) in get_qty()
110 else if (strchr(buff,'o') != NULL) in get_qty()
116 else if (strchr(buff,'b') != NULL || strchr(buff,'B') != NULL) *result = -383838; in get_qty()
117 else if (strchr(buff,'d') != NULL || strchr(buff,'D') != NULL) { screen(); *result = lastresult; } in get_qty()
118 else if (strchr(buff,'p') != NULL || strchr(buff,'P') != NULL) { screen_previous(); *result = lastr… in get_qty()
119 else if (strchr(buff,'/') != NULL) in get_qty()
133 if (strchr(qtystring,'g') != NULL) in evaluate_qty()
146 else if (strchr(qtystring,'/') != NULL) in evaluate_qty()
177 if (strchr(buff,'b') != NULL || strchr(buff,'B') != NULL) *result = -383838; in get_select()
199 if (strchr(temp,'\n') != NULL) *strchr(temp,'\n') = '\0'; in get_string()
[all …]
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dfilenames.h63 char *p1 = strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
127 char *p = strchr(_the_path, ':'); in FIND_FIRST_DIRSEP()
129 return strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
134 return strchr(_the_path, ':'); in FIND_LAST_DIRSEP()
139 return strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
144 return strchr(_the_path, ':'); in FIND_LAST_DIRSEP()
150 return strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
155 return strchr(_the_path, ':'); in FIND_LAST_DIRSEP()
171 return strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
177 return strchr(_the_path, '/'); in FIND_FIRST_DIRSEP()
[all …]

12345678910>>...403