Home
last modified time | relevance | path

Searched refs:numitems (Results 1 – 2 of 2) sorted by relevance

/third_party/elfutils/debuginfod/
Ddebuginfod-client.c549 header_callback (char * buffer, size_t size, size_t numitems, void * userdata) in header_callback() argument
555 dprintf (data->client->verbose_fd, "header %.*s", (int)numitems, buffer); in header_callback()
558 || buffer[numitems-2] != '\r' in header_callback()
559 || buffer[numitems-1] != '\n' in header_callback()
561 return numitems; in header_callback()
567 temp = malloc(numitems); in header_callback()
573 temp = realloc(data->response_data, data->response_data_size + numitems); in header_callback()
578 memcpy(temp + data->response_data_size, buffer, numitems-1); in header_callback()
580 data->response_data_size += numitems-1; in header_callback()
583 return numitems; in header_callback()
/third_party/iowow/src/json/
Diwbinn.c428 BINN_PRIVATE unsigned char* SearchForID(unsigned char *p, int header_size, int size, int numitems, … in SearchForID() argument
437 for (i = 0; i < numitems; i++) { in SearchForID()
458 unsigned char *p, int header_size, int size, int numitems, const char *key, in SearchForKey() argument
469 for (i = 0; i < numitems; i++) { in SearchForKey()