Home
last modified time | relevance | path

Searched refs:pTable (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
DJBig2_HuffmanDecoder.cpp16 int CJBig2_HuffmanDecoder::decodeAValue(CJBig2_HuffmanTable* pTable, in decodeAValue() argument
27 for (uint32_t i = 0; i < pTable->Size(); ++i) { in decodeAValue()
28 if (pTable->GetPREFLEN()[i] == nBits && pTable->GetCODES()[i] == nVal) { in decodeAValue()
29 if (pTable->IsHTOOB() && i == pTable->Size() - 1) in decodeAValue()
32 if (m_pStream->readNBits(pTable->GetRANGELEN()[i], &nTmp) == -1) in decodeAValue()
35 uint32_t offset = pTable->IsHTOOB() ? 3 : 2; in decodeAValue()
36 if (i == pTable->Size() - offset) in decodeAValue()
37 *nResult = pTable->GetRANGELOW()[i] - nTmp; in decodeAValue()
39 *nResult = pTable->GetRANGELOW()[i] + nTmp; in decodeAValue()
DJBig2_HuffmanTable.cpp19 CJBig2_HuffmanTable::CJBig2_HuffmanTable(const JBig2TableLine* pTable, in CJBig2_HuffmanTable() argument
23 ParseFromStandardTable(pTable); in CJBig2_HuffmanTable()
33 void CJBig2_HuffmanTable::ParseFromStandardTable(const JBig2TableLine* pTable) { in ParseFromStandardTable() argument
38 PREFLEN[i] = pTable[i].PREFLEN; in ParseFromStandardTable()
39 RANGELEN[i] = pTable[i].RANDELEN; in ParseFromStandardTable()
40 RANGELOW[i] = pTable[i].RANGELOW; in ParseFromStandardTable()
DJBig2_HuffmanTable.h19 CJBig2_HuffmanTable(const JBig2TableLine* pTable,
36 void ParseFromStandardTable(const JBig2TableLine* pTable);
DJBig2_HuffmanDecoder.h20 int decodeAValue(CJBig2_HuffmanTable* pTable, int* nResult);
DJBig2_SddProc.cpp293 std::unique_ptr<CJBig2_HuffmanTable> pTable; in decode_Huffman() local
497 pTable = pdfium::MakeUnique<CJBig2_HuffmanTable>( in decode_Huffman()
502 if (pHuffmanDecoder->decodeAValue(pTable.get(), (int*)&EXRUNLENGTH) != 0) in decode_Huffman()
/external/vulkan-validation-layers/layers/
Dvk_layer_table.cpp103 VkLayerInstanceDispatchTable *pTable; in initInstanceTable() local
108 pTable = new VkLayerInstanceDispatchTable; in initInstanceTable()
109 map[(void *)key] = pTable; in initInstanceTable()
114 layer_init_instance_dispatch_table(instance, pTable, gpa); in initInstanceTable()
118pTable->GetPhysicalDeviceProcAddr = (PFN_GetPhysicalDeviceProcAddr)gpa(instance, "vk_layerGetPhysi… in initInstanceTable()
120 return pTable; in initInstanceTable()
128 VkLayerDispatchTable *pTable; in initDeviceTable() local
133 pTable = new VkLayerDispatchTable; in initDeviceTable()
134 map[(void *)key] = pTable; in initDeviceTable()
139 layer_init_device_dispatch_table(device, pTable, gpa); in initDeviceTable()
[all …]
Dthreading.cpp84 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in DestroyInstance() local
99 pTable->DestroyInstance(instance, pAllocator); in DestroyInstance()
180 VkLayerDispatchTable *pTable = my_data->device_dispatch_table; in GetSwapchainImagesKHR() local
187 … result = pTable->GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages); in GetSwapchainImagesKHR()
269 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in GetPhysicalDeviceProcAddr() local
271 if (pTable->GetPhysicalDeviceProcAddr == NULL) return NULL; in GetPhysicalDeviceProcAddr()
272 return pTable->GetPhysicalDeviceProcAddr(instance, funcName); in GetPhysicalDeviceProcAddr()
319 VkLayerDispatchTable *pTable = my_data->device_dispatch_table; in AllocateCommandBuffers() local
327 result = pTable->AllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers); in AllocateCommandBuffers()
350 VkLayerDispatchTable *pTable = my_data->device_dispatch_table; in AllocateDescriptorSets() local
[all …]
Dobject_tracker_utils.cpp628 … VkLayerInstanceDispatchTable *pTable = get_dispatch_table(ot_instance_table_map, physicalDevice); in EnumerateDeviceExtensionProperties() local
629 return pTable->EnumerateDeviceExtensionProperties(physicalDevice, NULL, pCount, pProperties); in EnumerateDeviceExtensionProperties()
/external/vulkan-validation-layers/tests/layers/
Dtest.cpp112 VkLayerInstanceDispatchTable *pTable = instance_data->instance_dispatch_table; in GetInstanceProcAddr() local
113 if (pTable->GetInstanceProcAddr == nullptr) in GetInstanceProcAddr()
118 return pTable->GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr()
125 VkLayerInstanceDispatchTable *pTable = instance_data->instance_dispatch_table; in GetPhysicalDeviceProcAddr() local
126 if (pTable->GetPhysicalDeviceProcAddr == nullptr) in GetPhysicalDeviceProcAddr()
131 return pTable->GetPhysicalDeviceProcAddr(instance, funcName); in GetPhysicalDeviceProcAddr()
Dwrap_objects.cpp1511 VkLayerInstanceDispatchTable* pTable = &inst->layer_disp; in vkGetInstanceProcAddr() local
1565 if (pTable->GetInstanceProcAddr == NULL) in vkGetInstanceProcAddr()
1567 return pTable->GetInstanceProcAddr(instance, funcName); in vkGetInstanceProcAddr()
1575 VkLayerInstanceDispatchTable* pTable = &inst->layer_disp; in GetPhysicalDeviceProcAddr() local
1577 if (pTable->GetPhysicalDeviceProcAddr == NULL) in GetPhysicalDeviceProcAddr()
1579 return pTable->GetPhysicalDeviceProcAddr(instance, funcName); in GetPhysicalDeviceProcAddr()
/external/valgrind/coregrind/m_debuginfo/
Dtinfl.c345 int tree_next, tree_cur; tinfl_huff_table *pTable; in tinfl_decompress() local
346 …7], total_syms[16]; pTable = &r->m_tables[r->m_type]; MZ_CLEAR_OBJ(total_syms); MZ_CLEAR_OBJ(pTabl… in tinfl_decompress()
347 for (i = 0; i < r->m_table_sizes[r->m_type]; ++i) total_syms[pTable->m_code_size[i]]++; in tinfl_decompress()
356 …mz_uint rev_code = 0, l, cur_code, code_size = pTable->m_code_size[sym_index]; if (!code_size) con… in tinfl_decompress()
358 …ode_size << 9) | sym_index); while (rev_code < TINFL_FAST_LOOKUP_SIZE) { pTable->m_look_up[rev_cod… in tinfl_decompress()
359 …if (0 == (tree_cur = pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)])) { pTable->m_look… in tinfl_decompress()
364 …(!pTable->m_tree[-tree_cur - 1]) { pTable->m_tree[-tree_cur - 1] = (mz_int16)tree_next; tree_cur =… in tinfl_decompress()
366 tree_cur -= ((rev_code >>= 1) & 1); pTable->m_tree[-tree_cur - 1] = (mz_int16)sym_index; in tinfl_decompress()
/external/icu/icu4c/source/common/
Ducnv_lmb.cpp450 const struct _UniLMBCSGrpMap * pTable = UniLMBCSGrpMap; in FindLMBCSUniRange() local
452 while (uniChar > pTable->uniEndRange) in FindLMBCSUniRange()
454 pTable++; in FindLMBCSUniRange()
457 if (uniChar >= pTable->uniStartRange) in FindLMBCSUniRange()
459 return pTable->GrpType; in FindLMBCSUniRange()
540 const struct _LocaleLMBCSGrpMap *pTable = LocaleLMBCSGrpMap; in FindLMBCSLocale() local
547 while (pTable->LocaleID) in FindLMBCSLocale()
549 if (*pTable->LocaleID == *LocaleID) /* Check only first char for speed */ in FindLMBCSLocale()
552 if (uprv_strncmp(pTable->LocaleID, LocaleID, strlen(pTable->LocaleID)) == 0) in FindLMBCSLocale()
553 return pTable->OptGroup; in FindLMBCSLocale()
[all …]
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration.cpp310 void CFX_CSSDeclaration::AddProperty(const CFX_CSSPropertyTable* pTable, in AddProperty() argument
324 const uint32_t dwType = pTable->dwType; in AddProperty()
356 AddPropertyHolder(pTable->eName, pCSSValue, bImportant); in AddProperty()
367 switch (pTable->eName) { in AddProperty()
417 ParseValueListProperty(pTable, pszValue, iValueLen, bImportant); in AddProperty()
469 const CFX_CSSPropertyTable* pTable, in ParseValueListProperty() argument
474 (pTable->eName == CFX_CSSProperty::FontFamily) ? ',' : ' '; in ParseValueListProperty()
477 const uint32_t dwType = pTable->dwType; in ParseValueListProperty()
527 switch (pTable->eName) { in ParseValueListProperty()
548 AddPropertyHolder(pTable->eName, pList, bImportant); in ParseValueListProperty()
Dcfx_cssdeclaration.h50 void AddProperty(const CFX_CSSPropertyTable* pTable,
67 void ParseValueListProperty(const CFX_CSSPropertyTable* pTable,
/external/aac/libSBRenc/src/
Dfram_gen.cpp665 const int *pTable = NULL; in generateFixFixOnly() local
670 pTable = envelopeTable_8[tranPosInternal]; in generateFixFixOnly()
675 pTable = envelopeTable_15[tranPosInternal]; in generateFixFixOnly()
679 pTable = envelopeTable_16[tranPosInternal]; in generateFixFixOnly()
685 nEnv = pTable[0]; in generateFixFixOnly()
687 for (i = 1; i < nEnv; i++) hSbrFrameInfo->borders[i] = pTable[i + 2]; in generateFixFixOnly()
705 hSbrFrameInfo->shortEnv = pTable[2]; in generateFixFixOnly()
707 tranIdx = pTable[1]; in generateFixFixOnly()
/external/aac/libSBRdec/src/
Denv_extr.cpp1153 const int *pTable; in generateFixFixOnly() local
1157 pTable = FDK_sbrDecoder_envelopeTable_8[tranPosInternal]; in generateFixFixOnly()
1160 pTable = FDK_sbrDecoder_envelopeTable_15[tranPosInternal]; in generateFixFixOnly()
1166 pTable = FDK_sbrDecoder_envelopeTable_16[tranPosInternal]; in generateFixFixOnly()
1171 nEnv = pTable[0]; in generateFixFixOnly()
1173 for (i = 1; i < nEnv; i++) hSbrFrameInfo->borders[i] = pTable[i + 2]; in generateFixFixOnly()
1180 tranIdx = hSbrFrameInfo->tranEnv = pTable[1]; in generateFixFixOnly()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp535 const uint32_t* pTable = m_VertMetrics.data(); in GetVertWidth() local
537 const uint32_t* pEntry = pTable + (i * 5); in GetVertWidth()
548 const uint32_t* pTable = m_VertMetrics.data(); in GetVertOrigin() local
550 const uint32_t* pEntry = pTable + (i * 5); in GetVertOrigin()
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp1082 const uint8_t* pTable = m_Table.raw_str(); in GetRGB() local
1086 m_pCompMinMax[i * 2 + 1] * pTable[index * m_nBaseComponents + i] / 255; in GetRGB()
/external/sqlite/dist/orig/
Dsqlite3.c16040 Table *pTable; /* The SQL table being indexed */ member
60615 iTab = pIdx->pTable->tnum;
95974 sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur,
100051 Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable);
100257 analyzeTable(pParse, pIdx->pTable, pIdx);
100336 pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9));
100359 Table *pTable;
100368 pTable = sqlite3FindTable(pInfo->db, argv[0], pInfo->zDatabase);
100369 if( pTable==0 ){
100375 pIndex = sqlite3PrimaryKeyIndex(pTable);
[all …]
Dshell.c6069 IdxTable *pTable; /* List of all IdxTable objects */ member
6345 p->pTab = pExpert->pTable; in expertConnect()
7114 for(pTab=p->pTable; pTab; pTab=pTab->pNext){ in idxAuthCallback()
7269 pTab->pNext = p->pTable; in idxCreateVtabSchema()
7270 p->pTable = pTab; in idxCreateVtabSchema()
7871 idxTableFree(p->pTable); in sqlite3_expert_destroy()
/external/sqlite/dist/
Dsqlite3.c16040 Table *pTable; /* The SQL table being indexed */ member
60615 iTab = pIdx->pTable->tnum;
95974 sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur,
100051 Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable);
100257 analyzeTable(pParse, pIdx->pTable, pIdx);
100336 pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9));
100359 Table *pTable;
100368 pTable = sqlite3FindTable(pInfo->db, argv[0], pInfo->zDatabase);
100369 if( pTable==0 ){
100375 pIndex = sqlite3PrimaryKeyIndex(pTable);
[all …]
Dshell.c6075 IdxTable *pTable; /* List of all IdxTable objects */ member
6351 p->pTab = pExpert->pTable; in expertConnect()
7120 for(pTab=p->pTable; pTab; pTab=pTab->pNext){ in idxAuthCallback()
7275 pTab->pNext = p->pTable; in idxCreateVtabSchema()
7276 p->pTable = pTab; in idxCreateVtabSchema()
7877 idxTableFree(p->pTable); in sqlite3_expert_destroy()