Lines Matching refs:NULL

207 	{0, NULL, NULL, NULL}
580 NULL,
588 …{ MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, NULL, rf…
589 { NULL, 0, NULL, NULL }
678 …{ MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, NULL, rf…
679 { NULL, 0, NULL, NULL }
696 list = NULL; in php_mb_parse_encoding_list()
697 if (value == NULL || value_length <= 0) { in php_mb_parse_encoding_list()
699 *return_list = NULL; in php_mb_parse_encoding_list()
713 if (tmpstr == NULL) { in php_mb_parse_encoding_list()
720 while ((p2 = (char*)php_memnstr(p1, ",", 1, endp)) != NULL) { in php_mb_parse_encoding_list()
727 if (list != NULL) { in php_mb_parse_encoding_list()
734 if (p == NULL) { in php_mb_parse_encoding_list()
769 } while (n < size && p2 != NULL); in php_mb_parse_encoding_list()
779 *return_list = NULL; in php_mb_parse_encoding_list()
788 *return_list = NULL; in php_mb_parse_encoding_list()
815 list = NULL; in php_mb_parse_encoding_array()
821 if (list != NULL) { in php_mb_parse_encoding_array()
859 *return_list = NULL; in php_mb_parse_encoding_array()
868 *return_list = NULL; in php_mb_parse_encoding_array()
937 if (convd == NULL) { in php_mb_zend_encoding_converter()
1012 php_error_docref(NULL, E_WARNING, "%s: %s", pattern, err_str); in _php_mb_compile_regex()
1013 retval = NULL; in _php_mb_compile_regex()
1024 (const OnigUChar*)str + str_len, NULL, ONIG_OPTION_NONE) >= 0; in _php_mb_match_regex()
1043 PCRE_CASELESS, &err_str, &err_offset, NULL))) { in _php_mb_compile_regex()
1044 php_error_docref(NULL, E_WARNING, "%s (offset=%d): %s", pattern, err_offset, err_str); in _php_mb_compile_regex()
1053 return pcre_exec((pcre *)opaque, NULL, str, (int)str_len, 0, in _php_mb_match_regex()
1054 0, NULL, 0) >= 0; in _php_mb_match_regex()
1230 MBSTRG(detect_order_list) = NULL; in PHP_INI_MH()
1263 MBSTRG(http_input_list) = NULL; in PHP_INI_MH()
1291 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
1376 char *endptr = NULL; in PHP_INI_MH()
1378 if (new_value != NULL) { in PHP_INI_MH()
1413 if (new_value == NULL) { in PHP_INI_MH()
1435 void *re = NULL; in PHP_INI_MH()
1440 tmp = php_trim(new_value, NULL, 0, 3); in PHP_INI_MH()
1464 PHP_INI_ENTRY("mbstring.detect_order", NULL, PHP_INI_ALL, OnUpdate_mbstring_detect_order)
1465 PHP_INI_ENTRY("mbstring.http_input", NULL, PHP_INI_ALL, OnUpdate_mbstring_http_input)
1466 PHP_INI_ENTRY("mbstring.http_output", NULL, PHP_INI_ALL, OnUpdate_mbstring_http_output)
1467 …STD_PHP_INI_ENTRY("mbstring.internal_encoding", NULL, PHP_INI_ALL, OnUpdate_mbstring_internal_enco…
1468 …PHP_INI_ENTRY("mbstring.substitute_character", NULL, PHP_INI_ALL, OnUpdate_mbstring_substitute_cha…
1496 mbstring_globals->internal_encoding = NULL; in PHP_INI_END()
1500 mbstring_globals->http_input_identify = NULL; in PHP_INI_END()
1501 mbstring_globals->http_input_identify_get = NULL; in PHP_INI_END()
1502 mbstring_globals->http_input_identify_post = NULL; in PHP_INI_END()
1503 mbstring_globals->http_input_identify_cookie = NULL; in PHP_INI_END()
1504 mbstring_globals->http_input_identify_string = NULL; in PHP_INI_END()
1505 mbstring_globals->http_input_list = NULL; in PHP_INI_END()
1507 mbstring_globals->detect_order_list = NULL; in PHP_INI_END()
1509 mbstring_globals->current_detect_order_list = NULL; in PHP_INI_END()
1521 mbstring_globals->outconv = NULL; in PHP_INI_END()
1522 mbstring_globals->http_output_conv_mimetypes = NULL; in PHP_INI_END()
1632 …((orig = zend_hash_str_find_ptr(EG(function_table), p->orig_func, strlen(p->orig_func))) == NULL) { in PHP_RINIT_FUNCTION()
1640 …nction_table), p->orig_func, strlen(p->orig_func), func, sizeof(zend_internal_function)) == NULL) { in PHP_RINIT_FUNCTION()
1666 if (MBSTRG(current_detect_order_list) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
1668 MBSTRG(current_detect_order_list) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1671 if (MBSTRG(outconv) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
1674 MBSTRG(outconv) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1678 MBSTRG(http_input_identify) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1679 MBSTRG(http_input_identify_post) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1680 MBSTRG(http_input_identify_get) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1681 MBSTRG(http_input_identify_cookie) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1682 MBSTRG(http_input_identify_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1745 zend_string *name = NULL; in PHP_FUNCTION()
1750 if (name == NULL) { in PHP_FUNCTION()
1755 php_error_docref(NULL, E_WARNING, "Unknown language \"%s\"", ZSTR_VAL(name)); in PHP_FUNCTION()
1769 const char *name = NULL; in PHP_FUNCTION()
1776 if (name == NULL) { in PHP_FUNCTION()
1777 name = MBSTRG(current_internal_encoding) ? MBSTRG(current_internal_encoding)->name: NULL; in PHP_FUNCTION()
1778 if (name != NULL) { in PHP_FUNCTION()
1786 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", name); in PHP_FUNCTION()
1800 char *typ = NULL; in PHP_FUNCTION()
1804 const mbfl_encoding *result = NULL; in PHP_FUNCTION()
1810 if (typ == NULL) { in PHP_FUNCTION()
1850 list = NULL; in PHP_FUNCTION()
1892 const char *name = NULL; in PHP_FUNCTION()
1900 if (name == NULL) { in PHP_FUNCTION()
1901 name = MBSTRG(current_http_output_encoding) ? MBSTRG(current_http_output_encoding)->name: NULL; in PHP_FUNCTION()
1902 if (name != NULL) { in PHP_FUNCTION()
1910 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", name); in PHP_FUNCTION()
1924 zval *arg1 = NULL; in PHP_FUNCTION()
1940 const mbfl_encoding **list = NULL; in PHP_FUNCTION()
1962 if (list == NULL) { in PHP_FUNCTION()
1980 zval *arg1 = NULL; in PHP_FUNCTION()
2014 php_error_docref(NULL, E_WARNING, "Unknown character."); in PHP_FUNCTION()
2025 php_error_docref(NULL, E_WARNING, "Unknown character."); in PHP_FUNCTION()
2039 char *name = NULL; in PHP_FUNCTION()
2047 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", name); in PHP_FUNCTION()
2051 if (preferred_name == NULL || *preferred_name == '\0') { in PHP_FUNCTION()
2052 php_error_docref(NULL, E_WARNING, "No MIME preferred name corresponding to \"%s\"", name); in PHP_FUNCTION()
2069 zval *track_vars_array = NULL; in PHP_FUNCTION()
2070 char *encstr = NULL; in PHP_FUNCTION()
2075 track_vars_array = NULL; in PHP_FUNCTION()
2080 if (track_vars_array != NULL) { in PHP_FUNCTION()
2097 if (track_vars_array != NULL) { in PHP_FUNCTION()
2111 if (encstr != NULL) efree(encstr); in PHP_FUNCTION()
2128 char *s, *mimetype = NULL; in PHP_FUNCTION()
2142 MBSTRG(outconv) = NULL; in PHP_FUNCTION()
2154 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){ in PHP_FUNCTION()
2182 if (MBSTRG(outconv) == NULL) { in PHP_FUNCTION()
2214 MBSTRG(outconv) = NULL; in PHP_FUNCTION()
2225 char *enc_name = NULL; in PHP_FUNCTION()
2235 php_error_docref(NULL, E_WARNING, "String overflows the max allowed length of %u", UINT_MAX); in PHP_FUNCTION()
2242 if (enc_name == NULL) { in PHP_FUNCTION()
2247 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2268 char *enc_name = NULL; in PHP_FUNCTION()
2283 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2286 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2293 if (enc_name != NULL) { in PHP_FUNCTION()
2296 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2302 php_error_docref(NULL, E_WARNING, "Offset not contained in string"); in PHP_FUNCTION()
2306 php_error_docref(NULL, E_WARNING, "Empty delimiter"); in PHP_FUNCTION()
2318 php_error_docref(NULL, E_WARNING, "Needle has not positive length"); in PHP_FUNCTION()
2321 php_error_docref(NULL, E_WARNING, "Unknown encoding or conversion error"); in PHP_FUNCTION()
2324 php_error_docref(NULL, E_NOTICE, "Argument is empty"); in PHP_FUNCTION()
2327 php_error_docref(NULL, E_WARNING, "Unknown error in mb_strpos"); in PHP_FUNCTION()
2341 char *enc_name = NULL; in PHP_FUNCTION()
2343 zval *zoffset = NULL; in PHP_FUNCTION()
2345 char *enc_name2 = NULL; in PHP_FUNCTION()
2360 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2363 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2376 if (enc_name2 != NULL) { in PHP_FUNCTION()
2411 if (enc_name != NULL) { in PHP_FUNCTION()
2414 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2430 php_error_docref(NULL, E_WARNING, "Offset is greater than the length of haystack string"); in PHP_FUNCTION()
2459 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2462 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2470 php_error_docref(NULL, E_WARNING, "Empty delimiter"); in PHP_FUNCTION()
2498 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2501 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2523 mbfl_string haystack, needle, result, *ret = NULL; in PHP_FUNCTION()
2524 char *enc_name = NULL; in PHP_FUNCTION()
2540 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2543 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2550 if (enc_name != NULL) { in PHP_FUNCTION()
2553 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2559 php_error_docref(NULL, E_WARNING, "Empty delimiter"); in PHP_FUNCTION()
2567 if (ret != NULL) { in PHP_FUNCTION()
2577 if (ret != NULL) { in PHP_FUNCTION()
2596 mbfl_string haystack, needle, result, *ret = NULL; in PHP_FUNCTION()
2597 char *enc_name = NULL; in PHP_FUNCTION()
2613 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2616 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2623 if (enc_name != NULL) { in PHP_FUNCTION()
2626 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2642 if (ret != NULL) { in PHP_FUNCTION()
2652 if (ret != NULL) { in PHP_FUNCTION()
2673 mbfl_string haystack, needle, result, *ret = NULL; in PHP_FUNCTION()
2688 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2691 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2699 php_error_docref(NULL, E_WARNING, "Empty delimiter"); in PHP_FUNCTION()
2705 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in PHP_FUNCTION()
2719 if (ret != NULL) { in PHP_FUNCTION()
2729 if (ret != NULL) { in PHP_FUNCTION()
2747 mbfl_string haystack, needle, result, *ret = NULL; in PHP_FUNCTION()
2762 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2765 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2774 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in PHP_FUNCTION()
2788 if (ret != NULL) { in PHP_FUNCTION()
2798 if (ret != NULL) { in PHP_FUNCTION()
2815 char *enc_name = NULL; in PHP_FUNCTION()
2830 …php_error_docref(NULL, E_WARNING, "Haystack length overflows the max allowed length of %u", UINT_M… in PHP_FUNCTION()
2833 …php_error_docref(NULL, E_WARNING, "Needle length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2840 if (enc_name != NULL) { in PHP_FUNCTION()
2843 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
2849 php_error_docref(NULL, E_WARNING, "Empty substring"); in PHP_FUNCTION()
2866 char *str, *encoding = NULL; in PHP_FUNCTION()
2884 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", encoding); in PHP_FUNCTION()
2935 if (NULL == ret) { in PHP_FUNCTION()
2949 char *encoding = NULL; in PHP_FUNCTION()
2964 …php_error_docref(NULL, E_WARNING, "String length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
2973 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", encoding); in PHP_FUNCTION()
3007 if (ret == NULL) { in PHP_FUNCTION()
3023 char *enc_name = NULL; in PHP_FUNCTION()
3036 …php_error_docref(NULL, E_WARNING, "String length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
3042 if (enc_name != NULL) { in PHP_FUNCTION()
3045 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", enc_name); in PHP_FUNCTION()
3063 char *str, *trimmarker = NULL, *encoding = NULL; in PHP_FUNCTION()
3078 marker.val = NULL; in PHP_FUNCTION()
3084 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", encoding); in PHP_FUNCTION()
3093 php_error_docref(NULL, E_WARNING, "Start position is out of range"); in PHP_FUNCTION()
3098 php_error_docref(NULL, E_WARNING, "Width is negative value"); in PHP_FUNCTION()
3109 if (ret == NULL) { in PHP_FUNCTION()
3126 char *output=NULL; in php_mb_convert_encoding()
3132 return NULL; in php_mb_convert_encoding()
3138 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", _to_encoding); in php_mb_convert_encoding()
3139 return NULL; in php_mb_convert_encoding()
3156 list = NULL; in php_mb_convert_encoding()
3168 php_error_docref(NULL, E_WARNING, "Unable to detect character encoding"); in php_mb_convert_encoding()
3174 php_error_docref(NULL, E_WARNING, "Illegal character encoding specified"); in php_mb_convert_encoding()
3176 if (list != NULL) { in php_mb_convert_encoding()
3183 if (convd == NULL) { in php_mb_convert_encoding()
3184 php_error_docref(NULL, E_WARNING, "Unable to create character encoding converter"); in php_mb_convert_encoding()
3185 return NULL; in php_mb_convert_encoding()
3211 zval *arg_old = NULL; in PHP_FUNCTION()
3213 char *_from_encodings = NULL, *ret, *s_free = NULL; in PHP_FUNCTION()
3226 _from_encodings = NULL; in PHP_FUNCTION()
3243 if (_from_encodings != NULL && !strlen(_from_encodings)) { in PHP_FUNCTION()
3245 _from_encodings = NULL; in PHP_FUNCTION()
3258 if (ret != NULL) { in PHP_FUNCTION()
3360 zval *encoding_list = NULL; in PHP_FUNCTION()
3372 list = NULL; in PHP_FUNCTION()
3380 list = NULL; in PHP_FUNCTION()
3390 list = NULL; in PHP_FUNCTION()
3397 php_error_docref(NULL, E_WARNING, "Illegal argument"); in PHP_FUNCTION()
3405 if (size > 0 && list != NULL) { in PHP_FUNCTION()
3418 if (list != NULL) { in PHP_FUNCTION()
3422 if (ret == NULL) { in PHP_FUNCTION()
3441 while ((encoding = encodings[i++]) != NULL) { in PHP_FUNCTION()
3452 char *name = NULL; in PHP_FUNCTION()
3461 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", name); in PHP_FUNCTION()
3466 if (encoding->aliases != NULL) { in PHP_FUNCTION()
3481 char *charset_name = NULL; in PHP_FUNCTION()
3483 char *trans_enc_name = NULL; in PHP_FUNCTION()
3498 …php_error_docref(NULL, E_WARNING, "String length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
3507 if (charset_name != NULL) { in PHP_FUNCTION()
3510 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", charset_name); in PHP_FUNCTION()
3515 if (lang != NULL) { in PHP_FUNCTION()
3521 if (trans_enc_name != NULL) { in PHP_FUNCTION()
3531 if (ret != NULL) { in PHP_FUNCTION()
3557 …php_error_docref(NULL, E_WARNING, "String length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
3565 if (ret != NULL) { in PHP_FUNCTION()
3581 char *optstr = NULL; in PHP_FUNCTION()
3583 char *encname = NULL; in PHP_FUNCTION()
3595 …php_error_docref(NULL, E_WARNING, "String length overflows the max allowed length of %u", UINT_MAX… in PHP_FUNCTION()
3602 if (optstr != NULL) { in PHP_FUNCTION()
3668 if (encname != NULL) { in PHP_FUNCTION()
3671 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", encname); in PHP_FUNCTION()
3677 if (ret != NULL) { in PHP_FUNCTION()
3714 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", to_enc); in PHP_FUNCTION()
3726 elist = NULL; in PHP_FUNCTION()
3744 from_encoding = NULL; in PHP_FUNCTION()
3749 if (identd != NULL) { in PHP_FUNCTION()
3758 if (target_hash != NULL) { in PHP_FUNCTION()
3768 if (target_hash != NULL) { in PHP_FUNCTION()
3769 while ((hash_entry = zend_hash_get_current_data(target_hash)) != NULL) { in PHP_FUNCTION()
3792 if (target_hash != NULL) { in PHP_FUNCTION()
3826 if (elist != NULL) { in PHP_FUNCTION()
3829 php_error_docref(NULL, E_WARNING, "Cannot handle recursive references"); in PHP_FUNCTION()
3835 php_error_docref(NULL, E_WARNING, "Unable to detect encoding"); in PHP_FUNCTION()
3839 if (elist != NULL) { in PHP_FUNCTION()
3843 convd = NULL; in PHP_FUNCTION()
3846 if (convd == NULL) { in PHP_FUNCTION()
3847 php_error_docref(NULL, E_WARNING, "Unable to create converter"); in PHP_FUNCTION()
3855 if (convd != NULL) { in PHP_FUNCTION()
3867 if (target_hash != NULL) { in PHP_FUNCTION()
3877 if (target_hash != NULL) { in PHP_FUNCTION()
3878 while ((hash_entry_ptr = zend_hash_get_current_data(target_hash)) != NULL) { in PHP_FUNCTION()
3903 if (target_hash != NULL) { in PHP_FUNCTION()
3911 if (ret != NULL) { in PHP_FUNCTION()
3924 if (ret != NULL) { in PHP_FUNCTION()
3946 php_error_docref(NULL, E_WARNING, "Cannot handle recursive references"); in PHP_FUNCTION()
3965 char *str, *encoding = NULL; in php_mb_numericentity_exec()
3988 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", encoding); in php_mb_numericentity_exec()
4000 convmap = NULL; in php_mb_numericentity_exec()
4015 if (convmap == NULL) { in php_mb_numericentity_exec()
4021 if (ret != NULL) { in php_mb_numericentity_exec()
4075 char *token = NULL; in _php_mbstr_parse_mail_headers()
4081 fld_name = fld_val = NULL; in _php_mbstr_parse_mail_headers()
4172 if (fld_name != NULL && fld_val != NULL) { in _php_mbstr_parse_mail_headers()
4184 fld_name = fld_val = NULL; in _php_mbstr_parse_mail_headers()
4220 if (fld_name != NULL && fld_val != NULL) { in _php_mbstr_parse_mail_headers()
4238 char *to = NULL; in PHP_FUNCTION()
4240 char *message = NULL; in PHP_FUNCTION()
4242 char *headers = NULL; in PHP_FUNCTION()
4244 char *subject = NULL; in PHP_FUNCTION()
4245 zend_string *extra_cmd = NULL; in PHP_FUNCTION()
4248 char *to_r = NULL; in PHP_FUNCTION()
4255 char *message_buf = NULL, *subject_buf = NULL, *p; in PHP_FUNCTION()
4280 if (lang != NULL) { in PHP_FUNCTION()
4301 zend_hash_init(&ht_headers, 0, NULL, ZVAL_PTR_DTOR, 0); in PHP_FUNCTION()
4303 if (headers != NULL) { in PHP_FUNCTION()
4310 char *charset = NULL; in PHP_FUNCTION()
4315 if (p != NULL) { in PHP_FUNCTION()
4322 if ((param_name = php_strtok_r(p, "= ", &tmp)) != NULL) { in PHP_FUNCTION()
4326 charset = php_strtok_r(NULL, "= \"", &tmp); in PHP_FUNCTION()
4327 if (charset != NULL) { in PHP_FUNCTION()
4332 …php_error_docref(NULL, E_WARNING, "Unsupported charset \"%s\" - will be regarded as ascii", charse… in PHP_FUNCTION()
4356 …php_error_docref(NULL, E_WARNING, "Unsupported transfer encoding \"%s\" - will be regarded as 8bit… in PHP_FUNCTION()
4364 if (to != NULL) { in PHP_FUNCTION()
4388 php_error_docref(NULL, E_WARNING, "Missing To: field"); in PHP_FUNCTION()
4393 if (subject != NULL) { in PHP_FUNCTION()
4403 if (pstr != NULL) { in PHP_FUNCTION()
4407 php_error_docref(NULL, E_WARNING, "Missing Subject: field"); in PHP_FUNCTION()
4412 if (message != NULL) { in PHP_FUNCTION()
4423 pstr = NULL; in PHP_FUNCTION()
4427 if (mbfl_convert_encoding(&orig_str, &tmpstr, tran_cs) != NULL) { in PHP_FUNCTION()
4433 if (pstr != NULL) { in PHP_FUNCTION()
4438 php_error_docref(NULL, E_WARNING, "Empty message body"); in PHP_FUNCTION()
4439 message = NULL; in PHP_FUNCTION()
4447 if (headers != NULL) { in PHP_FUNCTION()
4465 if (p != NULL) { in PHP_FUNCTION()
4474 if (p == NULL) { in PHP_FUNCTION()
4491 if (!err && php_mail(to_r, subject, message, headers, extra_cmd ? ZSTR_VAL(extra_cmd) : NULL)) { in PHP_FUNCTION()
4526 char *typ = NULL; in PHP_FUNCTION()
4550 …ring.http_output_conv_mimetypes", sizeof("mbstring.http_output_conv_mimetypes") - 1, 0)) != NULL) { in PHP_FUNCTION()
4567 if (lang != NULL) { in PHP_FUNCTION()
4568 if ((name = (char *)mbfl_no_encoding2name(lang->mail_charset)) != NULL) { in PHP_FUNCTION()
4571 if ((name = (char *)mbfl_no_encoding2name(lang->mail_header_encoding)) != NULL) { in PHP_FUNCTION()
4574 if ((name = (char *)mbfl_no_encoding2name(lang->mail_body_encoding)) != NULL) { in PHP_FUNCTION()
4584 if ((name = (char *)mbfl_no_language2name(MBSTRG(language))) != NULL) { in PHP_FUNCTION()
4625 …ring.http_output_conv_mimetypes", sizeof("mbstring.http_output_conv_mimetypes") - 1, 0)) != NULL) { in PHP_FUNCTION()
4644 if (lang != NULL && (name = (char *)mbfl_no_encoding2name(lang->mail_charset)) != NULL) { in PHP_FUNCTION()
4648 if (lang != NULL && (name = (char *)mbfl_no_encoding2name(lang->mail_header_encoding)) != NULL) { in PHP_FUNCTION()
4652 if (lang != NULL && (name = (char *)mbfl_no_encoding2name(lang->mail_body_encoding)) != NULL) { in PHP_FUNCTION()
4664 if ((name = (char *)mbfl_no_language2name(MBSTRG(language))) != NULL) { in PHP_FUNCTION()
4704 char *var = NULL; in PHP_FUNCTION()
4706 char *enc = NULL; in PHP_FUNCTION()
4710 mbfl_string string, result, *ret = NULL; in PHP_FUNCTION()
4717 if (var == NULL) { in PHP_FUNCTION()
4721 if (enc != NULL) { in PHP_FUNCTION()
4724 php_error_docref(NULL, E_WARNING, "Invalid encoding \"%s\"", enc); in PHP_FUNCTION()
4730 if (convd == NULL) { in PHP_FUNCTION()
4731 php_error_docref(NULL, E_WARNING, "Unable to create converter"); in PHP_FUNCTION()
4748 if (ret != NULL) { in PHP_FUNCTION()
4795 if (enc != NULL) { in php_mb_mbchar_bytes_ex()
4797 if (enc->mblen_table != NULL) { in php_mb_mbchar_bytes_ex()
4798 if (s != NULL) return enc->mblen_table[*(unsigned char *)s]; in php_mb_mbchar_bytes_ex()
4821 char *last=NULL; in php_mb_safe_strrchr_ex()
4833 return NULL; /* something is going wrong! */ in php_mb_safe_strrchr_ex()
4848 return NULL; in php_mb_safe_strrchr_ex()
4906 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in php_mb_stripos()
4916 php_error_docref(NULL, E_WARNING, "Offset is greater than the length of haystack string"); in php_mb_stripos()
4921 php_error_docref(NULL, E_WARNING, "Offset not contained in string"); in php_mb_stripos()