Searched refs:elem_size (Results 1 - 8 of 8) sorted by relevance

/haiku-fatelf/src/libs/tiff/
H A Dtif_aux.c38 size_t nmemb, size_t elem_size, const char* what)
41 tsize_t bytes = nmemb * elem_size;
46 if (nmemb && elem_size && bytes / elem_size == nmemb)
53 what,(long) nmemb, (long) elem_size);
59 _TIFFCheckMalloc(TIFF* tif, size_t nmemb, size_t elem_size, const char* what) argument
61 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what);
37 _TIFFCheckRealloc(TIFF* tif, tdata_t buffer, size_t nmemb, size_t elem_size, const char* what) argument
H A Dtif_strip.c52 multiply(TIFF* tif, size_t nmemb, size_t elem_size, const char* where) argument
54 uint32 bytes = nmemb * elem_size;
56 if (elem_size && bytes / elem_size != nmemb) {
H A Dtif_tile.c52 multiply(TIFF* tif, size_t nmemb, size_t elem_size, const char* where) argument
54 uint32 bytes = nmemb * elem_size;
56 if (elem_size && bytes / elem_size != nmemb) {
H A Dtif_dir.c44 setByteArray(void** vpp, void* vp, size_t nmemb, size_t elem_size) argument
49 tsize_t bytes = nmemb * elem_size;
50 if (elem_size && bytes / elem_size == nmemb)
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-dos.h124 int elem_size; /* size of each element */ member in struct:rx_ringbuf
H A Dpcap-dos.c1291 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2);
1375 buf += q->elem_size;
1387 q->elem_size = size;
1442 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->in_index));
1450 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->out_index));
/haiku-fatelf/headers/libs/agg/
H A Dagg_array.h456 unsigned elem_size = data.size() / sizeof(T); local
458 for(unsigned i = 0; i < elem_size; ++i)
478 unsigned elem_size = data.size() / sizeof(T); local
479 for(unsigned i = 0; i < elem_size; ++i)
/haiku-fatelf/src/add-ons/media/plugins/matroska/libMatroskaParser/
H A DMatroskaParser.c417 unsigned *cur,unsigned *max,unsigned elem_size)
425 np = mf->cache->memrealloc(mf->cache,*base,newsize*elem_size);
433 return (char*)*base + elem_size * (*cur)++;
437 unsigned cur,unsigned *max,unsigned elem_size)
440 void *np = mf->cache->memrealloc(mf->cache,*base,cur*elem_size);
416 ArrayAlloc(MatroskaFile *mf,void **base, unsigned *cur,unsigned *max,unsigned elem_size) argument
436 ArrayReleaseMemory(MatroskaFile *mf,void **base, unsigned cur,unsigned *max,unsigned elem_size) argument

Completed in 127 milliseconds