Lines Matching refs:NULL

86 			php_error_docref(NULL, E_WARNING, "Can't truncate this stream");  in inifile_alloc()
87 return NULL; in inifile_alloc()
116 if (group_name[0] == '[' && (name = strchr(group_name, ']')) != NULL) { in inifile_key_split()
137 return NULL; in inifile_key_string()
149 return NULL; in etrim()
169 while ((fline = php_stream_gets(dba->fp, NULL, 0)) != NULL) { in inifile_read()
242 line_type ln = {{NULL,NULL},{NULL},0}; in inifile_fetch()
293 line_type ln = {{NULL,NULL},{NULL},0}; in inifile_nextkey()
311 php_error_docref(NULL, E_WARNING, "Error in ftruncate: %d", res); in inifile_truncate()
333 line_type ln = {{NULL,NULL},{NULL},0}; in inifile_find_group()
362 line_type ln = {{NULL,NULL},{NULL},0}; in inifile_next_group()
384 *ini_copy = NULL; in inifile_copy_to()
387 if ((fp = php_stream_temp_create(0, 64 * 1024)) == NULL) { in inifile_copy_to()
388 php_error_docref(NULL, E_WARNING, "Could not create temporary stream"); in inifile_copy_to()
389 *ini_copy = NULL; in inifile_copy_to()
393 if ((*ini_copy = inifile_alloc(fp, 1, 0)) == NULL) { in inifile_copy_to()
398 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp, pos_end - pos_start, NULL)) { in inifile_copy_to()
399 …php_error_docref(NULL, E_WARNING, "Could not copy group [%zu - %zu] to temporary stream", pos_star… in inifile_copy_to()
413 line_type ln = {{NULL,NULL},{NULL},0}; in inifile_filter()
426 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
427 …php_error_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, po… in inifile_filter()
445 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
446 …php_error_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, po… in inifile_filter()
459 inifile *ini_tmp = NULL; in inifile_delete_replace_append()
460 php_stream *fp_tmp = NULL; in inifile_delete_replace_append()
489 php_error_docref(NULL, E_WARNING, "Could not create temporary stream"); in inifile_delete_replace_append()
495 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp_tmp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
496 php_error_docref(NULL, E_WARNING, "Could not copy remainder to temporary stream"); in inifile_delete_replace_append()
536 if (SUCCESS != php_stream_copy_to_stream_ex(fp_tmp, dba->fp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
537 zend_throw_error(NULL, "Could not copy from temporary stream - ini file truncated"); in inifile_delete_replace_append()
560 return inifile_delete_replace_append(dba, key, NULL, 0, NULL); in inifile_delete()
567 return inifile_delete_replace_append(dba, key, NULL, 0, found); in inifile_delete_ex()
574 return inifile_delete_replace_append(dba, key, value, 0, NULL); in inifile_replace()
588 return inifile_delete_replace_append(dba, key, value, 1, NULL); in inifile_append()