/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 string& name, \ 171 Platform::Id platform_id, PluginId plugin_id); \
|
/external/arm-trusted-firmware/plat/arm/css/sgi/ |
D | sgi_bl31_setup.c | 41 if (sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) in plat_css_get_scmi_info() 43 else if (sgi_plat_info.platform_id == SGI575_SSC_VER_PART_NUM) in plat_css_get_scmi_info() 52 sgi_plat_info.platform_id = plat_arm_sgi_get_platform_id(); in bl31_early_platform_setup2() 70 if ((sgi_plat_info.platform_id == RD_N1E1_EDGE_SID_VER_PART_NUM) && in plat_arm_psci_override_pm_ops()
|
/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/tensorflow/tensorflow/compiler/xla/service/interpreter/ |
D | BUILD | 18 "//tensorflow/compiler/xla/service/interpreter:platform_id", 31 ":platform_id", 65 name = "platform_id", 66 srcs = ["platform_id.cc"], 67 hdrs = ["platform_id.h"], 111 ":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/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() 240 …t_properties context_properties[3] = {CL_CONTEXT_PLATFORM, (cl_context_properties)platform_id, 0 }; in create_cl_objects()
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | xla_ops.h | 41 se::Platform::Id platform_id, in XlaPlatformInfo() argument 45 platform_id_(platform_id), in XlaPlatformInfo() 64 se::Platform::Id platform_id() const { return platform_id_; } in platform_id() function
|
D | xla_ops.cc | 66 se::Platform::Id platform_id = nullptr; in PlatformInfoFromContext() local 71 platform_id = se::host::kHostPlatformId; in PlatformInfoFromContext() 73 platform_id = ctx->device() in PlatformInfoFromContext() 88 platform_id = xla_device_metadata->platform()->id(); in PlatformInfoFromContext() 93 return XlaPlatformInfo(device_type, platform_id, xla_device_metadata, in PlatformInfoFromContext() 193 se::MultiPlatformManager::PlatformWithId(platform_info.platform_id()) in GetAllocator() 227 se::MultiPlatformManager::PlatformWithId(platform_info.platform_id()); in BuildCompilationCache() 311 (platform_info.platform_id() == se::host::kHostPlatformId); in CompileToLocalExecutable() 391 if (!stream || platform_info_.platform_id() == se::host::kHostPlatformId) { in Compute() 599 if (!stream || platform_info_.platform_id() == se::host::kHostPlatformId) { in Compute()
|
/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 | 139 se::Platform::Id platform_id, in RegisterComputationPlacer() argument 144 CHECK(computation_placers->find(platform_id) == computation_placers->end()); in RegisterComputationPlacer() 145 (*computation_placers)[platform_id].creation_function = creation_function; in RegisterComputationPlacer()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | main.cpp | 98 cl_platform_id platform_id = NULL; in main() local 222 sizeof(platform_id), in main() 223 &platform_id, in main() 230 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/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_device.cc | 350 CLDevice::CLDevice(cl_device_id id, cl_platform_id platform_id) in CLDevice() argument 351 : id_(id), platform_id_(platform_id), info_(id) {} in CLDevice() 464 cl_platform_id platform_id = platforms[0]; in CreateDefaultGPUDevice() local 466 clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU, 0, nullptr, &num_devices); in CreateDefaultGPUDevice() 472 clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU, num_devices, devices.data(), in CreateDefaultGPUDevice() 475 *result = CLDevice(devices[0], platform_id); in CreateDefaultGPUDevice()
|
/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 | 215 se::Platform::Id platform_id; in DeviceForDLContext() local 218 platform_id = se::host::kHostPlatformId; in DeviceForDLContext() 221 platform_id = se::cuda::kCudaPlatformId; in DeviceForDLContext() 230 platform_id && 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,
|
/external/arm-trusted-firmware/plat/arm/css/sgi/include/ |
D | sgi_variant.h | 19 unsigned int platform_id; /* Part Number of the platform */ member
|
/external/OpenCL-CTS/test_common/gles/ |
D | helpers.cpp | 1227 int init_clgl_ext(cl_platform_id platform_id) in init_clgl_ext() argument 1230 …tr = (clCreateFromGLBuffer_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clCreateFromG… in init_clgl_ext() 1237 …r = (clCreateFromGLTexture_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clCreateFromG… in init_clgl_ext() 1244 …clCreateFromGLRenderbuffer_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clCreateFromG… in init_clgl_ext() 1251 …o_ptr = (clGetGLObjectInfo_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clGetGLObject… in init_clgl_ext() 1258 …_ptr = (clGetGLTextureInfo_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clGetGLTextur… in init_clgl_ext() 1265 …(clEnqueueAcquireGLObjects_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clEnqueueAcqu… in init_clgl_ext() 1272 …(clEnqueueReleaseGLObjects_fn)clGetExtensionFunctionAddressForPlatform(platform_id, "clEnqueueRele… in init_clgl_ext()
|