Home
last modified time | relevance | path

Searched refs:platform_id (Results 1 – 25 of 83) sorted by relevance

1234

/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc36 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 …]
Dname_table.h418 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 …]
Dcmap_table.h53 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,
Dcmap_table.cc68 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/
Dplugin_registry.cc67 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 …]
Dplugin_registry.h64 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/
Dsgi_bl31_setup.c76 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/
Dxla_platform_info.cc33 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()
Dxla_platform_info.h33 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/
Dcmap_iterator_test.cc44 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/
Dcmap_basic_test.cc93 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/
Dcpdf_truetypefont.cpp53 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/
DBUILD19 "//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/
Dmain.cpp175 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/
Dtpu_platform_id.cc25 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/
Dcompiler.cc73 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()
Dcomputation_placer.cc148 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()
Dgeneric_transfer_manager.cc34 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/
Dcl_device.cc245 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/
Dmain.cpp101 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()
Dtest_fence_sync.cpp309 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/
Dhello-opencl.cpp23 cl_platform_id platform_id; in main() local
38 &platform_id, &device_id, in main()
/external/tensorflow/tensorflow/compiler/xla/python/
Ddlpack.cc209 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/
Dfind_cl.c32 cl_platform_id * const platform_id, in clFindIdsByName() argument
77 *platform_id = platform_ids[ii]; in clFindIdsByName()
Dfind_cl.h25 cl_platform_id * const platform_id,

1234