Lines Matching refs:buf
179 char *buf; in fpm_conf_expand_pool_name() local
191 spprintf(&buf, 0, "%s%s%s", *value, current_wp->config->name, p2); in fpm_conf_expand_pool_name()
195 *value = strdup(buf); in fpm_conf_expand_pool_name()
196 efree(buf); in fpm_conf_expand_pool_name()
988 char *buf; in fpm_conf_process_all_pools() local
990 spprintf(&buf, 0, "%s/%s", wp->config->chroot, wp->config->chdir); in fpm_conf_process_all_pools()
992 if (!fpm_conf_is_dir(buf)) { in fpm_conf_process_all_pools()
993 …es not exist or is not a directory", wp->config->name, wp->config->chdir, wp->config->chroot, buf); in fpm_conf_process_all_pools()
994 efree(buf); in fpm_conf_process_all_pools()
998 efree(buf); in fpm_conf_process_all_pools()
1118 char buf[64]; in fpm_conf_write_pid() local
1129 len = sprintf(buf, "%d", (int) fpm_globals.parent_pid); in fpm_conf_write_pid()
1131 if (len != write(fd, buf, len)) { in fpm_conf_write_pid()
1474 char buf[1024+1]; in fpm_conf_load_ini_file() local
1501 memset(buf, 0, sizeof(char) * (1024 + 1)); in fpm_conf_load_ini_file()
1503 buf[n] = c; in fpm_conf_load_ini_file()
1505 buf[n++] = '\n'; in fpm_conf_load_ini_file()
1508 …tmp = zend_parse_ini_string(buf, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t)fpm_conf_ini_pa… in fpm_conf_load_ini_file()