Searched defs:NULL (Results 1 - 25 of 65) sorted by relevance

123

/PHP_TRUNK/ext/gd/
H A Dgdcache.h48 #ifndef NULL
49 #define NULL (void *)0 macro
/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_defs.h34 #ifndef NULL
36 #define NULL (0L) macro
38 #define NULL (void *)(0L) macro
H A Dmbfl_string.h52 #ifndef NULL
53 #define NULL 0 macro
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format.c37 UChar* formatted = NULL;
40 resultlengthneeded=udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, NULL, resultlengthneeded, NULL, &INTL_DATA_ERROR_CODE(dfo));
45 udat_format( DATE_FORMAT_OBJECT(dfo), timestamp, formatted, resultlengthneeded, NULL, &INTL_DATA_ERROR_CODE(dfo)); local
65 zval *ele_value = NULL;
73 if ((ele_value = zend_hash_str_find(hash_arr, key_name, strlen(key_name))) != NULL) {
155 HashTable *hash_arr = NULL;
156 zval *zarg = NULL;
163 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "datefmt_format: unable "
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_attr.c42 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
115 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
156 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
211 UChar *svalue = NULL;
221 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
262 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
269 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, "numfmt_get_symbol: invalid symbol value", 0 );
301 char* value = NULL;
311 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
318 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERRO
412 unum_applyPattern(FORMATTER_OBJECT(nfo), 0, svalue, slength, NULL, &INTL_DATA_ERROR_CODE(nfo)); local
[all...]
H A Dformatter_format.c46 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
79 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo));
84 formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo));
95 formatted_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo));
99 formatted_len = unum_formatInt64(FORMATTER_OBJECT(nfo), value, formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo));
110 formatted_len = unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo));
114 unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); local
123 php_error_docref(NULL, E_WARNING, "Unsupported format type %pd", type);
143 char* currency = NULL;
145 UChar* scurrency = NULL;
176 unum_formatDoubleCurrency(FORMATTER_OBJECT(nfo), number, scurrency, formatted, formatted_len, NULL, &INTL_DATA_ERROR_CODE(nfo)); local
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_attr.c41 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
64 char* value = NULL;
67 UChar* spattern = NULL;
74 intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
87 intl_error_set( NULL, U_INVALID_FORMAT_ERROR,
94 umsg_applyPattern(MSG_FORMAT_OBJECT(mfo), spattern, spattern_len, NULL, &INTL_DATA_ERROR_CODE(mfo)); local
109 mfo->mf_data.arg_types = NULL;
130 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h58 #ifndef NULL
59 #define NULL 0 macro
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result_meta.c38 meta->root = NULL;
42 meta->def = NULL;
72 meta->fields[i].root = NULL;
92 if (mysqlnd_ps_fetch_functions[meta->fields[i].type].func == NULL) {
95 php_error_docref(NULL, E_WARNING,
165 meta->fields = NULL;
171 meta->zend_hash_keys = NULL;
187 MYSQLND_RES_METADATA * new_meta = NULL;
271 new_meta = NULL;
273 DBG_RETURN(NULL);
382 DBG_RETURN(NULL); variable
[all...]
H A Dmysqlnd_result.c69 NULL fields are 0 length, 0 is not more than 0
71 Thus for NULL and zero-length we are quite efficient.
124 NULL fields are 0 length, 0 is not more than 0
126 Thus for NULL and zero-length we are quite efficient.
163 unbuf->last_row_data = NULL;
169 unbuf->last_row_buffer = NULL;
186 result->lengths = NULL;
192 result->row_packet = NULL;
197 result->result_set_memory_pool = NULL;
215 set->data = NULL; /* preven
1876 NULL, /* row_decoder */ variable
1905 DBG_RETURN(NULL); variable
[all...]
/PHP_TRUNK/main/
H A Dphp_ticks.c26 zend_llist_init(&PG(tick_functions), sizeof(void(*)(int)), NULL, 1); local
/PHP_TRUNK/ext/standard/
H A Duser_filters.c75 bucket = NULL;
84 if ((php_user_filter = zend_register_internal_class(&user_filter_class_entry)) == NULL) {
92 le_userfilters = zend_register_list_destructors_ex(NULL, NULL, PHP_STREAM_FILTER_RES_NAME, 0);
99 le_bucket_brigade = zend_register_list_destructors_ex(NULL, NULL, PHP_STREAM_BRIGADE_RES_NAME, module_number);
101 le_bucket = zend_register_list_destructors_ex(php_bucket_dtor, NULL, PHP_STREAM_BUCKET_RES_NAME, module_number);
123 BG(user_filter_map) = NULL;
135 if (obj == NULL) {
142 call_user_function_ex(NULL,
582 zend_hash_init(BG(user_filter_map), 8, NULL, (dtor_func_t) filter_item_dtor, 0); local
[all...]
H A Dassert.c78 ASSERTG(cb) = NULL;
89 PHP_INI_ENTRY("assert.callback", NULL, PHP_INI_ALL, OnChangeCallback)
97 assert_globals_p->cb = NULL;
105 ZEND_INIT_MODULE_GLOBALS(assert, php_assert_init_globals, NULL);
116 INIT_CLASS_ENTRY(ce, "AssertionException", NULL);
127 ASSERTG(cb) = NULL;
155 zval *description = NULL;
157 char *myeval = NULL;
183 php_error_docref(NULL, E_RECOVERABLE_ERROR, "Failure evaluating code: %s%s", PHP_EOL, myeval);
186 php_error_docref(NULL, E_RECOVERABLE_ERRO
229 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); local
235 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); local
[all...]
H A Dhttp.c34 zend_string *key = NULL;
39 zval *zdata = NULL, copyzval;
61 if (key->val[0] == '\0' && type != NULL) {
75 prop_name = NULL;
142 php_url_encode_hash_ex(HASH_OF(zdata), formstr, NULL, 0, newprefix, newprefix_len, "%5D", 3, (Z_TYPE_P(zdata) == IS_OBJECT ? zdata : NULL), arg_sep, enc_type); local
232 char *prefix = NULL, *arg_sep=NULL;
242 php_error_docref(NULL, E_WARNING, "Parameter 1 expected to be Array or Object. Incorrect value given");
246 if (php_url_encode_hash_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL,
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), NULL); local
47 Z_ARRVAL(zv[1])->pDestructor = NULL; /* we're operating on a copy! Don't double free zvals */
105 char *ret = NULL;
H A Dphpdbg_list.c41 PHPDBG_LIST_COMMAND_D(lines, "lists the specified lines", 'l', list_lines, NULL, "l", PHPDBG_ASYNC_SAFE),
42 PHPDBG_LIST_COMMAND_D(class, "lists the specified class", 'c', list_class, NULL, "s", PHPDBG_ASYNC_SAFE),
43 PHPDBG_LIST_COMMAND_D(method, "lists the specified method", 'm', list_method, NULL, "m", PHPDBG_ASYNC_SAFE),
44 PHPDBG_LIST_COMMAND_D(func, "lists the specified function", 'f', list_func, NULL, "s", PHPDBG_ASYNC_SAFE),
286 fake.opened_path = NULL;
307 zend_hash_init(&PHPDBG_G(file_sources), 1, NULL, (dtor_func_t) phpdbg_free_file_source, 0); local
/PHP_TRUNK/ext/session/
H A Dmod_user.c33 if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) {
64 php_error_docref(NULL, E_WARNING, \
79 php_error_docref(NULL, E_WARNING,
105 ps_call_handler(&PSF(close), 0, NULL, &retval); local
183 zend_string *id = NULL;
186 ps_call_handler(&PSF(create_sid), 0, NULL, &retval); local
194 php_error_docref(NULL, E_ERROR, "No session id returned by function");
195 return NULL;
199 php_error_docref(NULL, E_ERROR, "Session id must be a string");
200 return NULL;
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregenc.h49 #ifndef NULL
50 #define NULL ((void* )0) macro
71 #define ONIG_CHECK_NULL_RETURN(p) if (ONIG_IS_NULL(p)) return NULL
/PHP_TRUNK/ext/gd/libgd/
H A Dgdcache.h47 #ifndef NULL
48 #define NULL (void *)0 macro
/PHP_TRUNK/ext/readline/
H A Dreadline.c160 NULL,
215 char *prompt = NULL;
241 char *what = NULL;
242 zval *value = NULL;
398 char *arg = NULL;
411 /* If filename is NULL, then read from `~/.history' */
423 char *arg = NULL;
454 while ((entry = zend_hash_get_current_data(myht)) != NULL) {
463 return NULL;
484 char **matches = NULL;
552 call_user_function(CG(function_table), NULL, &_prepped_callback, &dummy, 1, params); local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_list.c71 res->ptr = NULL;
119 return NULL;
134 return NULL;
140 if (res == NULL) {
145 return NULL;
152 return NULL;
161 if (res == NULL) {
166 return NULL;
173 return NULL;
211 zend_hash_init(&EG(regular_list), 8, NULL, list_entry_destructo local
218 zend_hash_init_ex(&EG(persistent_list), 8, NULL, plist_entry_destructor, 1, 0); local
[all...]
H A Dzend_constants.c108 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); local
143 REGISTER_MAIN_NULL_CONSTANT("NULL", CONST_PERSISTENT | CONST_CT_SUBST);
233 return NULL;
249 return NULL;
259 if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) {
262 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) {
264 c = NULL;
272 return c ? &c->value : NULL;
280 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) {
283 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name->len)) != NULL) {
[all...]
H A Dzend_string.c50 zend_hash_init(&CG(interned_strings), 1024, NULL, _str_dtor, 1); local
/PHP_TRUNK/win32/
H A Dregistry.c40 NULL
82 HashTable *ht = NULL;
84 if (RegQueryInfoKey(key, NULL, NULL, NULL, &keys, &max_key, NULL, &values, &max_name, &max_value, NULL, NULL) == ERROR_SUCCESS) {
99 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) {
108 zend_hash_init(ht, 0, NULL, ZVAL_INTERNAL_PTR_DTO
196 zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1); local
[all...]
H A Dwsyslog.c70 PW32G(log_header) = NULL;
85 char *tmp = NULL;
110 ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); local
127 PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);

Completed in 45 milliseconds

123