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.cpp18 CJBig2_HuffmanTable::CJBig2_HuffmanTable(const JBig2TableLine* pTable, in CJBig2_HuffmanTable() argument
22 ParseFromStandardTable(pTable); in CJBig2_HuffmanTable()
32 void CJBig2_HuffmanTable::ParseFromStandardTable(const JBig2TableLine* pTable) { in ParseFromStandardTable() argument
37 PREFLEN[i] = pTable[i].PREFLEN; in ParseFromStandardTable()
38 RANGELEN[i] = pTable[i].RANDELEN; in ParseFromStandardTable()
39 RANGELOW[i] = pTable[i].RANGELOW; in ParseFromStandardTable()
DJBig2_HuffmanTable.h19 CJBig2_HuffmanTable(const JBig2TableLine* pTable,
36 void ParseFromStandardTable(const JBig2TableLine* pTable);
DJBig2_HuffmanDecoder.h18 int decodeAValue(CJBig2_HuffmanTable* pTable, int* nResult);
DJBig2_SddProc.cpp331 std::unique_ptr<CJBig2_HuffmanTable> pTable; in decode_Huffman() local
568 pTable = pdfium::MakeUnique<CJBig2_HuffmanTable>( in decode_Huffman()
573 if (pHuffmanDecoder->decodeAValue(pTable.get(), (int*)&EXRUNLENGTH) != 0) { in decode_Huffman()
/external/vulkan-validation-layers/layers/
Dvk_layer_table.cpp139 VkLayerInstanceDispatchTable *pTable; in initInstanceTable() local
144 pTable = new VkLayerInstanceDispatchTable; in initInstanceTable()
145 map[(void *)key] = pTable; in initInstanceTable()
147 fprintf(stderr, "New, Instance: map: 0x%p, key: 0x%p, table: 0x%p\n", &map, key, pTable); in initInstanceTable()
156 layer_init_instance_dispatch_table(instance, pTable, gpa); in initInstanceTable()
158 return pTable; in initInstanceTable()
166 VkLayerDispatchTable *pTable; in initDeviceTable() local
171 pTable = new VkLayerDispatchTable; in initDeviceTable()
172 map[(void *)key] = pTable; in initDeviceTable()
174 fprintf(stderr, "New, Device: map: 0x%p, key: 0x%p, table: 0x%p\n", &map, key, pTable); in initDeviceTable()
[all …]
Dthreading.cpp86 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in DestroyInstance() local
101 pTable->DestroyInstance(instance, pAllocator); in DestroyInstance()
261 VkLayerDispatchTable *pTable = dev_data->device_dispatch_table; in GetDeviceProcAddr() local
263 if (pTable->GetDeviceProcAddr == NULL) in GetDeviceProcAddr()
265 return pTable->GetDeviceProcAddr(device, funcName); in GetDeviceProcAddr()
287 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in GetInstanceProcAddr() local
288 if (pTable->GetInstanceProcAddr == NULL) { in GetInstanceProcAddr()
291 return pTable->GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr()
337 VkLayerDispatchTable *pTable = my_data->device_dispatch_table; in AllocateCommandBuffers() local
345 result = pTable->AllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers); in AllocateCommandBuffers()
[all …]
Dimage.cpp150 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in DestroyInstance() local
151 pTable->DestroyInstance(instance, pAllocator); in DestroyInstance()
1426 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in EnumerateDeviceExtensionProperties() local
1427 return pTable->EnumerateDeviceExtensionProperties(physicalDevice, NULL, pCount, pProperties); in EnumerateDeviceExtensionProperties()
1444 VkLayerDispatchTable *pTable = my_data->device_dispatch_table; in GetDeviceProcAddr() local
1446 if (pTable->GetDeviceProcAddr == NULL) in GetDeviceProcAddr()
1448 return pTable->GetDeviceProcAddr(device, funcName); in GetDeviceProcAddr()
1466 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in GetInstanceProcAddr() local
1467 if (pTable->GetInstanceProcAddr == NULL) in GetInstanceProcAddr()
1469 return pTable->GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr()
Dparameter_validation.cpp120 VkLayerInstanceDispatchTable *pTable = get_dispatch_table(pc_instance_table_map, instance); in CreateDebugReportCallbackEXT() local
121 …VkResult result = pTable->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCall… in CreateDebugReportCallbackEXT()
133 VkLayerInstanceDispatchTable *pTable = get_dispatch_table(pc_instance_table_map, instance); in DestroyDebugReportCallbackEXT() local
134 pTable->DestroyDebugReportCallbackEXT(instance, msgCallback, pAllocator); in DestroyDebugReportCallbackEXT()
143 VkLayerInstanceDispatchTable *pTable = get_dispatch_table(pc_instance_table_map, instance); in DebugReportMessageEXT() local
144pTable->DebugReportMessageEXT(instance, flags, objType, object, location, msgCode, pLayerPrefix, p… in DebugReportMessageEXT()
1328 …VkLayerInstanceDispatchTable *pTable = initInstanceTable(*pInstance, fpGetInstanceProcAddr, pc_ins… in CreateInstance() local
1331 …my_instance_data->report_data = debug_report_create_instance(pTable, *pInstance, pCreateInfo->enab… in CreateInstance()
1408 VkLayerInstanceDispatchTable *pTable = get_dispatch_table(pc_instance_table_map, instance); in DestroyInstance() local
1409 pTable->DestroyInstance(instance, pAllocator); in DestroyInstance()
[all …]
Dobject_tracker.cpp3033 … VkLayerInstanceDispatchTable *pTable = get_dispatch_table(ot_instance_table_map, physicalDevice); in EnumerateDeviceExtensionProperties() local
3034 return pTable->EnumerateDeviceExtensionProperties(physicalDevice, NULL, pCount, pProperties); in EnumerateDeviceExtensionProperties()
3043 VkLayerInstanceDispatchTable *pTable = get_dispatch_table(ot_instance_table_map, instance); in InterceptWsiEnabledCommand() local
3044 if (instanceExtMap.size() == 0 || !instanceExtMap[pTable].wsi_enabled) in InterceptWsiEnabledCommand()
3059 if ((instanceExtMap[pTable].win32_enabled == true) && !strcmp("vkCreateWin32SurfaceKHR", name)) in InterceptWsiEnabledCommand()
3061 …if ((instanceExtMap[pTable].win32_enabled == true) && !strcmp("vkGetPhysicalDeviceWin32Presentatio… in InterceptWsiEnabledCommand()
3065 if ((instanceExtMap[pTable].xcb_enabled == true) && !strcmp("vkCreateXcbSurfaceKHR", name)) in InterceptWsiEnabledCommand()
3067 …if ((instanceExtMap[pTable].xcb_enabled == true) && !strcmp("vkGetPhysicalDeviceXcbPresentationSup… in InterceptWsiEnabledCommand()
3071 if ((instanceExtMap[pTable].xlib_enabled == true) && !strcmp("vkCreateXlibSurfaceKHR", name)) in InterceptWsiEnabledCommand()
3073 …if ((instanceExtMap[pTable].xlib_enabled == true) && !strcmp("vkGetPhysicalDeviceXlibPresentationS… in InterceptWsiEnabledCommand()
[all …]
Dswapchain.cpp2361 VkLayerInstanceDispatchTable *pTable = my_data->instance_dispatch_table; in GetInstanceProcAddr() local
2369 if (pTable->GetInstanceProcAddr == NULL) in GetInstanceProcAddr()
2371 return pTable->GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr()
/external/icu/icu4c/source/common/
Ducnv_lmb.c450 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/xfa/fde/css/
Dcfde_cssdeclaration.cpp158 void CFDE_CSSDeclaration::AddProperty(const FDE_CSSPropertyTable* pTable, in AddProperty() argument
173 const uint32_t dwType = pTable->dwType; in AddProperty()
205 AddPropertyHolder(pTable->eName, pCSSValue, bImportant); in AddProperty()
215 switch (pTable->eName) { in AddProperty()
265 ParseValueListProperty(pTable, pszValue, iValueLen, bImportant); in AddProperty()
322 const FDE_CSSPropertyTable* pTable, in ParseValueListProperty() argument
327 (pTable->eName == FDE_CSSProperty::FontFamily) ? ',' : ' '; in ParseValueListProperty()
330 const uint32_t dwType = pTable->dwType; in ParseValueListProperty()
382 switch (pTable->eName) { in ParseValueListProperty()
403 AddPropertyHolder(pTable->eName, pList, bImportant); in ParseValueListProperty()
Dcfde_cssdeclaration.h50 void AddProperty(const FDE_CSSPropertyTable* pTable,
67 void ParseValueListProperty(const FDE_CSSPropertyTable* pTable,
/external/vulkan-validation-layers/tests/layers/
Dtest.cpp111 VkLayerInstanceDispatchTable *pTable = instance_data->instance_dispatch_table; in GetInstanceProcAddr() local
112 if (pTable->GetInstanceProcAddr == nullptr) in GetInstanceProcAddr()
117 return pTable->GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr()
Dwrap_objects.cpp1509 VkLayerInstanceDispatchTable* pTable = &inst->layer_disp; in vkGetInstanceProcAddr() local
1563 if (pTable->GetInstanceProcAddr == NULL) in vkGetInstanceProcAddr()
1565 return pTable->GetInstanceProcAddr(instance, funcName); in vkGetInstanceProcAddr()
/external/aac/libSBRdec/src/
Denv_extr.cpp893 const int *pTable; in generateFixFixOnly() local
897 pTable = FDK_sbrDecoder_envelopeTable_8[tranPosInternal]; in generateFixFixOnly()
900 pTable = FDK_sbrDecoder_envelopeTable_15[tranPosInternal]; in generateFixFixOnly()
903 pTable = FDK_sbrDecoder_envelopeTable_16[tranPosInternal]; in generateFixFixOnly()
908 pTable = NULL; in generateFixFixOnly()
913 nEnv = pTable[0]; in generateFixFixOnly()
916 hSbrFrameInfo->borders[i] = pTable[i+2]; in generateFixFixOnly()
923 tranIdx = hSbrFrameInfo->tranEnv = pTable[1]; in generateFixFixOnly()
/external/aac/libSBRenc/src/
Dfram_gen.cpp701 const int *pTable = NULL; in generateFixFixOnly() local
706 pTable = envelopeTable_8[tranPosInternal]; in generateFixFixOnly()
710 pTable = envelopeTable_15[tranPosInternal]; in generateFixFixOnly()
714 pTable = envelopeTable_16[tranPosInternal]; in generateFixFixOnly()
720 nEnv = pTable[0]; in generateFixFixOnly()
723 hSbrFrameInfo->borders[i] = pTable[i+2]; in generateFixFixOnly()
741 hSbrFrameInfo->shortEnv = pTable[2]; in generateFixFixOnly()
743 tranIdx = pTable[1]; in generateFixFixOnly()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp519 const uint32_t* pTable = m_VertMetrics.data(); in GetVertWidth() local
521 const uint32_t* pEntry = pTable + (i * 5); in GetVertWidth()
532 const uint32_t* pTable = m_VertMetrics.data(); in GetVertOrigin() local
534 const uint32_t* pEntry = pTable + (i * 5); in GetVertOrigin()
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp1068 const uint8_t* pTable = m_Table.raw_str(); in GetRGB() local
1072 m_pCompMinMax[i * 2 + 1] * pTable[index * m_nBaseComponents + i] / 255; in GetRGB()
/external/sqlite/dist/orig/
Dsqlite3.c14885 Table *pTable; /* The SQL table being indexed */ member
59142 iTab = pIdx->pTable->tnum;
93924 sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur,
97892 Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable);
98092 analyzeTable(pParse, pIdx->pTable, pIdx);
98171 pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9));
98194 Table *pTable;
98203 pTable = sqlite3FindTable(pInfo->db, argv[0], pInfo->zDatabase);
98204 if( pTable==0 ){
98210 pIndex = sqlite3PrimaryKeyIndex(pTable);
[all …]
/external/sqlite/dist/
Dsqlite3.c14885 Table *pTable; /* The SQL table being indexed */ member
59142 iTab = pIdx->pTable->tnum;
93924 sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur,
97892 Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable);
98092 analyzeTable(pParse, pIdx->pTable, pIdx);
98171 pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9));
98194 Table *pTable;
98203 pTable = sqlite3FindTable(pInfo->db, argv[0], pInfo->zDatabase);
98204 if( pTable==0 ){
98210 pIndex = sqlite3PrimaryKeyIndex(pTable);
[all …]