/external/sfntly/cpp/src/sfntly/table/core/ |
D | name_table.cc | 36 NameTable::NameEntryId::NameEntryId(int32_t platform_id, in NameEntryId() argument 40 : platform_id_(platform_id), in NameEntryId() 82 Init(name_entry_id.platform_id(), in NameEntry() 89 NameTable::NameEntry::NameEntry(int32_t platform_id, in NameEntry() argument 94 Init(platform_id, encoding_id, language_id, name_id, &name_bytes); in NameEntry() 109 platform_id(), in Name() 118 void NameTable::NameEntry::Init(int32_t platform_id, in Init() argument 123 name_entry_id_ = NameEntryId(platform_id, encoding_id, language_id, name_id); in Init() 140 Init(name_entry_id.platform_id(), in NameEntryBuilder() 149 Init(name_entry_id.platform_id(), in NameEntryBuilder() [all …]
|
D | name_table.h | 418 NameEntryId(int32_t platform_id, int32_t encoding_id, int32_t language_id, 424 int32_t platform_id() const { return platform_id_; } in platform_id() function 450 NameEntry(int32_t platform_id, 458 int32_t platform_id() const { return name_entry_id_.platform_id(); } in platform_id() function 479 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id, 512 void Init(int32_t platform_id, int32_t encoding_id, int32_t language_id, 524 virtual bool Accept(int32_t platform_id, 535 NameEntryFilterInPlace(int32_t platform_id, 542 virtual bool Accept(int32_t platform_id, 597 bool Has(int32_t platform_id, int32_t encoding_id, int32_t language_id, [all …]
|
D | cmap_table.h | 53 int32_t platform_id; member 56 return platform_id == obj.platform_id && encoding_id == obj.encoding_id; 135 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function 184 virtual int32_t platform_id() { return cmap_id_.platform_id; } in platform_id() function 552 static CMapId NewCMapId(int32_t platform_id, int32_t encoding_id); 559 CALLER_ATTACH CMap* GetCMap(const int32_t platform_id,
|
D | cmap_table.cc | 68 int32_t platform_id = PlatformId(index); in GetCMap() local 70 CMapId cmap_id = NewCMapId(platform_id, encoding_id); in GetCMap() 84 CALLER_ATTACH CMapTable::CMap* CMapTable::GetCMap(const int32_t platform_id, in GetCMap() argument 86 return GetCMap(NewCMapId(platform_id, encoding_id)); in GetCMap() 137 CMapTable::CMapId CMapTable::NewCMapId(int32_t platform_id, in NewCMapId() argument 140 result.platform_id = platform_id; in NewCMapId() 147 result.platform_id = obj.platform_id; in NewCMapId() 206 return ((lhs.platform_id << 8 | lhs.encoding_id) > in operator ()() 207 (rhs.platform_id << 8 | rhs.encoding_id)); in operator ()() 1139 index_offset += new_data->WriteUShort(index_offset, b->platform_id()); in SubSerialize() [all …]
|
/external/tensorflow/tensorflow/stream_executor/ |
D | plugin_registry.cc | 67 Platform::Id platform_id) { in MapPlatformKindToId() argument 68 platform_id_by_kind_[platform_kind] = platform_id; in MapPlatformKindToId() 107 bool PluginRegistry::SetDefaultFactory(Platform::Id platform_id, in SetDefaultFactory() argument 110 if (!HasFactory(platform_id, plugin_kind, plugin_id)) { in SetDefaultFactory() 112 MultiPlatformManager::PlatformWithId(platform_id); in SetDefaultFactory() 128 default_factories_[platform_id].blas = plugin_id; in SetDefaultFactory() 131 default_factories_[platform_id].dnn = plugin_id; in SetDefaultFactory() 134 default_factories_[platform_id].fft = plugin_id; in SetDefaultFactory() 137 default_factories_[platform_id].rng = plugin_id; in SetDefaultFactory() 167 bool PluginRegistry::HasFactory(Platform::Id platform_id, in HasFactory() argument [all …]
|
D | plugin_registry.h | 64 port::Status RegisterFactory(Platform::Id platform_id, PluginId plugin_id, 77 Platform::Id platform_id); 83 bool SetDefaultFactory(Platform::Id platform_id, PluginKind plugin_kind, 88 bool HasFactory(Platform::Id platform_id, PluginKind plugin_kind, 94 port::StatusOr<FactoryT> GetFactory(Platform::Id platform_id, 167 Platform::Id platform_id, PluginId plugin_id, const std::string& name, \ 171 Platform::Id platform_id, PluginId plugin_id); \
|
/external/arm-trusted-firmware/plat/arm/css/sgi/ |
D | sgi_bl31_setup.c | 76 if (sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM || in plat_css_get_scmi_info() 77 sgi_plat_info.platform_id == RD_V1_SID_VER_PART_NUM || in plat_css_get_scmi_info() 78 sgi_plat_info.platform_id == RD_N2_SID_VER_PART_NUM) { in plat_css_get_scmi_info() 83 else if (sgi_plat_info.platform_id == SGI575_SSC_VER_PART_NUM) in plat_css_get_scmi_info() 92 sgi_plat_info.platform_id = plat_arm_sgi_get_platform_id(); in bl31_early_platform_setup2() 114 if (((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) && in plat_arm_psci_override_pm_ops()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_platform_info.cc | 33 se::MultiPlatformManager::PlatformWithId(platform_info.platform_id()); in BuildXlaCompilationCache() 80 se::Platform::Id platform_id = nullptr; in XlaPlatformInfoFromDevice() local 85 platform_id = se::host::kHostPlatformId; in XlaPlatformInfoFromDevice() 87 platform_id = device->tensorflow_gpu_device_info() in XlaPlatformInfoFromDevice() 102 platform_id = xla_device_metadata->platform()->id(); in XlaPlatformInfoFromDevice() 107 return XlaPlatformInfo(DeviceType(device->device_type()), platform_id, in XlaPlatformInfoFromDevice() 121 se::MultiPlatformManager::PlatformWithId(platform_info.platform_id()) in GetAllocator() 144 (platform_info.platform_id() == se::host::kHostPlatformId); in GenerateCompilerOptions()
|
D | xla_platform_info.h | 33 se::Platform::Id platform_id, in XlaPlatformInfo() argument 37 platform_id_(platform_id), in XlaPlatformInfo() 56 se::Platform::Id platform_id() const { return platform_id_; } in platform_id() function
|
/external/sfntly/cpp/src/test/ |
D | cmap_iterator_test.cc | 44 CMapIteratorTestCase(int32_t platform_id, int32_t encoding_id, in CMapIteratorTestCase() argument 46 : platform_id_(platform_id), in CMapIteratorTestCase() 51 int32_t platform_id() const { return platform_id_; } in platform_id() function in sfntly::CMapIteratorTestCase 84 cmap_.Attach(cmap_table->GetCMap(GetParam().platform_id(), in SetUp() 142 CMapIteratorTestCase(CMapTable::WINDOWS_BMP.platform_id,
|
/external/sfntly/cpp/src/test/autogenerated/ |
D | cmap_basic_test.cc | 93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P() local 96 cmap.Attach(cmap_table_->GetCMap(platform_id, encoding_id)); in TEST_P() 102 ASSERT_EQ(cmap->platform_id(), platform_id); in TEST_P()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_truetypefont.cpp | 53 int platform_id = in LoadGlyphMap() local 55 if (platform_id == 0 || platform_id == 3) { in LoadGlyphMap() 57 } else if (platform_id == 0 || platform_id == 1) { in LoadGlyphMap()
|
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/ |
D | BUILD | 19 "//tensorflow/compiler/xla/service/interpreter:platform_id", 32 ":platform_id", 68 name = "platform_id", 69 srcs = ["platform_id.cc"], 70 hdrs = ["platform_id.h"], 139 ":platform_id",
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | main.cpp | 175 cl_platform_id platform_id; in create_cl_objects() local 177 … clGetDeviceInfo(device_from_harness, CL_DEVICE_PLATFORM,sizeof(cl_platform_id),&platform_id,NULL); in create_cl_objects() 180 error = clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_ALL, 0, NULL, num_devices ); in create_cl_objects() 185 error = clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_ALL, *num_devices, &devicesTmp[0], NULL ); in create_cl_objects() 241 …t_properties context_properties[3] = {CL_CONTEXT_PLATFORM, (cl_context_properties)platform_id, 0 }; in create_cl_objects()
|
/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | tpu_platform_id.cc | 25 const ::stream_executor::Platform::Id platform_id = &plugin_id_value; in GetTpuPlatformId() local 26 return platform_id; in GetTpuPlatformId()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | compiler.cc | 73 se::Platform::Id platform_id, in RegisterCompilerFactory() argument 77 CHECK(factories->find(platform_id) == factories->end()) in RegisterCompilerFactory() 79 (*factories)[platform_id] = std::move(compiler_factory); in RegisterCompilerFactory()
|
D | computation_placer.cc | 148 se::Platform::Id platform_id, in RegisterComputationPlacer() argument 153 CHECK(computation_placers->find(platform_id) == computation_placers->end()); in RegisterComputationPlacer() 154 (*computation_placers)[platform_id].creation_function = creation_function; in RegisterComputationPlacer()
|
D | generic_transfer_manager.cc | 34 GenericTransferManager::GenericTransferManager(se::Platform::Id platform_id, in GenericTransferManager() argument 36 : platform_id_(platform_id), pointer_size_(pointer_size) {} in GenericTransferManager()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_device.cc | 245 CLDevice::CLDevice(cl_device_id id, cl_platform_id platform_id) in CLDevice() argument 246 : info_(GpuInfoFromDeviceID(id)), id_(id), platform_id_(platform_id) { in CLDevice() 305 cl_platform_id platform_id = platforms[0]; in CreateDefaultGPUDevice() local 307 clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU, 0, nullptr, &num_devices); in CreateDefaultGPUDevice() 313 clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU, num_devices, devices.data(), in CreateDefaultGPUDevice() 316 *result = CLDevice(devices[0], platform_id); in CreateDefaultGPUDevice()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | main.cpp | 101 cl_platform_id platform_id = NULL; in main() local 230 sizeof(platform_id), in main() 231 &platform_id, in main() 238 error = init_clgl_ext(platform_id); in main()
|
D | test_fence_sync.cpp | 309 cl_platform_id platform_id = NULL; in test_fence_sync_single() local 319 sizeof(platform_id), in test_fence_sync_single() 320 &platform_id, in test_fence_sync_single() 328 …(clCreateEventFromGLsyncKHR_fn)clGetExtensionFunctionAddressForPlatform(platform_id,"clCreateEvent… in test_fence_sync_single() 333 …(clCreateEventFromGLsyncKHR_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clCreateEven… in test_fence_sync_single()
|
/external/skqp/tools/ |
D | hello-opencl.cpp | 23 cl_platform_id platform_id; in main() local 38 &platform_id, &device_id, in main()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | dlpack.cc | 209 if (device.client()->platform_id() == kCpuId) { in DLDeviceTypeForDevice() 211 } else if (device.client()->platform_id() == kGpuId) { in DLDeviceTypeForDevice() 229 if (client.platform_id() != kCpuId) { in DeviceForDLContext() 236 if (client.platform_id() != kGpuId) { in DeviceForDLContext()
|
/external/skqp/src/compute/common/cl/ |
D | find_cl.c | 32 cl_platform_id * const platform_id, in clFindIdsByName() argument 77 *platform_id = platform_ids[ii]; in clFindIdsByName()
|
D | find_cl.h | 25 cl_platform_id * const platform_id,
|