Lines Matching refs:buf
114 char buf[16];
115 sprintf(buf, "service_%d", i);
118 ret = fo_new_service(ctx->fo_ctx, buf, NULL, &services[i]);
126 char buf[16];
127 sprintf(buf, "service_%d", i);
129 ret = fo_get_service(ctx->fo_ctx, buf, &service);
135 ret = fo_get_service(ctx->fo_ctx, buf, &service);
179 char buf[256];
181 inet_ntop(he->family, he->addr_list[i]->ipaddr, buf, sizeof(buf));
182 fail_if(strcmp(buf, "127.0.0.1") != 0 && strcmp(buf, "::1") != 0);