Lines Matching refs:data
32 char *data;
46 memcpy(result->data + result->pos, ptr, size * nmemb);
57 char *data = NULL;
65 data = malloc(BUFFER_SIZE);
66 if(!data)
70 .data = data,
86 fprintf(stderr, "error: unable to request data from %s:\n", url);
103 data[write_result.pos] = '\0';
105 return data;
108 if(data)
109 free(data);
158 json_t *data, *sha, *commit, *message;
161 data = json_array_get(root, i);
162 if(!json_is_object(data))
164 fprintf(stderr, "error: commit data %d is not an object\n", (int)(i + 1));
169 sha = json_object_get(data, "sha");
176 commit = json_object_get(data, "commit");