Lines Matching refs:NULL

99 	NULL,
100 NULL,
105 NULL,
106 NULL,
124 iconv_globals->input_encoding = NULL; in ZEND_GET_MODULE()
125 iconv_globals->output_encoding = NULL; in ZEND_GET_MODULE()
126 iconv_globals->internal_encoding = NULL; in ZEND_GET_MODULE()
302 char *s, *content_type, *mimetype = NULL; in php_iconv_output_handler()
312 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){ in php_iconv_output_handler()
322 …if (mimetype != NULL && (!(output_context->op & PHP_OUTPUT_HANDLER_CLEAN) || ((output_context->op … in php_iconv_output_handler()
333 php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL); in php_iconv_output_handler()
347 output_context->out.data = NULL; in php_iconv_output_handler()
364 if (in_p != NULL) { in _php_iconv_appendl()
396 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)0) { in _php_iconv_appendl()
448 *out = NULL; in php_iconv_string()
498 result = iconv(cd, NULL, NULL, (char **) &out_p, &out_left); in php_iconv_string()
587 …iconv(cd, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) &out_p, &out… in _php_iconv_strlen()
684 cd2 = (iconv_t)NULL; in _php_iconv_substr()
694 …iconv(cd1, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) &out_p, &ou… in _php_iconv_substr()
700 if (cd2 == (iconv_t)NULL) { in _php_iconv_substr()
704 cd2 = (iconv_t)NULL; in _php_iconv_substr()
735 if (cd2 != (iconv_t)NULL) { in _php_iconv_substr()
736 _php_iconv_appendl(pretval, NULL, 0, cd2); in _php_iconv_substr()
741 if (cd1 != (iconv_t)NULL) { in _php_iconv_substr()
745 if (cd2 != (iconv_t)NULL) { in _php_iconv_substr()
786 if (ndl_buf != NULL) { in _php_iconv_strpos()
795 if (ndl_buf != NULL) { in _php_iconv_strpos()
816 …iconv_ret = iconv(cd, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) … in _php_iconv_strpos()
911 char *buf = NULL; in _php_iconv_mime_encode()
916 zend_string *encoded = NULL; in _php_iconv_mime_encode()
1048 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1057 if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { in _php_iconv_mime_encode()
1083 encoded = NULL; in _php_iconv_mime_encode()
1129 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1165 if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { in _php_iconv_mime_encode()
1183 if (encoded != NULL) { in _php_iconv_mime_encode()
1186 if (buf != NULL) { in _php_iconv_mime_encode()
1203 const char *csname = NULL; in _php_iconv_mime_decode()
1205 const char *encoded_text = NULL; in _php_iconv_mime_decode()
1207 const char *encoded_word = NULL; in _php_iconv_mime_decode()
1208 const char *spaces = NULL; in _php_iconv_mime_decode()
1212 if (next_pos != NULL) { in _php_iconv_mime_decode()
1213 *next_pos = NULL; in _php_iconv_mime_decode()
1261 encoded_word = NULL; in _php_iconv_mime_decode()
1278 encoded_word = NULL; in _php_iconv_mime_decode()
1308 csname = NULL; in _php_iconv_mime_decode()
1320 if (csname == NULL) { in _php_iconv_mime_decode()
1333 encoded_word = NULL; in _php_iconv_mime_decode()
1429 encoded_word = NULL; in _php_iconv_mime_decode()
1451 encoded_word = NULL; in _php_iconv_mime_decode()
1492 if (encoded_word == NULL) { in _php_iconv_mime_decode()
1495 spaces = NULL; in _php_iconv_mime_decode()
1507 encoded_word = NULL; in _php_iconv_mime_decode()
1564 decoded_text = NULL; in _php_iconv_mime_decode()
1568 if (decoded_text == NULL) { in _php_iconv_mime_decode()
1575 encoded_word = NULL; in _php_iconv_mime_decode()
1590 err = _php_iconv_appendl(pretval, NULL, 0, cd); in _php_iconv_mime_decode()
1598 encoded_word = NULL; in _php_iconv_mime_decode()
1656 if (spaces != NULL && encoded_word == NULL) { in _php_iconv_mime_decode()
1658 spaces = NULL; in _php_iconv_mime_decode()
1668 if (spaces != NULL) { in _php_iconv_mime_decode()
1670 spaces = NULL; in _php_iconv_mime_decode()
1673 encoded_word = NULL; in _php_iconv_mime_decode()
1728 if (next_pos != NULL) { in _php_iconv_mime_decode()
1752 php_error_docref(NULL, E_WARNING, "Cannot open converter"); in _php_iconv_show_error()
1756 …php_error_docref(NULL, E_WARNING, "Wrong encoding, conversion from \"%s\" to \"%s\" is not allowed… in _php_iconv_show_error()
1761 php_error_docref(NULL, E_NOTICE, "Detected an incomplete multibyte character in input string"); in _php_iconv_show_error()
1765 php_error_docref(NULL, E_NOTICE, "Detected an illegal character in input string"); in _php_iconv_show_error()
1770 php_error_docref(NULL, E_WARNING, "Buffer length exceeded"); in _php_iconv_show_error()
1774 php_error_docref(NULL, E_WARNING, "Malformed string"); in _php_iconv_show_error()
1783 php_error_docref(NULL, E_NOTICE, "Unknown error (%d)", errno); in _php_iconv_show_error()
1792 const char *charset = NULL; in PHP_FUNCTION()
1805 if (charset == NULL) { in PHP_FUNCTION()
1808 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
1825 const char *charset = NULL; in PHP_FUNCTION()
1841 if (charset == NULL) { in PHP_FUNCTION()
1844 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
1855 if (err == PHP_ICONV_ERR_SUCCESS && retval.s != NULL) { in PHP_FUNCTION()
1866 const char *charset = NULL; in PHP_FUNCTION()
1882 if (charset == NULL) { in PHP_FUNCTION()
1885 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
1924 const char *charset = NULL; in PHP_FUNCTION()
1943 if (charset == NULL) { in PHP_FUNCTION()
1946 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
1966 zend_string *field_name = NULL; in PHP_FUNCTION()
1967 zend_string *field_value = NULL; in PHP_FUNCTION()
1968 zend_string *tmp_str = NULL; in PHP_FUNCTION()
1969 zval *pref = NULL; in PHP_FUNCTION()
1986 if (pref != NULL) { in PHP_FUNCTION()
1989 …if ((pzval = zend_hash_str_find_deref(Z_ARRVAL_P(pref), "scheme", sizeof("scheme") - 1)) != NULL) { in PHP_FUNCTION()
2003 …deref(Z_ARRVAL_P(pref), "input-charset", sizeof("input-charset") - 1)) != NULL && Z_TYPE_P(pzval) … in PHP_FUNCTION()
2005 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2015 …ref(Z_ARRVAL_P(pref), "output-charset", sizeof("output-charset") - 1)) != NULL && Z_TYPE_P(pzval) … in PHP_FUNCTION()
2017 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2026 … = zend_hash_str_find_deref(Z_ARRVAL_P(pref), "line-length", sizeof("line-length") - 1)) != NULL) { in PHP_FUNCTION()
2030 …sh_str_find_deref(Z_ARRVAL_P(pref), "line-break-chars", sizeof("line-break-chars") - 1)) != NULL) { in PHP_FUNCTION()
2065 const char *charset = NULL; in PHP_FUNCTION()
2079 if (charset == NULL) { in PHP_FUNCTION()
2082 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2086 …err = _php_iconv_mime_decode(&retval, ZSTR_VAL(encoded_str), ZSTR_LEN(encoded_str), charset, NULL,… in PHP_FUNCTION()
2102 const char *charset = NULL; in PHP_FUNCTION()
2116 if (charset == NULL) { in PHP_FUNCTION()
2119 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2129 char *header_name = NULL; in PHP_FUNCTION()
2131 char *header_value = NULL; in PHP_FUNCTION()
2141 if (decoded_header.s == NULL) { in PHP_FUNCTION()
2165 if (header_name != NULL) { in PHP_FUNCTION()
2168 … if ((elem = zend_hash_str_find(Z_ARRVAL_P(return_value), header_name, header_name_len)) != NULL) { in PHP_FUNCTION()
2212 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2218 if (err == PHP_ICONV_ERR_SUCCESS && out_buffer != NULL) { in PHP_FUNCTION()
2221 if (out_buffer != NULL) { in PHP_FUNCTION()
2242 …php_error_docref(NULL, E_WARNING, "Encoding parameter exceeds the maximum allowed length of %d cha… in PHP_FUNCTION()
2270 zend_string *type = NULL; in PHP_FUNCTION()
2352 char *out_buf = NULL; in php_iconv_stream_filter_append_bucket()
2358 if (ps == NULL) { in php_iconv_stream_filter_append_bucket()
2379 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2383 if (ps != NULL) { in php_iconv_stream_filter_append_bucket()
2386 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", sel… in php_iconv_stream_filter_append_bucket()
2398 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2411 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2430 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2441 if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt): in php_iconv_stream_filter_append_bucket()
2445 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2449 if (ps != NULL) { in php_iconv_stream_filter_append_bucket()
2451 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", sel… in php_iconv_stream_filter_append_bucket()
2459 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unexpected octet values",… in php_iconv_stream_filter_append_bucket()
2472 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2491 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2495 if (ps == NULL) { in php_iconv_stream_filter_append_bucket()
2503 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2527 php_stream_bucket *bucket = NULL; in php_iconv_stream_filter_do_filter()
2531 while (buckets_in->head != NULL) { in php_iconv_stream_filter_do_filter()
2547 buckets_out, NULL, 0, &consumed, in php_iconv_stream_filter_do_filter()
2553 if (bytes_consumed != NULL) { in php_iconv_stream_filter_do_filter()
2560 if (bucket != NULL) { in php_iconv_stream_filter_do_filter()
2584 php_stream_filter *retval = NULL; in php_iconv_stream_filter_factory_create()
2586 char *from_charset = NULL, *to_charset = NULL; in php_iconv_stream_filter_factory_create()
2589 if ((from_charset = strchr(name, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2590 return NULL; in php_iconv_stream_filter_factory_create()
2593 if ((from_charset = strchr(from_charset, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2594 return NULL; in php_iconv_stream_filter_factory_create()
2597 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
2598 return NULL; in php_iconv_stream_filter_factory_create()
2605 return NULL; in php_iconv_stream_filter_factory_create()
2612 return NULL; in php_iconv_stream_filter_factory_create()
2615 if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) { in php_iconv_stream_filter_factory_create()