/third_party/libdrm/intel/ |
D | mm.c | 97 struct mem_block *newblock; in SliceBlock() local 101 newblock = in SliceBlock() 103 if (!newblock) in SliceBlock() 105 newblock->ofs = startofs; in SliceBlock() 106 newblock->size = p->size - (startofs - p->ofs); in SliceBlock() 107 newblock->free = 1; in SliceBlock() 108 newblock->heap = p->heap; in SliceBlock() 110 newblock->next = p->next; in SliceBlock() 111 newblock->prev = p; in SliceBlock() 112 p->next->prev = newblock; in SliceBlock() [all …]
|
/third_party/mesa3d/src/util/ |
D | u_mm.c | 111 struct mem_block *newblock; in SliceBlock() local 115 newblock = CALLOC_STRUCT(mem_block); in SliceBlock() 116 if (!newblock) in SliceBlock() 118 newblock->ofs = startofs; in SliceBlock() 119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock() 120 newblock->free = 1; in SliceBlock() 121 newblock->heap = p->heap; in SliceBlock() 123 newblock->next = p->next; in SliceBlock() 124 newblock->prev = p; in SliceBlock() 125 p->next->prev = newblock; in SliceBlock() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | memory_pool.c | 56 struct memory_block * newblock; in refill_pool() local 61 newblock = malloc(blocksize); in refill_pool() 62 newblock->next = pool->blocks; in refill_pool() 63 pool->blocks = newblock; in refill_pool() 65 pool->head = (unsigned char*)(newblock + 1); in refill_pool() 66 pool->end = ((unsigned char*)newblock) + blocksize; in refill_pool()
|
/third_party/libsnd/src/ |
D | gsm610.c | 377 int newblock, newsample ; in gsm610_seek() local 409 newblock = offset / pgsm610->samplesperblock ; in gsm610_seek() 413 { if (psf->read_current != newblock * pgsm610->samplesperblock + newsample) in gsm610_seek() 414 { psf_fseek (psf, psf->dataoffset + newblock * pgsm610->samplesperblock, SEEK_SET) ; in gsm610_seek() 415 pgsm610->blockcount = newblock ; in gsm610_seek() 420 return newblock * pgsm610->samplesperblock + newsample ; in gsm610_seek()
|
D | ima_adpcm.c | 707 int newblock, newsample, newblockaiff ; in aiff_ima_seek() local 731 newblock = offset / pima->samplesperblock ; in aiff_ima_seek() 733 newblockaiff = newblock * psf->sf.channels ; in aiff_ima_seek() 747 return newblock * pima->samplesperblock + newsample ; in aiff_ima_seek() 753 int newblock, newsample ; in wavlike_ima_seek() local 780 newblock = offset / pima->samplesperblock ; in wavlike_ima_seek() 784 { psf_fseek (psf, psf->dataoffset + newblock * pima->blocksize, SEEK_SET) ; in wavlike_ima_seek() 785 pima->blockcount = newblock ; in wavlike_ima_seek() 795 return newblock * pima->samplesperblock + newsample ; in wavlike_ima_seek()
|
D | paf.c | 414 int newblock, newsample ; in paf24_seek() local 426 newblock = offset / PAF24_SAMPLES_PER_BLOCK ; in paf24_seek() 434 psf_fseek (psf, psf->dataoffset + newblock * ppaf24->blocksize, SEEK_SET) ; in paf24_seek() 435 ppaf24->read_block = newblock ; in paf24_seek() 449 psf_fseek (psf, psf->dataoffset + newblock * ppaf24->blocksize, SEEK_SET) ; in paf24_seek() 450 ppaf24->write_block = newblock ; in paf24_seek() 460 return newblock * PAF24_SAMPLES_PER_BLOCK + newsample ; in paf24_seek()
|
D | sds.c | 688 int newblock, newsample ; in sds_seek() local 708 newblock = seek_from_start / psds->samplesperblock ; in sds_seek() 713 if (newblock > psds->total_blocks) in sds_seek() 718 file_offset = psf->dataoffset + newblock * SDS_BLOCK_SIZE ; in sds_seek() 725 psds->read_block = newblock ; in sds_seek() 731 if (newblock > psds->total_blocks) in sds_seek() 736 file_offset = psf->dataoffset + newblock * SDS_BLOCK_SIZE ; in sds_seek() 743 psds->write_block = newblock ; in sds_seek()
|
D | ms_adpcm.c | 462 int newblock, newsample ; in msadpcm_seek() local 486 newblock = offset / pms->samplesperblock ; in msadpcm_seek() 490 { psf_fseek (psf, psf->dataoffset + newblock * pms->blocksize, SEEK_SET) ; in msadpcm_seek() 491 pms->blockcount = newblock ; in msadpcm_seek() 501 return newblock * pms->samplesperblock + newsample ; in msadpcm_seek()
|
D | alac.c | 591 int newblock, newsample ; in alac_seek() local 616 newblock = offset / plac->frames_per_block ; in alac_seek() 620 { plac->input_data_pos = psf->dataoffset + alac_pakt_block_offset (plac->pakt_info, newblock) ; in alac_seek() 622 plac->pakt_info->current = newblock ; in alac_seek() 632 return newblock * plac->frames_per_block + newsample ; in alac_seek()
|
/third_party/python/Modules/ |
D | _collectionsmodule.c | 131 newblock(void) { in newblock() function 167 b = newblock(); in deque_new() 281 block *b = newblock(); in deque_append_internal() 318 block *b = newblock(); in deque_appendleft_internal() 587 b = newblock(); in deque_clear() 682 block *b = newblock(); in deque_inplace_repeat() 800 b = newblock(); in _deque_rotate() 844 b = newblock(); in _deque_rotate()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfssecaudit.c | 1740 static void newblock(s32 key) in newblock() function 2199 newblock(key); in applyattr() 4180 newblock(securindex); in showfull() 4948 newblock(key); in consist_sds() 5204 newblock(key); in consist_sii() 5392 newblock(key); in consist_sdh()
|
/third_party/mksh/ |
D | exec.c | 628 newblock(); in comexec()
|
D | main.c | 279 newblock(); in main_init()
|
D | eval.c | 2101 newblock(); in valsub()
|
D | var.c | 68 newblock(void) in newblock() function
|
D | sh.h | 2736 void newblock(void);
|
/third_party/mesa3d/src/mesa/main/ |
D | dlist.c | 1518 Node *newblock; in dlist_alloc() local 1521 newblock = malloc(sizeof(Node) * BLOCK_SIZE); in dlist_alloc() 1522 if (!newblock) { in dlist_alloc() 1528 assert(((GLintptr) newblock) % sizeof(void *) == 0); in dlist_alloc() 1530 save_pointer(&n[1], newblock); in dlist_alloc() 1531 ctx->ListState.CurrentBlock = newblock; in dlist_alloc()
|