Home
last modified time | relevance | path

Searched refs:strncmp (Results 51 – 75 of 99) sorted by relevance

1234

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c748 if (strncmp(s1, s2, s_len) == 0) {
1092 strncmp(env_server_software, "Microsoft-IIS", sizeof("Microsoft-IIS") - 1) == 0 &&
1093 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation1.phpt18 if (strncmp($mode, 'x', 1) == 0) {
/PHP-5.5/ext/readline/
H A Dreadline.c456 if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) { in _readline_command_generator()
/PHP-5.5/main/streams/
H A Dtransports.c99 if ((*p == ':') && (n > 1) && !strncmp("://", p, 3)) { in _php_stream_xport_create()
/PHP-5.5/ext/standard/
H A Dimage.c894 if (strncmp(a+4, "ILBM", 4) && strncmp(a+4, "PBM ", 4)) { in php_handle_iff()
H A Dinfo.c804 …if (strncmp(winver, "Windows 8.1", 11) == 0 || strncmp(winver, "Windows Server 2012 R2", 22) == 0)… in php_get_uname()
H A Dproc_open.c612 if (strncmp(Z_STRVAL_PP(zmode), "w", 1) != 0) { in PHP_FUNCTION()
/PHP-5.5/main/
H A DSAPI.c370 if (*charset && strncmp(*mimetype, "text/", 5) == 0 && strstr(*mimetype, "charset=") == NULL) { in sapi_apply_default_charset()
788 if (!strncmp(ptr, "image/", sizeof("image/")-1)) { in sapi_header_op()
H A Dmain.c811 if (strncmp(docref, "http://", 7)) { in php_verror()
2602 if (auth && auth[0] != '\0' && strncmp(auth, "Basic ", 6) == 0) { in php_handle_auth_data()
2626 if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) { in php_handle_auth_data()
/PHP-5.5/ext/zip/lib/
H A Dzip_open.c364 || strncmp(za->cdir->comment, TORRENT_SIG, TORRENT_SIG_LEN) != 0) in _zip_check_torrentzip()
/PHP-5.5/ext/intl/locale/
H A Dlocale_methods.c789 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix()
1503 …if(cur_arr[i*2] != NULL && strlen(cur_arr[i*2]) == saved_pos && strncmp(cur_loc_range, cur_arr[i*2… in lookup_loc_range()
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_internal.h374 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) macro
2696 strncmp((char *)(str1), (char *)(str2), (num))
2698 strncmp((char *)(str1), (str2), (num))
/PHP-5.5/ext/gd/libgd/
H A Dgd_gif_in.c154 if (strncmp((char *)buf,"GIF",3) != 0) { in gdImageCreateFromGifCtx()
H A Dgd_jpeg.c425 …if ((marker->marker == (JPEG_APP0 + 14)) && (marker->data_length >= 12) && (!strncmp((const char *… in gdImageCreateFromJpegCtxEx()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c807 if (strncmp(s1, s2, s_len) == 0) {
1179 strncmp(env_server_software, "Microsoft-IIS", sizeof("Microsoft-IIS")-1) == 0 &&
1180 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
/PHP-5.5/win32/
H A Dsendmail.c724 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()
/PHP-5.5/ext/phar/
H A Dstream.c323 … && idata->internal_file->filename_len == sizeof(".phar/stub.php")-1 && !strncmp(idata->internal_f… in phar_wrapper_open_url()
642 if ((int)keylen >= internal_file_len || strncmp(str_key, internal_file, keylen)) { in phar_wrapper_stat()
H A Dphar_object.c608 …if ((strlen(sapi_module.name) == sizeof("cgi-fcgi")-1 && !strncmp(sapi_module.name, "cgi-fcgi", si… in PHP_METHOD()
609 …|| (strlen(sapi_module.name) == sizeof("fpm-fcgi")-1 && !strncmp(sapi_module.name, "fpm-fcgi", siz… in PHP_METHOD()
610 …|| (strlen(sapi_module.name) == sizeof("cgi")-1 && !strncmp(sapi_module.name, "cgi", sizeof("cgi")… in PHP_METHOD()
915 …if (Z_STRLEN_PP(data) == sizeof("PHP_SELF")-1 && !strncmp(Z_STRVAL_PP(data), "PHP_SELF", sizeof("P… in PHP_METHOD()
920 if (!strncmp(Z_STRVAL_PP(data), "REQUEST_URI", sizeof("REQUEST_URI")-1)) { in PHP_METHOD()
923 if (!strncmp(Z_STRVAL_PP(data), "SCRIPT_NAME", sizeof("SCRIPT_NAME")-1)) { in PHP_METHOD()
928 …if (Z_STRLEN_PP(data) == sizeof("SCRIPT_FILENAME")-1 && !strncmp(Z_STRVAL_PP(data), "SCRIPT_FILENA… in PHP_METHOD()
H A Dutil.c323 if (ret && strlen(ret) > 8 && !strncmp(ret, "phar://", 7)) { in phar_find_in_include_path()
1015 … if (fname && (fname_len != (*fd_ptr)->fname_len || strncmp(fname, (*fd_ptr)->fname, fname_len))) { in phar_get_archive()
1320 if ((int)keylen >= path_len || strncmp(str_key, path, keylen)) { in phar_get_entry_info_dir()
H A Ddirstream.c218 if (keylen == 0 || keylen < (uint)dirlen || !strncmp(str_key, dir, dirlen)) { in phar_make_dirstream()
/PHP-5.5/sapi/litespeed/
H A Dlsapilib.c1898 if ( strncmp( name, "HTTP_", 5 ) == 0 ) in LSAPI_GetEnv_r()
3085 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI_", 10 ) in unset_lsapi_envs()
3086 || (!strncmp( *env, "PHPRC=", 6 )&&(!s_uid))) in unset_lsapi_envs()
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c350 if ((strncmp(sapi_module.name, "cgi", 3) != 0) &&
352 (strncmp(sapi_module.name, "embed", 5) != 0)
385 if (strncmp(fullpath, extension_dir, extension_dir_len) != 0) {
/PHP-5.5/Zend/
H A Dzend_builtin_functions.c39 static ZEND_FUNCTION(strncmp);
250 ZEND_FE(strncmp, arginfo_strncmp)
510 ZEND_FUNCTION(strncmp) in ZEND_FUNCTION() argument
/PHP-5.5/sapi/apache/
H A Dmod_php5.c235 …if (sline && ((sline_len = strlen(sline)) > 12) && strncmp(sline, "HTTP/1.", 7) == 0 && sline[8] =… in sapi_apache_send_headers()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c799 if (!strncmp(encoding, "SJIS", sizeof("SJIS")-1) ||
800 !strncmp(encoding, "SHIFT_JIS_2004", sizeof("SHIFT_JIS_2004")-1) ||
801 !strncmp(encoding, "BIG5", sizeof("BIG5")-1) ||
802 !strncmp(encoding, "GB18030", sizeof("GB18030")-1) ||
803 !strncmp(encoding, "GBK", sizeof("GBK")-1) ||
804 !strncmp(encoding, "JOHAB", sizeof("JOHAB")-1) ||
805 !strncmp(encoding, "UHC", sizeof("UHC")-1) ) {

Completed in 223 milliseconds

1234