Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 177) sorted by relevance

12345678

/PHP-5.6/ext/standard/tests/strings/
H A Dstrcmp.phpt2 strcmp() function
143 strcmp();
144 strcmp("");
145 strcmp("HI");
219 - strcmp of '�' and 'a' is => int(-%d)
220 - strcmp of '�' and 'A' is => int(-%d)
221 - strcmp of '�' and 'a' is => int(-%d)
222 - strcmp of '�' and 'A' is => int(-%d)
223 - strcmp of '�' and '�' is => int(-%d)
224 - strcmp of '�' and '�' is => int(-%d)
[all …]
H A Dstr_rot13_basic.phpt16 if (strcmp(str_rot13("0123456789"), "0123456789") == 0) {
23 if (strcmp(str_rot13("!%^&*()_-+={}[]:;@~#<,>.?"), "!%^&*()_-+={}[]:;@~#<,>.?")) {
33 if (strcmp($str, $decode) == 0) {
/PHP-5.6/ext/gd/libgd/
H A Dwebpng.c38 if (argc < 2 || !strcmp (argv[1], "--help")) in main()
45 if (strcmp ("-", argv[argc - 1]) == 0) in main()
74 if (!strcmp (argv[i], "--help")) in main()
80 else if (!strcmp (argv[i], "-i")) in main()
89 if (!strcmp (argv[i + 1], "y")) in main()
94 else if (!strcmp (argv[i + 1], "n")) in main()
110 else if (!strcmp (argv[i], "-t")) in main()
121 if (!strcmp (argv[i + 1], "none")) in main()
136 else if (!strcmp (argv[i], "-l")) in main()
161 else if (!strcmp (argv[i], "-d")) in main()
[all …]
H A Dgdkanji.c202 if (strcmp (lang, "ja_JP.SJIS") == 0 || in DetectKanjiCode()
204 strcmp (lang, "japanese") == 0 || in DetectKanjiCode()
206 strcmp (lang, "ja_JP.mscode") == 0 || in DetectKanjiCode()
207 strcmp (lang, "ja_JP.PCK") == 0) in DetectKanjiCode()
391 if (strcmp (code, NEWJISSTR) == 0 || strcmp (code, OLDJISSTR) == 0) in do_convert()
428 else if (strcmp (code, SJISSTR) == 0) in do_convert()
H A Dxbm.c63 if (!strcmp("width", type)) { in gdImageCreateFromXbm()
66 if (!strcmp("height", type)) { in gdImageCreateFromXbm()
89 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
/PHP-5.6/ext/xmlrpc/libxmlrpc/
H A Dxml_to_dandarpc.c76 if(!strcmp(attr_iter->key, ATTR_ID)) { in xml_element_to_DANDARPC_REQUEST_worker()
79 if(!strcmp(attr_iter->key, ATTR_TYPE)) { in xml_element_to_DANDARPC_REQUEST_worker()
89 if(!strcmp(el->name, ATTR_SCALAR)) { in xml_element_to_DANDARPC_REQUEST_worker()
93 else if(!strcmp(type, ATTR_INT)) { in xml_element_to_DANDARPC_REQUEST_worker()
96 else if(!strcmp(type, ATTR_BOOLEAN)) { in xml_element_to_DANDARPC_REQUEST_worker()
99 else if(!strcmp(type, ATTR_DOUBLE)) { in xml_element_to_DANDARPC_REQUEST_worker()
102 else if(!strcmp(type, ATTR_DATETIME)) { in xml_element_to_DANDARPC_REQUEST_worker()
105 else if(!strcmp(type, ATTR_BASE64)) { in xml_element_to_DANDARPC_REQUEST_worker()
112 else if(!strcmp(el->name, ATTR_VECTOR)) { in xml_element_to_DANDARPC_REQUEST_worker()
118 else if(!strcmp(type, ATTR_ARRAY)) { in xml_element_to_DANDARPC_REQUEST_worker()
[all …]
H A Dxmlrpc_introspection.c84 if(name && !strcmp(name, needle)) { in find_named_value()
323 if(!strcmp(attr_iter->key, "name")) { in xml_element_to_method_description()
326 else if(!strcmp(attr_iter->key, "type")) { in xml_element_to_method_description()
332 else if(!strcmp(attr_iter->key, "desc")) { in xml_element_to_method_description()
340 else if(!strcmp(attr_iter->key, "default")) { in xml_element_to_method_description()
347 if(!strcmp(el->name, "value") || !strcmp(el->name, "typeDescription")) { in xml_element_to_method_description()
352 (!strcmp(ptype, "array") || !strcmp(ptype, "struct") || !strcmp(ptype, "mixed"))) { in xml_element_to_method_description()
369 else if(!strcmp(el->name, "params") || in xml_element_to_method_description()
370 !strcmp(el->name, "returns") || in xml_element_to_method_description()
371 !strcmp(el->name, "signature")) { in xml_element_to_method_description()
[all …]
H A Dxml_to_xmlrpc.c79 if (!strcmp(el->name, ELEM_FAULT)) { in xml_element_to_XMLRPC_REQUEST_worker()
98 || (!strcmp(el->name, ELEM_PARAMS) && in xml_element_to_XMLRPC_REQUEST_worker()
110 else if (!strcmp(el->name, ELEM_STRUCT)) { in xml_element_to_XMLRPC_REQUEST_worker()
121 else if (!strcmp(el->name, ELEM_STRING) || in xml_element_to_XMLRPC_REQUEST_worker()
125 else if (!strcmp(el->name, ELEM_NAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
128 else if (!strcmp(el->name, ELEM_INT) || !strcmp(el->name, ELEM_I4)) { in xml_element_to_XMLRPC_REQUEST_worker()
131 else if (!strcmp(el->name, ELEM_BOOLEAN)) { in xml_element_to_XMLRPC_REQUEST_worker()
134 else if (!strcmp(el->name, ELEM_DOUBLE)) { in xml_element_to_XMLRPC_REQUEST_worker()
137 else if (!strcmp(el->name, ELEM_DATETIME)) { in xml_element_to_XMLRPC_REQUEST_worker()
140 else if (!strcmp(el->name, ELEM_BASE64)) { in xml_element_to_XMLRPC_REQUEST_worker()
[all …]
H A Dxml_to_soap.c264 if(!strcmp(id, "item")) { in xml_element_to_SOAP_REQUEST_worker()
271 if (!strcmp(attr_iter->key, TOKEN_TYPE)) { in xml_element_to_SOAP_REQUEST_worker()
345 if (!type || !strcmp(type, TOKEN_STRING)) { in xml_element_to_SOAP_REQUEST_worker()
348 else if (!strcmp(type, TOKEN_INT)) { in xml_element_to_SOAP_REQUEST_worker()
351 else if (!strcmp(type, TOKEN_BOOLEAN)) { in xml_element_to_SOAP_REQUEST_worker()
354 else if (!strcmp(type, TOKEN_DOUBLE) || in xml_element_to_SOAP_REQUEST_worker()
355 !strcmp(type, TOKEN_FLOAT)) { in xml_element_to_SOAP_REQUEST_worker()
358 else if (!strcmp(type, TOKEN_NULL)) { in xml_element_to_SOAP_REQUEST_worker()
361 else if (!strcmp(type, TOKEN_DATETIME)) { in xml_element_to_SOAP_REQUEST_worker()
364 else if (!strcmp(type, TOKEN_BASE64)) { in xml_element_to_SOAP_REQUEST_worker()
[all …]
/PHP-5.6/ext/openssl/tests/
H A Dopenssl_x509_export_basic.phpt21 var_dump(strcmp($output, $a));
22 var_dump(strcmp($output, $output2));
23 var_dump(strcmp($output, $output3));
24 var_dump(strcmp($output, $output4)); // different
25 var_dump(strcmp($output, $output5)); // different
/PHP-5.6/ext/odbc/tests/
H A Dbug60616.phpt44 if (strcmp($char_col, $euc_jp_check) == 0 && strcmp($varchar_col, $euc_jp) == 0 &&
45 strcmp($text_col, $euc_jp) == 0) {
52 if (strcmp($char_col, $ascii_check) == 0 && strcmp($varchar_col, $ascii) == 0 &&
53 strcmp($text_col, $ascii) == 0) {
/PHP-5.6/ext/zlib/tests/
H A D001.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
24 if (strcmp($original,$unpacked)==0) echo "Strings are equal";
H A D002.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
H A Dgzinflate_length.phpt11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
14 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
H A D003.phpt10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
/PHP-5.6/ext/wddx/
H A Dwddx.c750 if (!strcmp(name, EL_PACKET)) { in php_wddx_push_element()
778 } else if (!strcmp(name, EL_CHAR)) { in php_wddx_push_element()
822 } else if (!strcmp(name, EL_NULL)) { in php_wddx_push_element()
847 } else if (!strcmp(name, EL_VAR)) { in php_wddx_push_element()
947 if (!strcmp(name, EL_STRING) || !strcmp(name, EL_NUMBER) || in php_wddx_pop_element()
948 !strcmp(name, EL_BOOLEAN) || !strcmp(name, EL_NULL) || in php_wddx_pop_element()
949 !strcmp(name, EL_ARRAY) || !strcmp(name, EL_STRUCT) || in php_wddx_pop_element()
950 !strcmp(name, EL_RECORDSET) || !strcmp(name, EL_BINARY) || in php_wddx_pop_element()
951 !strcmp(name, EL_DATETIME)) { in php_wddx_pop_element()
964 if (!strcmp(name, EL_BINARY)) { in php_wddx_pop_element()
[all …]
/PHP-5.6/ext/pdo/
H A Dphp_pdo_error.h36 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, …
37 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
/PHP-5.6/ext/intl/locale/
H A Dlocale_methods.c113 if (strcmp(key, *list) == 0) { in findOffset()
274 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
284 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal()
313 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal()
316 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal()
319 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal()
518 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php()
522 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
546 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php()
778 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value()
[all …]
/PHP-5.6/ext/standard/tests/array/
H A Duasort_variation8.phpt12 * valid comparison functions: strcmp() & strcasecmp()
27 echo "-- Testing uasort() with built-in 'cmp_function': strcmp() --\n";
28 var_dump( uasort($array_arg, 'strcmp') ); // expecting: bool(true)
56 -- Testing uasort() with built-in 'cmp_function': strcmp() --
H A Dusort_variation8.phpt28 echo "\n-- Testing usort() with built-in 'cmp_function': strcmp() --\n";
30 var_dump( usort($temp_array2, 'strcmp') );
61 -- Testing usort() with built-in 'cmp_function': strcmp() --
/PHP-5.6/ext/soap/
H A Dphp_xml.c208 if (name == NULL || strcmp((char*)node->name, name) == 0) { in attr_is_equal_ex()
212 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex()
224 if (name == NULL || strcmp((char*)node->name, name) == 0) { in node_is_equal_ex()
228 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex()
290 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
303 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
/PHP-5.6/ext/fileinfo/libmagic/
H A Dis_tar.c118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) in is_tar()
120 if (strcmp(header->header.magic, TMAGIC) == 0) in is_tar()
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_php.c89 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
99 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
106 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
248 if (strcmp(*p, path_ext) == 0) { in fpm_php_limit_extensions()
/PHP-5.6/ext/xmlrpc/
H A Dxmlrpc-epi-php.c387 if (!strcmp(Z_STRVAL_PP(val), OUTPUT_TYPE_VALUE_PHP)) { in set_output_options()
389 } else if (!strcmp(Z_STRVAL_PP(val), OUTPUT_TYPE_VALUE_XML)) { in set_output_options()
398 if (!strcmp(Z_STRVAL_PP(val), VERBOSITY_VALUE_NO_WHITE_SPACE)) { in set_output_options()
402 } else if (!strcmp(Z_STRVAL_PP(val), VERBOSITY_VALUE_PRETTY)) { in set_output_options()
412 if (!strcmp(Z_STRVAL_PP(val), VERSION_VALUE_XMLRPC)) { in set_output_options()
414 } else if (!strcmp(Z_STRVAL_PP(val), VERSION_VALUE_SIMPLE)) { in set_output_options()
443 if (!strcmp(Z_STRVAL_PP(iter_val), ESCAPING_VALUE_CDATA)) { in set_output_options()
460 if (!strcmp(Z_STRVAL_PP(val), ESCAPING_VALUE_CDATA)) { in set_output_options()
466 } else if (!strcmp(Z_STRVAL_PP(val), ESCAPING_VALUE_MARKUP)) { in set_output_options()
1326 if (!strcmp(str_mapping[i], str)) { in xmlrpc_str_as_type()
[all …]
/PHP-5.6/sapi/apache2handler/
H A Dsapi_apache2.c512 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
552 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
568 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
570 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
626 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
627 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
628 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
640 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()

Completed in 63 milliseconds

12345678