/PHP-5.3/ext/standard/tests/strings/ |
H A D | strcmp.phpt | 2 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 D | str_rot13_basic.phpt | 16 if (strcmp(str_rot13("0123456789"), "0123456789") == 0) { 23 if (strcmp(str_rot13("!%^&*()_-+={}[]:;@~#<,>.?"), "!%^&*()_-+={}[]:;@~#<,>.?")) { 33 if (strcmp($str, $decode) == 0) {
|
/PHP-5.3/ext/gd/libgd/ |
H A D | webpng.c | 38 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 D | gdkanji.c | 202 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 D | xbm.c | 63 if (!strcmp("width", type)) { in gdImageCreateFromXbm() 66 if (!strcmp("height", type)) { in gdImageCreateFromXbm() 89 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | xml_to_dandarpc.c | 76 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 D | xmlrpc_introspection.c | 84 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 D | xml_to_xmlrpc.c | 79 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 D | xml_to_soap.c | 264 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.3/ext/wddx/ |
H A D | wddx.c | 741 if (!strcmp(name, EL_PACKET)) { in php_wddx_push_element() 769 } else if (!strcmp(name, EL_CHAR)) { in php_wddx_push_element() 806 } else if (!strcmp(name, EL_NULL)) { in php_wddx_push_element() 831 } else if (!strcmp(name, EL_VAR)) { in php_wddx_push_element() 929 if (!strcmp(name, EL_STRING) || !strcmp(name, EL_NUMBER) || in php_wddx_pop_element() 930 !strcmp(name, EL_BOOLEAN) || !strcmp(name, EL_NULL) || in php_wddx_pop_element() 931 !strcmp(name, EL_ARRAY) || !strcmp(name, EL_STRUCT) || in php_wddx_pop_element() 932 !strcmp(name, EL_RECORDSET) || !strcmp(name, EL_BINARY) || in php_wddx_pop_element() 933 !strcmp(name, EL_DATETIME)) { in php_wddx_pop_element() 936 if (!strcmp(name, EL_BINARY)) { in php_wddx_pop_element() [all …]
|
/PHP-5.3/ext/zlib/tests/ |
H A D | 001.phpt | 11 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 D | 002.phpt | 11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n"; 18 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
|
H A D | gzinflate_length.phpt | 11 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n"; 14 if (strcmp($original,$unpacked)==0) echo "Strings are equal\n";
|
/PHP-5.3/ext/openssl/tests/ |
H A D | 008.phpt | 41 var_dump(strcmp($output, $a)); 42 var_dump(strcmp($output, $output2)); 43 var_dump(strcmp($output, $output3)); 44 var_dump(strcmp($output, $output4)); // different 45 var_dump(strcmp($output, $output5)); // different
|
/PHP-5.3/ext/intl/locale/ |
H A D | locale_methods.c | 113 if (strcmp(key, *list) == 0) { in findOffset() 271 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 281 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_value_internal() 310 if( strcmp(tag_name , LOC_SCRIPT_TAG)==0 ){ in get_icu_value_internal() 313 if( strcmp(tag_name , LOC_LANG_TAG )==0 ){ in get_icu_value_internal() 316 if( strcmp(tag_name , LOC_REGION_TAG)==0 ){ in get_icu_value_internal() 512 if( strcmp(tag_name, DISP_NAME) != 0 ){ in get_icu_disp_value_src_php() 516 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 540 if( strcmp(tag_name , LOC_LANG_TAG)==0 ){ in get_icu_disp_value_src_php() 770 if(strcmp(key_name, LOC_LANG_TAG) != 0 && in append_key_value() [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | uasort_variation8.phpt | 12 * 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 D | usort_variation8.phpt | 28 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.3/ext/sqlite/libsqlite/src/ |
H A D | date.c | 479 if( strcmp(z, "localtime")==0 ){ in parseModifier() 498 }else if( strcmp(z, "utc")==0 ){ in parseModifier() 548 if( strcmp(z,"month")==0 ){ in parseModifier() 551 }else if( strcmp(z,"year")==0 ){ in parseModifier() 556 }else if( strcmp(z,"day")==0 ){ in parseModifier() 605 if( n==3 && strcmp(z,"day")==0 ){ in parseModifier() 607 }else if( n==4 && strcmp(z,"hour")==0 ){ in parseModifier() 609 }else if( n==6 && strcmp(z,"minute")==0 ){ in parseModifier() 611 }else if( n==6 && strcmp(z,"second")==0 ){ in parseModifier() 613 }else if( n==5 && strcmp(z,"month")==0 ){ in parseModifier() [all …]
|
/PHP-5.3/ext/soap/ |
H A D | php_xml.c | 231 if (name == NULL || strcmp((char*)node->name, name) == 0) { in attr_is_equal_ex() 235 return (strcmp((char*)nsPtr->href, ns) == 0); in attr_is_equal_ex() 247 if (name == NULL || strcmp((char*)node->name, name) == 0) { in node_is_equal_ex() 251 return (strcmp((char*)nsPtr->href, ns) == 0); in node_is_equal_ex() 313 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex() 326 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | is_tar.c | 118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) in is_tar() 120 if (strcmp(header->header.magic, TMAGIC) == 0) in is_tar()
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_php.c | 89 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.3/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 387 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() 1317 if (!strcmp(str_mapping[i], str)) { in xmlrpc_str_as_type() [all …]
|
/PHP-5.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 514 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor() 554 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler() 570 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler() 572 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler() 628 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler() 629 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler() 630 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler() 642 …if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol… in php_handler()
|
/PHP-5.3/ext/pdo/ |
H A D | php_pdo_int.h | 68 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, NUL… 69 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->…
|
/PHP-5.3/ext/pgsql/ |
H A D | pgsql.c | 4985 if (!strcmp(type_name, "bool")|| !strcmp(type_name, "boolean")) 4991 if (!strcmp(type_name, "int2") || !strcmp(type_name, "smallint")) 4993 if (!strcmp(type_name, "int4") || !strcmp(type_name, "integer")) 4995 if (!strcmp(type_name, "int8") || !strcmp(type_name, "bigint")) 4998 if (!strcmp(type_name, "float4") || !strcmp(type_name, "real")) 5000 if (!strcmp(type_name, "float8") || !strcmp(type_name, "double precision")) 5009 if (!strcmp(type_name, "bpchar") || !strcmp(type_name, "character")) 5011 if (!strcmp(type_name, "varchar") || !strcmp(type_name, "character varying")) 5241 if (!strcmp(Z_STRVAL_PP(val), "t") || !strcmp(Z_STRVAL_PP(val), "T") || 5242 !strcmp(Z_STRVAL_PP(val), "y") || !strcmp(Z_STRVAL_PP(val), "Y") || [all …]
|