Home
last modified time | relevance | path

Searched refs:needle (Results 9676 – 9700 of 16333) sorted by relevance

1...<<381382383384385386387388389390>>...654

/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/yaml-cpp/test/gmock-1.7.0/fused-src/
H A Dgmock-gtest-all.cc2719 if (needle == NULL || haystack == NULL) in IsSubstringPred()
2720 return needle == haystack; in IsSubstringPred()
2722 return strstr(haystack, needle) != NULL; in IsSubstringPred()
2726 if (needle == NULL || haystack == NULL) in IsSubstringPred()
2727 return needle == haystack; in IsSubstringPred()
2729 return wcsstr(haystack, needle) != NULL; in IsSubstringPred()
2734 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument
2736 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
2751 const bool is_wide_string = sizeof(needle[0]) > 1; in IsSubstringImpl()
2769 const char* needle, const char* haystack) { in IsSubstring() argument
[all …]
/dports/multimedia/totem-pl-parser/totem-pl-parser-3.26.5/plparse/
H A Dtotem-pl-parser.c1824 char *needle; in totem_pl_parser_cleanup_xml() local
1826 needle = contents; in totem_pl_parser_cleanup_xml()
1827 while ((needle = strstr (needle, "<!--")) != NULL) { in totem_pl_parser_cleanup_xml()
1831 end = strstr (needle, "-->"); in totem_pl_parser_cleanup_xml()
1835 if (g_strstr_len (needle, end - needle, "]]>") != NULL) { in totem_pl_parser_cleanup_xml()
1837 needle += 3; in totem_pl_parser_cleanup_xml()
1841 memset (needle, ' ', end + 3 - needle); in totem_pl_parser_cleanup_xml()
/dports/editors/the/THE-3.3RC4/
H A Dtarget.c1651 CHARTYPE *needle; local
1663 needle = (CHARTYPE *)alloca( rt->length + 1 );
1664 if ( needle == NULL )
1674 strcpy((DEFCHAR*)needle,(DEFCHAR*)rt->string);
1680 rc = convert_hex_strings(needle);
1684 display_error( 32, needle, FALSE );
1699 needle_length = strlen((DEFCHAR *)needle);
1715 if ( *(needle+(needle_length-1) ) == ' ' )
1759 loc = memfind(haystack+real_start,needle,(real_end-real_start+1),
1776 loc = memfind(haystack+real_start,needle,(real_end-real_start+1),
H A Dutil.c847 LENGTHTYPE memfind( CHARTYPE *haystack, CHARTYPE *needle, LENGTHTYPE hay_len, LENGTHTYPE nee_len, in memfind() argument
851 LENGTHTYPE memfind( haystack, needle, hay_len, nee_len, case_ignore, arbsts, arb_single, arb_multip… in memfind()
853 CHARTYPE *needle;
867 CHARTYPE *new_needle=needle;
875 && strzeq( needle, arb_multiple ) != (-1) )
877 if ( ( new_needle = (CHARTYPE *)my_strdup( needle ) ) == NULL )
2884 int search_query_item_array(void *base, size_t num, size_t width, const char *needle, int len) in search_query_item_array() argument
2886 int search_query_item_array(base, num, width, needle, len) in search_query_item_array()
2890 const char *needle;
2918 buf[i] = (char)tolower(needle[i]);
/dports/deskutils/gnome-dictionary/gnome-dictionary-40.0/src/
H A Dgdict-defbox.c373 utf8_strcasestr (const gchar *haystack, const gchar *needle) in utf8_strcasestr() argument
384 g_return_val_if_fail (needle != NULL, NULL); in utf8_strcasestr()
390 needle_len = g_utf8_strlen (needle, -1); in utf8_strcasestr()
406 needle_len = strlen (needle); in utf8_strcasestr()
411 if (exact_prefix_cmp (p, needle, needle_len)) in utf8_strcasestr()
428 utf8_strrcasestr (const gchar *haystack, const gchar *needle) in utf8_strrcasestr() argument
439 g_return_val_if_fail (needle != NULL, NULL); in utf8_strrcasestr()
445 needle_len = g_utf8_strlen (needle, -1); in utf8_strrcasestr()
462 needle_len = strlen (needle); in utf8_strrcasestr()
466 if (exact_prefix_cmp (p, needle, needle_len)) in utf8_strrcasestr()
/dports/www/moodle310/moodle/lib/
H A Dweblib.php2119 …* @param string $needle The search string. Syntax like "word1 +word2 -word3" is dealt with correct…
2126 function highlight($needle, $haystack, $matchcase = false, argument
2130 if (empty($needle) or empty($haystack)) {
2135 $words = preg_split('/ +/', trim($needle));
2180 * @param string $needle The string to search for
2184 function highlightfast($needle, $haystack) { argument
2186 if (empty($needle) or empty($haystack)) {
2190 $parts = explode(core_text::strtolower($needle), core_text::strtolower($haystack));
2202 … $parts[$key] .= '<span class="highlight">'.substr($haystack, $pos, strlen($needle)).'</span>';
2203 $pos += strlen($needle);
/dports/www/moodle311/moodle/lib/
H A Dweblib.php2119 …* @param string $needle The search string. Syntax like "word1 +word2 -word3" is dealt with correct…
2126 function highlight($needle, $haystack, $matchcase = false, argument
2130 if (empty($needle) or empty($haystack)) {
2135 $words = preg_split('/ +/', trim($needle));
2180 * @param string $needle The string to search for
2184 function highlightfast($needle, $haystack) { argument
2186 if (empty($needle) or empty($haystack)) {
2190 $parts = explode(core_text::strtolower($needle), core_text::strtolower($haystack));
2202 … $parts[$key] .= '<span class="highlight">'.substr($haystack, $pos, strlen($needle)).'</span>';
2203 $pos += strlen($needle);
/dports/www/moodle39/moodle/lib/
H A Dweblib.php2119 …* @param string $needle The search string. Syntax like "word1 +word2 -word3" is dealt with correct…
2126 function highlight($needle, $haystack, $matchcase = false, argument
2130 if (empty($needle) or empty($haystack)) {
2135 $words = preg_split('/ +/', trim($needle));
2180 * @param string $needle The string to search for
2184 function highlightfast($needle, $haystack) { argument
2186 if (empty($needle) or empty($haystack)) {
2190 $parts = explode(core_text::strtolower($needle), core_text::strtolower($haystack));
2202 … $parts[$key] .= '<span class="highlight">'.substr($haystack, $pos, strlen($needle)).'</span>';
2203 $pos += strlen($needle);
/dports/games/flightgear-aircraft/fgaircraft/A-10/Models/
H A DA-10-fuel-gauge.ac4851 name "needle-hyd-l"
4855 name "needle-w"
4886 name "needle-b"
4910 name "needle-hyd-r"
4914 name "needle-w"
4945 name "needle-b"
4969 name "needle-r"
5000 name "needle-l"
/dports/net/kamailio/kamailio-5.4.5/src/core/
H A Dtcp_read.c122 str needle; in strfindcasestrz() local
124 needle.s = needlez; in strfindcasestrz()
125 needle.len = strlen(needlez); in strfindcasestrz()
126 for(i=0;i<haystack->len-needle.len;i++) { in strfindcasestrz()
127 for(j=0;j<needle.len;j++) { in strfindcasestrz()
128 if ( !((haystack->s[i+j]==needle.s[j]) || in strfindcasestrz()
130 && ((haystack->s[i+j])^(needle.s[j]))==0x20 )) ) in strfindcasestrz()
133 if (j==needle.len) in strfindcasestrz()
/dports/textproc/apertium/apertium-3.6.1/apertium/
H A Dpostchunk.cc1195 string needle = evalString(first); in processBeginsWithList() local
1206 needle = tolower(needle); in processBeginsWithList()
1213 if(beginsWith(needle, *it)) in processBeginsWithList()
1243 string needle = evalString(first); in processEndsWithList() local
1254 needle = tolower(needle); in processEndsWithList()
1261 if(endsWith(needle, *it)) in processEndsWithList()
/dports/cad/yosys/yosys-yosys-0.12/passes/sat/
H A Dfreduce.cc576 …bool find_bit_in_cone(std::set<RTLIL::Cell*> &celldone, RTLIL::SigBit needle, RTLIL::SigBit haysta… in find_bit_in_cone()
578 if (needle == haystack) in find_bit_in_cone()
580 if (haystack.wire == NULL || needle.wire == NULL || drivers.count(haystack) == 0) in find_bit_in_cone()
590 if (find_bit_in_cone(celldone, needle, bit)) in find_bit_in_cone()
595 bool find_bit_in_cone(RTLIL::SigBit needle, RTLIL::SigBit haystack) in find_bit_in_cone()
598 return find_bit_in_cone(celldone, needle, haystack); in find_bit_in_cone()
/dports/devel/gnulibiberty/binutils-2.37/gas/
H A Dmacro.c1022 formal_hash_entry_t needle = { name, NULL }; in macro_expand_body() local
1023 htab_remove_elt (formal_hash, &needle); in macro_expand_body()
1297 macro_hash_entry_t needle; in delete_macro() local
1305 needle.name = copy; in delete_macro()
1306 needle.macro = NULL; in delete_macro()
1307 slot = htab_find_slot (macro_hash, &needle, NO_INSERT); in delete_macro()
/dports/sysutils/cinnamon-control-center/cinnamon-control-center-4.8.2/shell/
H A Dcinnamon-control-center.c511 gchar *needle, *haystack; in model_filter_func() local
529 needle = g_utf8_casefold (priv->filter_string, -1); in model_filter_func()
532 result = (strstr (haystack, needle) != NULL); in model_filter_func()
539 result = (strstr (folded, needle) != NULL); in model_filter_func()
551 result = strstr (keyword, needle) == keyword; in model_filter_func()
558 g_free (needle); in model_filter_func()
/dports/devel/arm-elf-binutils/binutils-2.37/gas/
H A Dmacro.c1022 formal_hash_entry_t needle = { name, NULL }; in macro_expand_body() local
1023 htab_remove_elt (formal_hash, &needle); in macro_expand_body()
1297 macro_hash_entry_t needle; in delete_macro() local
1305 needle.name = copy; in delete_macro()
1306 needle.macro = NULL; in delete_macro()
1307 slot = htab_find_slot (macro_hash, &needle, NO_INSERT); in delete_macro()
/dports/www/bolt/bolt-2.2.24/vendor/brandonwamboldt/utilphp/src/utilphp/
H A Dutil.php1022 * @param string $needle
1025 public static function str_contains($haystack, $needle) argument
1027 return strpos($haystack, $needle) !== false;
1035 * @param string $needle
1038 public static function str_icontains($haystack, $needle) argument
1040 return stripos($haystack, $needle) !== false;
/dports/lang/rust/rustc-1.58.1-src/library/core/src/slice/
H A Dmod.rs2037 pub fn starts_with(&self, needle: &[T]) -> bool in starts_with()
2041 let n = needle.len(); in starts_with()
2042 self.len() >= n && needle == &self[..n] in starts_with()
2066 pub fn ends_with(&self, needle: &[T]) -> bool in ends_with()
2070 let (m, n) = (self.len(), needle.len()); in ends_with()
2071 m >= n && needle == &self[m - n..] in ends_with()
/dports/www/mediawiki137/mediawiki-1.37.1/includes/
H A DGlobalFunctions.php293 static $needle;
297 $needle = null;
301 if ( $needle === null ) {
302 $needle = [ '%3B', '%40', '%24', '%21', '%2A', '%28', '%29', '%2C', '%2F', '%7E' ];
306 $needle[] = '%3A';
312 $needle,
/dports/sysutils/toybox/toybox-0.8.5/lib/
H A Dlib.c340 int stridx(char *haystack, char needle) in stridx() argument
344 if (!needle) return -1; in stridx()
345 off = strchr(haystack, needle); in stridx()
441 char *strafter(char *haystack, char *needle) in strafter() argument
443 char *s = strstr(haystack, needle); in strafter()
445 return s ? s+strlen(needle) : s; in strafter()
/dports/devel/binutils/binutils-2.37/gas/
H A Dmacro.c1022 formal_hash_entry_t needle = { name, NULL }; in macro_expand_body() local
1023 htab_remove_elt (formal_hash, &needle); in macro_expand_body()
1297 macro_hash_entry_t needle; in delete_macro() local
1305 needle.name = copy; in delete_macro()
1306 needle.macro = NULL; in delete_macro()
1307 slot = htab_find_slot (macro_hash, &needle, NO_INSERT); in delete_macro()
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/samples/sample_common/include/
H A Dsample_utils.h167 … inline size_t find_nth(const std::string& str, size_t pos, const std::string& needle, mfxU32 nth) in find_nth() argument
169 size_t found_pos = str.find(needle, pos); in find_nth()
171 found_pos = str.find(needle, found_pos + 1); in find_nth()
262 … inline size_t find_nth(const std::string& str, size_t pos, const std::string& needle, mfxU32 nth) in find_nth() argument
264 size_t found_pos = str.find(needle, pos); in find_nth()
266 found_pos = str.find(needle, found_pos + 1); in find_nth()
/dports/mail/heirloom-mailx/mailx-12.4/
H A Daux.c1208 char *needle, *NEEDLE; in asccasestr() local
1214 needle = ac_alloc(sz); in asccasestr()
1217 needle[i] = lowerconv(xneedle[i]&0377); in asccasestr()
1221 if (*haystack == *needle || *haystack == *NEEDLE) { in asccasestr()
1223 if (haystack[i] != needle[i] && in asccasestr()
/dports/databases/postgresql-libpqxx/libpqxx-7.2.0/src/
H A Dconnection.cxx385 auto needle{ in remove_receiver() local
387 auto R{m_receivers.equal_range(needle.first)}; in remove_receiver()
388 auto i{find(R.first, R.second, needle)}; in remove_receiver()
393 "Attempt to remove unknown receiver '" + needle.first + "'"); in remove_receiver()
402 exec(("UNLISTEN " + quote_name(needle.first)).c_str()); in remove_receiver()
/dports/net/openldap25-client/openldap-2.5.9/servers/lloadd/
H A Dupstream.c167 LloadOperation *op = NULL, needle = { .o_upstream_connid = c->c_connid }; in handle_one_response() local
176 tag = ber_get_int( ber, &needle.o_upstream_msgid ); in handle_one_response()
184 if ( needle.o_upstream_msgid == 0 ) { in handle_one_response()
187 c->c_ops, &needle, operation_upstream_cmp ) ) ) { in handle_one_response()
242 needle.o_upstream_msgid ); in handle_one_response()
/dports/net/openldap25-server/openldap-2.5.9/servers/lloadd/
H A Dupstream.c167 LloadOperation *op = NULL, needle = { .o_upstream_connid = c->c_connid }; in handle_one_response() local
176 tag = ber_get_int( ber, &needle.o_upstream_msgid ); in handle_one_response()
184 if ( needle.o_upstream_msgid == 0 ) { in handle_one_response()
187 c->c_ops, &needle, operation_upstream_cmp ) ) ) { in handle_one_response()
242 needle.o_upstream_msgid ); in handle_one_response()

1...<<381382383384385386387388389390>>...654