Searched defs:NULL (Results 1 - 25 of 67) 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/main/
H A Dphp_ticks.c26 zend_llist_init(&PG(tick_functions), sizeof(void(*)(int)), NULL, 1); local
/PHP_TRUNK/ext/mysqlnd/
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...]
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...]
/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/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);
/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/ext/standard/
H A Dhttp.c34 zend_string *key = NULL;
39 zval *zdata = NULL;
61 if (ZSTR_VAL(key)[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
230 char *prefix = NULL, *arg_sep=NULL;
240 php_error_docref(NULL, E_WARNING, "Parameter 1 expected to be Array or Object. Incorrect value given");
244 if (php_url_encode_hash_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL,
[all...]
H A Dassert.c74 ASSERTG(cb) = NULL;
85 PHP_INI_ENTRY("assert.callback", NULL, PHP_INI_ALL, OnChangeCallback)
93 assert_globals_p->cb = NULL;
101 ZEND_INIT_MODULE_GLOBALS(assert, php_assert_init_globals, NULL);
112 INIT_CLASS_ENTRY(ce, "AssertionError", NULL);
123 ASSERTG(cb) = NULL;
151 zval *description = NULL;
153 char *myeval = NULL;
180 php_error_docref(NULL, E_RECOVERABLE_ERROR, "Failure evaluating code: %s%s", PHP_EOL, myeval);
183 php_error_docref(NULL, E_RECOVERABLE_ERRO
228 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 3, args); local
234 call_user_function(CG(function_table), NULL, &ASSERTG(callback), &retval, 4, args); local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_string.c50 zend_hash_init(&CG(interned_strings), 1024, NULL, _str_dtor, 1); local
H A Dzend_constants.c109 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); local
144 REGISTER_MAIN_NULL_CONSTANT("NULL", CONST_PERSISTENT | CONST_CT_SUBST);
234 return NULL;
250 return NULL;
260 if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) {
263 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) {
265 c = NULL;
273 return c ? &c->value : NULL;
281 if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) {
284 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, ZSTR_LEN(name))) != NULL) {
[all...]
H A Dzend_list.c71 res->ptr = NULL;
121 return NULL;
136 return NULL;
142 if (res == NULL) {
147 return NULL;
154 return NULL;
163 if (res == NULL) {
168 return NULL;
175 return NULL;
213 zend_hash_init(&EG(regular_list), 8, NULL, list_entry_destructo local
220 zend_hash_init_ex(&EG(persistent_list), 8, NULL, plist_entry_destructor, 1, 0); local
[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;
/PHP_TRUNK/ext/intl/
H A Dintl_convert.c30 * It *target is NULL then we allocate a large enough buffer,
33 * Otherwise, if *target is non-NULL, we assume that it points to a
55 UChar* dst_buf = NULL;
58 /* If *target is NULL determine required destination buffer size (pre-flighting).
92 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status );
127 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status );
134 return NULL;
141 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); local
145 return NULL;
H A Dintl_convertcpp.cpp39 //no check necessary -- if NULL will fail ahead
44 str, str_len, U_SENTINEL /* no substitution */, NULL,
64 return NULL;
80 U_SENTINEL, NULL, status); local
84 return NULL;
/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...]

Completed in 189 milliseconds

123