/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_init.c | 45 unsigned int curpos = 0, i, tmp_req = 0; in pp_init() local 54 curpos++; in pp_init() 56 if (!curpos) in pp_init() 60 tmp_q = CALLOC(curpos, sizeof(pp_func)); in pp_init() 61 ppq->shaders = CALLOC(curpos, sizeof(void *)); in pp_init() 62 ppq->verts = CALLOC(curpos, sizeof(unsigned int)); in pp_init() 72 curpos = 0; in pp_init() 76 ppq->pp_queue[curpos] = pp_filters[i].main; in pp_init() 80 ppq->shaders[curpos] = in pp_init() 82 ppq->verts[curpos] = pp_filters[i].verts; in pp_init() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.h | 89 unsigned curpos; variable 97 curpos = 0; in AggBuffer() 102 assert((curpos + Num) <= size); in addBytes() 103 assert((curpos + Bytes) <= size); in addBytes() 105 buffer[curpos] = Ptr[i]; in addBytes() 106 curpos++; in addBytes() 109 buffer[curpos] = 0; in addBytes() 110 curpos++; in addBytes() 112 return curpos; in addBytes() 115 assert((curpos + Num) <= size); in addZeros() [all …]
|
/external/vboot_reference/tests/futility/ |
D | binary_editor.c | 19 uint32_t offset, curpos, curarg; in main() local 29 for ( curpos = 0; (c = fgetc(stdin)) != EOF; curpos++) { in main() 31 if (curpos == offset && curarg < argc) { in main()
|
/external/svox/pico/lib/ |
D | picokfst.c | 147 picoos_uint32 curpos; in kfstInitialize() local 163 curpos = kfst->hdrLen; in kfstInitialize() 164 BytesToNum(kfst->fstStream,& curpos,& kfst->transductionMode); in kfstInitialize() 165 BytesToNum(kfst->fstStream,& curpos,& kfst->nrClasses); in kfstInitialize() 166 BytesToNum(kfst->fstStream,& curpos,& kfst->nrStates); in kfstInitialize() 167 BytesToNum(kfst->fstStream,& curpos,& kfst->termClass); in kfstInitialize() 168 BytesToNum(kfst->fstStream,& curpos,& kfst->alphaHashTabSize); in kfstInitialize() 169 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize() 171 BytesToNum(kfst->fstStream,& curpos,& kfst->transTabEntrySize); in kfstInitialize() 172 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize() [all …]
|
D | picorsrc.c | 478 picoos_uint32 curpos = 0, offset, size; in picorsrc_getKbList() local 486 numKbs = data[curpos++]; in picorsrc_getKbList() 493 …status = (picoos_get_str((picoos_char *)data,&curpos,str,PICOOS_MAX_FIELD_STRING_LEN)) ? PICO_OK :… in picorsrc_getKbList() 497 curpos++; in picorsrc_getKbList() 500 kbid = data[curpos++]; in picorsrc_getKbList() 501 PICODBG_DEBUG(("got kb id %i, curpos now %i",kbid, curpos)); in picorsrc_getKbList() 502 status = picoos_read_mem_pi_uint32(data,&curpos,&offset); in picorsrc_getKbList() 503 PICODBG_DEBUG(("got kb offset %i, curpos now %i",offset, curpos)); in picorsrc_getKbList() 504 status = picoos_read_mem_pi_uint32(data,&curpos,&size); in picorsrc_getKbList() 505 PICODBG_DEBUG(("got kb size %i, curpos now %i",size, curpos)); in picorsrc_getKbList()
|
D | picoklex.c | 151 picoos_uint32 curpos = 0; in klexInitialize() local 164 if (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, in klexInitialize() 167 PICODBG_DEBUG(("nr blocks: %i, curpos: %i", klex->nrblocks,curpos)); in klexInitialize() 168 klex->searchind = this->base + curpos; in klexInitialize()
|
D | picoacph.c | 379 picoos_uint8 curpos; /* POS(es) of current word */ in acphSubPhrasing() local 388 curpos = PICOKDT_EPSILON; /* needs to be in 2^8 */ in acphSubPhrasing() 444 curpos = acph->headx[i].head.info1; in acphSubPhrasing() 456 if (curpos != valbuf[2]) { in acphSubPhrasing() 460 valbuf[2] = curpos; in acphSubPhrasing() 798 picoos_uint8 curpos; /* POS(es) of current word */ in acphAccentuation() local 806 curpos = PICOKDT_EPSILON; /* needs to be < 2^8 */ in acphAccentuation() 862 curpos = acph->headx[i].head.info1; in acphAccentuation() 874 if (curpos != valbuf[2]) { in acphAccentuation() 878 valbuf[2] = curpos; in acphAccentuation()
|
D | picoos.c | 2011 picoos_uint32 curpos = 0; in picoos_hdrParseHeader() local 2016 numFields = str[curpos++]; in picoos_hdrParseHeader() 2021 picoos_get_str(str,&curpos,header->field[i].key,PICOOS_MAX_FIELD_STRING_LEN); in picoos_hdrParseHeader() 2022 picoos_get_str(str,&curpos,header->field[i].value,PICOOS_MAX_FIELD_STRING_LEN); in picoos_hdrParseHeader()
|
D | picokdt.c | 305 picoos_uint32 curpos = 0, pos; in kdtDtInitialize() local 313 if ((PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, &inppos)) in kdtDtInitialize() 314 && (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, &outpos)) in kdtDtInitialize() 315 && (PICO_OK == picoos_read_mem_pi_uint16(this->base, &curpos, in kdtDtInitialize()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page.cpp | 371 FX_FLOAT curpos = i > 0 ? m_pCharPos[i - 1] : 0; in GetCharRect() local 375 rect.left = curpos + char_rect.left * fontsize; in GetCharRect() 376 rect.right = curpos + char_rect.right * fontsize; in GetCharRect() 389 rect.top = curpos + char_rect.top * fontsize; in GetCharRect() 390 rect.bottom = curpos + char_rect.bottom * fontsize; in GetCharRect() 397 FX_FLOAT curpos = 0; in CalcPositionData() local 409 curpos -= FXSYS_Mul(m_pCharPos[i - 1], fontsize) / 1000; in CalcPositionData() 413 m_pCharPos[i - 1] = curpos; in CalcPositionData() 431 FX_FLOAT char_left = curpos + char_rect.left * fontsize / 1000; in CalcPositionData() 432 FX_FLOAT char_right = curpos + char_rect.right * fontsize / 1000; in CalcPositionData() [all …]
|