Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 154) sorted by last modified time

1234567

/php-src/ext/libxml/
H A Dlibxml.c937 if (strcmp(sapi_module.name, *sapi_name) == 0) { in PHP_MINIT_FUNCTION()
/php-src/ext/dom/
H A Dphp_dom.c2091 if (! ((prefix && !strcmp (prefix, "xml") && strcmp(uri, (char *)XML_XML_NAMESPACE)) || in dom_get_ns()
2092 (prefix && !strcmp (prefix, "xmlns") && strcmp(uri, DOM_XMLNS_NS_URI)) || in dom_get_ns()
2093 (prefix && !strcmp(uri, DOM_XMLNS_NS_URI) && strcmp (prefix, "xmlns")))) { in dom_get_ns()
H A Dnode.c611 … (zend_string_equals_literal(prefix_str, "xml") && strcmp(strURI, (char *) XML_XML_NAMESPACE)) || in dom_node_prefix_write()
613 strcmp(strURI, DOM_XMLNS_NS_URI)) || in dom_node_prefix_write()
614 (nodep->type == XML_ATTRIBUTE_NODE && !strcmp((char *) nodep->name, "xmlns"))) { in dom_node_prefix_write()
H A Dhtml5_parser.c203 if (strcmp((const char *) local_name, "xmlns") != 0) { in lexbor_libxml2_bridge_convert()
H A Dxml_serializer.c89 return strcmp((const char *) s1, (const char *) s2) == 0; in dom_xml_str_equals_treat_nulls_as_empty()
100 return strcmp((const char *) s1, (const char *) s2) == 0; in dom_xml_str_equals_treat_nulls_as_nulls()
342 if (strcmp((const char *) namespace_definition, DOM_XML_NS_URI) == 0) { in dom_recording_the_namespace_information()
660 if (strcmp((const char *) attr_value, DOM_XML_NS_URI) == 0) { in dom_xml_serialize_attributes()
677 if (value == NULL || strcmp((const char *) value, (const char *) attr_value) != 0) { in dom_xml_serialize_attributes()
690 if (attr->ns->prefix != NULL && strcmp((const char *) attr->ns->prefix, "xmlns") == 0) { in dom_xml_serialize_attributes()
864 if (prefix != NULL && strcmp((const char *) prefix, "xmlns") == 0) { in dom_xml_serialize_element_node()
879 …if (local_default_namespace != NULL && strcmp((const char *) local_default_namespace, DOM_XML_NS_U… in dom_xml_serialize_element_node()
/php-src/main/
H A DSAPI.c412 if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) { in sapi_activate_headers_only()
454 if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) { in sapi_activate()
468 && !strcmp(SG(request_info).request_method, "POST")) { in sapi_activate()
819 strcmp(SG(request_info).request_method, "HEAD") && in sapi_header_op()
820 strcmp(SG(request_info).request_method, "GET")) { in sapi_header_op()
1039 if (strlen(sapi_module.name) == sizeof("cgi-fcgi") - 1 && !strcmp(sapi_module.name, "cgi-fcgi")) { in sapi_getenv()
H A Dmain.c489 …cgi_or_cli = (!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi… in PHP_INI_DISP()
827 if (!strcmp(PG(error_log), "syslog")) { in php_log_err_with_severity()
1369 …if ((!strcmp(sapi_module.name, "cli") || !strcmp(sapi_module.name, "cgi") || !strcmp(sapi_module.n… in php_error_cb()
/php-src/ext/ffi/
H A Dffi.c5402 FFI_G(is_cli) = strcmp(sapi_module.name, "cli") == 0;
/php-src/ext/sqlite3/
H A Dsqlite3.c412 (strcmp(sapi_module.name, "cli") != 0) && in PHP_METHOD()
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c96 (strcmp(sapi_module.name, "cli") != 0) && in PHP_METHOD()
H A Dsqlite_driver.c751 if (*filename && strcmp(filename, ":memory:")) { in make_filename_safe()
/php-src/sapi/cgi/
H A Dcgi_main.c273 return strcmp(fe->name, se->name); in extension_name_cmp()
1231 strcmp(env_path_translated, script_path_translated) != 0) {
1295 strcmp(orig_script_name, env_path_info) != 0) {
1308 strcmp(orig_script_filename, pt) != 0) {
1382 strcmp(orig_script_name, env_script_name) != 0) {
1398 strcmp(script_path_translated, orig_script_filename) != 0)) {
/php-src/ext/filter/
H A Dfilter.c753 if (strcmp(filter_list[i].name, filter) == 0) { in PHP_FUNCTION()
/php-src/ext/reflection/
H A Dphp_reflection.c2539 if (strcmp(((zend_internal_arg_info*)arg_info)[i].name, ZSTR_VAL(arg_name)) == 0) { in ZEND_METHOD()
/php-src/Zend/
H A Dzend_builtin_functions.c314 ZEND_FUNCTION(strcmp) in ZEND_FUNCTION() argument
H A Dzend_API.c1096 if (strcmp(error, "must not contain any null bytes") == 0) { in zend_parse_arg()
3030 if (!strcmp(arg_info->name, reg_function->arg_info[j].name)) { in zend_register_functions()
H A Dzend_language_parser.y1635 strcmp(toktype, "\"end of file\"") == 0) {
1643 if (strcmp(toktype, "\"'\\\\'\"") == 0) {
1651 if (strcmp(toktype, "\"amp\"") == 0) {
1660 if (strcmp(toktype, "'\"'") == 0) {
1690 if (tokcontent_len == 1 && strcmp(yystr, "\"invalid character\"") == 0) {
1705 if (tokcontent_len > 0 && strcmp(yystr, "\"quoted string\"") == 0) {
1744 if (strcmp(toktype, "\"'\\\\'\"") == 0) {
/php-src/ext/intl/dateformat/
H A Ddateformat_parse.c76 if( strcmp(key_name, CALENDAR_YEAR )==0 ){ in add_to_localtime_arr()
79 }else if( strcmp(key_name, CALENDAR_WDAY )==0 ){ in add_to_localtime_arr()
/php-src/ext/openssl/
H A Dopenssl.c986 if (str != NULL && strcmp(str, "no") == 0) { in php_openssl_parse_config()
2957 if (strcmp("_default", type + len) != 0) { in php_openssl_csr_make()
H A Dxp_ssl.c488 if (len && strcmp((const char *)&cert_name[len-1], ".") == 0) { in php_openssl_matches_san_list()
826 } else if (!strcmp(line, "-----BEGIN CERTIFICATE-----\n") || in php_openssl_load_stream_cafile()
827 !strcmp(line, "-----BEGIN CERTIFICATE-----\r\n") in php_openssl_load_stream_cafile()
844 } else if (!strcmp(line, "-----END CERTIFICATE-----") || in php_openssl_load_stream_cafile()
845 !strcmp(line, "-----END CERTIFICATE-----\n") || in php_openssl_load_stream_cafile()
846 !strcmp(line, "-----END CERTIFICATE-----\r\n") in php_openssl_load_stream_cafile()
/php-src/ext/pgsql/
H A Dpgsql.c4312 …add_assoc_bool_ex(&elem, "not null", sizeof("not null") - 1, !strcmp(PQgetvalue(pg_result, i, 4), … in php_pgsql_meta_data()
4314 …add_assoc_bool_ex(&elem, "has default", sizeof("has default") - 1, !strcmp(PQgetvalue(pg_result,i,… in php_pgsql_meta_data()
4318 …add_assoc_bool_ex(&elem, "is enum", sizeof("is enum") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "e… in php_pgsql_meta_data()
4321 …add_assoc_bool_ex(&elem, "is base", sizeof("is base") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "b… in php_pgsql_meta_data()
4322 …add_assoc_bool_ex(&elem, "is composite", sizeof("is composite") - 1, !strcmp(PQgetvalue(pg_result,… in php_pgsql_meta_data()
4323 …add_assoc_bool_ex(&elem, "is pseudo", sizeof("is pseudo") - 1, !strcmp(PQgetvalue(pg_result, i, 7)… in php_pgsql_meta_data()
/php-src/ext/readline/
H A Dreadline_cli.c644 if (strcmp(line, "exit") == 0 || strcmp(line, "quit") == 0) { in readline_shell_run()
/php-src/ext/iconv/
H A Diconv.c424 if (clen >= 9 && strcmp("//IGNORE", charset+clen-8) == 0) { in _php_check_ignore()
427 if (clen >= 19 && strcmp("//IGNORE//TRANSLIT", charset+clen-18) == 0) { in _php_check_ignore()
/php-src/ext/opcache/
H A Dconfig.m4168 if (strcmp(shm, "bye") != 0) {
221 if (strcmp(shm, "bye") != 0) {
308 if (strcmp(shm, "bye") != 0) {
/php-src/ext/standard/
H A Dproc_open.c1290 if(strcmp(sapi_module.name, "cli") != 0) { in PHP_FUNCTION()

Completed in 185 milliseconds

1234567