Lines Matching refs:NULL

88 			php_error_docref(NULL, E_WARNING, "Can't truncate this stream");  in inifile_alloc()
89 return NULL; in inifile_alloc()
118 if (group_name[0] == '[' && (name = strchr(group_name, ']')) != NULL) { in inifile_key_split()
139 return NULL; in inifile_key_string()
151 return NULL; in etrim()
172 while ((fline = php_stream_gets(dba->fp, NULL, 0)) != NULL) { in inifile_read()
246 line_type ln = {{NULL,NULL},{NULL}}; in inifile_fetch()
299 line_type ln = {{NULL,NULL},{NULL}}; in inifile_nextkey()
318 php_error_docref(NULL, E_WARNING, "Error in ftruncate: %d", res); in inifile_truncate()
340 line_type ln = {{NULL,NULL},{NULL}}; in inifile_find_group()
369 line_type ln = {{NULL,NULL},{NULL}}; in inifile_next_group()
392 *ini_copy = NULL; in inifile_copy_to()
395 if ((fp = php_stream_temp_create(0, 64 * 1024)) == NULL) { in inifile_copy_to()
396 php_error_docref(NULL, E_WARNING, "Could not create temporary stream"); in inifile_copy_to()
397 *ini_copy = NULL; in inifile_copy_to()
401 if ((*ini_copy = inifile_alloc(fp, 1, 0)) == NULL) { in inifile_copy_to()
406 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp, pos_end - pos_start, NULL)) { in inifile_copy_to()
407 …php_error_docref(NULL, E_WARNING, "Could not copy group [%zu - %zu] to temporary stream", pos_star… in inifile_copy_to()
421 line_type ln = {{NULL,NULL},{NULL}}; in inifile_filter()
434 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
435 …php_error_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, po… in inifile_filter()
453 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
454 …php_error_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, po… in inifile_filter()
468 inifile *ini_tmp = NULL; in inifile_delete_replace_append()
469 php_stream *fp_tmp = NULL; in inifile_delete_replace_append()
498 php_error_docref(NULL, E_WARNING, "Could not create temporary stream"); in inifile_delete_replace_append()
504 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp_tmp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
505 php_error_docref(NULL, E_WARNING, "Could not copy remainder to temporary stream"); in inifile_delete_replace_append()
545 if (SUCCESS != php_stream_copy_to_stream_ex(fp_tmp, dba->fp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
546 …php_error_docref(NULL, E_RECOVERABLE_ERROR, "Could not copy from temporary stream - ini file trunc… in inifile_delete_replace_append()
570 return inifile_delete_replace_append(dba, key, NULL, 0, NULL); in inifile_delete()
578 return inifile_delete_replace_append(dba, key, NULL, 0, found); in inifile_delete_ex()
586 return inifile_delete_replace_append(dba, key, value, 0, NULL); in inifile_replace()
602 return inifile_delete_replace_append(dba, key, value, 1, NULL); in inifile_append()