Lines Matching refs:NULL

154 	NULL,
155 NULL,
160 NULL,
161 NULL,
179 iconv_globals->input_encoding = NULL; in ZEND_GET_MODULE()
180 iconv_globals->output_encoding = NULL; in ZEND_GET_MODULE()
181 iconv_globals->internal_encoding = NULL; in ZEND_GET_MODULE()
402 char *s, *content_type, *mimetype = NULL; in php_iconv_output_handler()
412 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){ in php_iconv_output_handler()
422 if (mimetype != NULL && !(output_context->op & PHP_OUTPUT_HANDLER_CLEAN)) { in php_iconv_output_handler()
433 php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL); in php_iconv_output_handler()
447 output_context->out.data = NULL; in php_iconv_output_handler()
467 if (in_p != NULL) { in _php_iconv_appendl()
508 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)0) { in _php_iconv_appendl()
608 result = iconv(cd, NULL, NULL, &out_p, &out_left); in php_iconv_string()
635 *out = NULL; in php_iconv_string()
685 result = iconv(cd, NULL, NULL, (char **) &out_p, &out_left); in php_iconv_string()
890 cd2 = (iconv_t)NULL; in _php_iconv_substr()
907 if (cd2 == (iconv_t)NULL) { in _php_iconv_substr()
911 cd2 = (iconv_t)NULL; in _php_iconv_substr()
948 if (cd2 != (iconv_t)NULL) { in _php_iconv_substr()
949 _php_iconv_appendl(pretval, NULL, 0, cd2); in _php_iconv_substr()
954 if (cd1 != (iconv_t)NULL) { in _php_iconv_substr()
958 if (cd2 != (iconv_t)NULL) { in _php_iconv_substr()
997 if (ndl_buf != NULL) { in _php_iconv_strpos()
1006 if (ndl_buf != NULL) { in _php_iconv_strpos()
1159 char *buf = NULL; in _php_iconv_mime_encode()
1164 zend_string *encoded = NULL; in _php_iconv_mime_encode()
1310 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1326 if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { in _php_iconv_mime_encode()
1352 encoded = NULL; in _php_iconv_mime_encode()
1411 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1454 if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { in _php_iconv_mime_encode()
1472 if (encoded != NULL) { in _php_iconv_mime_encode()
1475 if (buf != NULL) { in _php_iconv_mime_encode()
1492 const char *csname = NULL; in _php_iconv_mime_decode()
1494 const char *encoded_text = NULL; in _php_iconv_mime_decode()
1496 const char *encoded_word = NULL; in _php_iconv_mime_decode()
1497 const char *spaces = NULL; in _php_iconv_mime_decode()
1501 if (next_pos != NULL) { in _php_iconv_mime_decode()
1502 *next_pos = NULL; in _php_iconv_mime_decode()
1547 encoded_word = NULL; in _php_iconv_mime_decode()
1561 encoded_word = NULL; in _php_iconv_mime_decode()
1586 if (csname == NULL) { in _php_iconv_mime_decode()
1599 encoded_word = NULL; in _php_iconv_mime_decode()
1697 encoded_word = NULL; in _php_iconv_mime_decode()
1719 encoded_word = NULL; in _php_iconv_mime_decode()
1760 if (encoded_word == NULL) { in _php_iconv_mime_decode()
1763 spaces = NULL; in _php_iconv_mime_decode()
1775 encoded_word = NULL; in _php_iconv_mime_decode()
1830 decoded_text = NULL; in _php_iconv_mime_decode()
1834 if (decoded_text == NULL) { in _php_iconv_mime_decode()
1841 encoded_word = NULL; in _php_iconv_mime_decode()
1861 encoded_word = NULL; in _php_iconv_mime_decode()
1919 if (spaces != NULL && encoded_word == NULL) { in _php_iconv_mime_decode()
1921 spaces = NULL; in _php_iconv_mime_decode()
1931 if (spaces != NULL) { in _php_iconv_mime_decode()
1933 spaces = NULL; in _php_iconv_mime_decode()
1936 encoded_word = NULL; in _php_iconv_mime_decode()
1991 if (next_pos != NULL) { in _php_iconv_mime_decode()
2015 php_error_docref(NULL, E_NOTICE, "Cannot open converter"); in _php_iconv_show_error()
2019 php_error_docref(NULL, E_NOTICE, "Wrong charset, conversion from `%s' to `%s' is not allowed", in _php_iconv_show_error()
2024 php_error_docref(NULL, E_NOTICE, "Detected an incomplete multibyte character in input string"); in _php_iconv_show_error()
2028 php_error_docref(NULL, E_NOTICE, "Detected an illegal character in input string"); in _php_iconv_show_error()
2033 php_error_docref(NULL, E_WARNING, "Buffer length exceeded"); in _php_iconv_show_error()
2037 php_error_docref(NULL, E_WARNING, "Malformed string"); in _php_iconv_show_error()
2042 php_error_docref(NULL, E_NOTICE, "Unknown error (%d)", errno); in _php_iconv_show_error()
2066 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2100 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2111 if (err == PHP_ICONV_ERR_SUCCESS && ZSTR_LEN(str) >= 0 && retval.s != NULL) { in PHP_FUNCTION()
2140 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2145 php_error_docref(NULL, E_WARNING, "Offset not contained in string."); in PHP_FUNCTION()
2189 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2209 zend_string *field_name = NULL; in PHP_FUNCTION()
2210 zend_string *field_value = NULL; in PHP_FUNCTION()
2211 zend_string *tmp_str = NULL; in PHP_FUNCTION()
2212 zval *pref = NULL; in PHP_FUNCTION()
2229 if (pref != NULL) { in PHP_FUNCTION()
2232 if ((pzval = zend_hash_str_find(Z_ARRVAL_P(pref), "scheme", sizeof("scheme") - 1)) != NULL) { in PHP_FUNCTION()
2246 …_find(Z_ARRVAL_P(pref), "input-charset", sizeof("input-charset") - 1)) != NULL && Z_TYPE_P(pzval) … in PHP_FUNCTION()
2248 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2258 …ind(Z_ARRVAL_P(pref), "output-charset", sizeof("output-charset") - 1)) != NULL && Z_TYPE_P(pzval) … in PHP_FUNCTION()
2260 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2269 …(pzval = zend_hash_str_find(Z_ARRVAL_P(pref), "line-length", sizeof("line-length") - 1)) != NULL) { in PHP_FUNCTION()
2273 …end_hash_str_find(Z_ARRVAL_P(pref), "line-break-chars", sizeof("line-break-chars") - 1)) != NULL) { in PHP_FUNCTION()
2289 if (retval.s != NULL) { in PHP_FUNCTION()
2325 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2329 …err = _php_iconv_mime_decode(&retval, ZSTR_VAL(encoded_str), ZSTR_LEN(encoded_str), charset, NULL,… in PHP_FUNCTION()
2333 if (retval.s != NULL) { in PHP_FUNCTION()
2365 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2375 char *header_name = NULL; in PHP_FUNCTION()
2377 char *header_value = NULL; in PHP_FUNCTION()
2387 if (decoded_header.s == NULL) { in PHP_FUNCTION()
2411 if (header_name != NULL) { in PHP_FUNCTION()
2414 … if ((elem = zend_hash_str_find(Z_ARRVAL_P(return_value), header_name, header_name_len)) != NULL) { in PHP_FUNCTION()
2458 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_NAMED_FUNCTION()
2464 if (err == PHP_ICONV_ERR_SUCCESS && out_buffer != NULL) { in PHP_NAMED_FUNCTION()
2467 if (out_buffer != NULL) { in PHP_NAMED_FUNCTION()
2488 …php_error_docref(NULL, E_WARNING, "Charset parameter exceeds the maximum allowed length of %d char… in PHP_FUNCTION()
2568 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2572 if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2603 char *out_buf = NULL; in php_iconv_stream_filter_append_bucket()
2609 if (ps == NULL) { in php_iconv_stream_filter_append_bucket()
2618 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2633 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2637 if (ps != NULL) { in php_iconv_stream_filter_append_bucket()
2640 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", sel… in php_iconv_stream_filter_append_bucket()
2652 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2665 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2672 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2677 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2678 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2693 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2698 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2710 if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt): in php_iconv_stream_filter_append_bucket()
2715 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequenc… in php_iconv_stream_filter_append_bucket()
2719 if (ps != NULL) { in php_iconv_stream_filter_append_bucket()
2721 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", sel… in php_iconv_stream_filter_append_bucket()
2729 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unexpected octet values",… in php_iconv_stream_filter_append_bucket()
2742 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2749 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2754 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2755 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2770 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2775 …php_error_docref(NULL, E_WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->fro… in php_iconv_stream_filter_append_bucket()
2780 if (ps == NULL) { in php_iconv_stream_filter_append_bucket()
2788 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2812 php_stream_bucket *bucket = NULL; in php_iconv_stream_filter_do_filter()
2816 while (buckets_in->head != NULL) { in php_iconv_stream_filter_do_filter()
2832 buckets_out, NULL, 0, &consumed, in php_iconv_stream_filter_do_filter()
2838 if (bytes_consumed != NULL) { in php_iconv_stream_filter_do_filter()
2845 if (bucket != NULL) { in php_iconv_stream_filter_do_filter()
2869 php_stream_filter *retval = NULL; in php_iconv_stream_filter_factory_create()
2871 char *from_charset = NULL, *to_charset = NULL; in php_iconv_stream_filter_factory_create()
2874 if ((from_charset = strchr(name, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2875 return NULL; in php_iconv_stream_filter_factory_create()
2878 if ((from_charset = strchr(from_charset, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2879 return NULL; in php_iconv_stream_filter_factory_create()
2882 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
2883 return NULL; in php_iconv_stream_filter_factory_create()
2890 return NULL; in php_iconv_stream_filter_factory_create()
2893 if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) { in php_iconv_stream_filter_factory_create()
2894 return NULL; in php_iconv_stream_filter_factory_create()
2899 return NULL; in php_iconv_stream_filter_factory_create()
2902 if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) { in php_iconv_stream_filter_factory_create()