Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.h98 unsigned curpos; variable
106 curpos = 0; in AggBuffer()
111 assert((curpos + Num) <= size); in addBytes()
112 assert((curpos + Bytes) <= size); in addBytes()
114 buffer[curpos] = Ptr[i]; in addBytes()
115 curpos++; in addBytes()
118 buffer[curpos] = 0; in addBytes()
119 curpos++; in addBytes()
121 return curpos; in addBytes()
124 assert((curpos + Num) <= size); in addZeros()
[all …]
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c46 unsigned int curpos = 0, i, tmp_req = 0; in pp_init() local
88 curpos = 0; in pp_init()
91 ppq->pp_queue[curpos] = pp_filters[i].main; in pp_init()
93 ppq->filters[curpos] = i; in pp_init()
96 ppq->shaders[curpos] = in pp_init()
98 if (!ppq->shaders[curpos]) { in pp_init()
105 if (!pp_filters[i].init(ppq, curpos, enabled[i])) { in pp_init()
110 curpos++; in pp_init()
114 ppq->n_filters = curpos; in pp_init()
115 ppq->n_tmp = (curpos > 2 ? 2 : 1); in pp_init()
[all …]
/external/syslinux/com32/rosh/
Drosh.c77 int curpos; in rosh_search_nonsp() local
80 curpos = ipos; in rosh_search_nonsp()
81 c = istr[curpos]; in rosh_search_nonsp()
83 c = istr[++curpos]; in rosh_search_nonsp()
84 return curpos; in rosh_search_nonsp()
94 int curpos; in rosh_search_sp() local
97 curpos = ipos; in rosh_search_sp()
98 c = istr[curpos]; in rosh_search_sp()
100 c = istr[++curpos]; in rosh_search_sp()
101 return curpos; in rosh_search_sp()
[all …]
/external/vboot_reference/tests/futility/
Dbinary_editor.c19 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/
Dpicokfst.c147 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 …]
Dpicorsrc.c478 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()
Dpicoklex.c151 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()
Dpicoacph.c379 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()
Dpicokdt.c305 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()
Dpicoos.c2011 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()
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp192 FX_FLOAT curpos = 0; in CalcPositionData() local
208 curpos -= (m_CharPos[i - 1] * fontsize) / 1000; in CalcPositionData()
211 m_CharPos[i - 1] = curpos; in CalcPositionData()
221 FX_FLOAT char_left = curpos + char_rect.left * fontsize / 1000; in CalcPositionData()
222 FX_FLOAT char_right = curpos + char_rect.right * fontsize / 1000; in CalcPositionData()
239 FX_FLOAT char_top = curpos + char_rect.top * fontsize / 1000; in CalcPositionData()
240 FX_FLOAT char_bottom = curpos + char_rect.bottom * fontsize / 1000; in CalcPositionData()
245 curpos += charwidth; in CalcPositionData()
247 curpos += m_TextState.GetWordSpace(); in CalcPositionData()
249 curpos += m_TextState.GetCharSpace(); in CalcPositionData()
[all …]
/external/python/cpython2/Lib/
Dwave.py496 curpos = self._file.tell()
501 self._file.seek(curpos, 0)
Daifc.py905 curpos = self._file.tell()
914 self._file.seek(curpos, 0)
922 self._file.seek(curpos, 0)