Home
last modified time | relevance | path

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

123

/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.cc64 Platform::Id platform_id) { in MapPlatformKindToId() argument
65 platform_id_by_kind_[platform_kind] = platform_id; in MapPlatformKindToId()
104 bool PluginRegistry::SetDefaultFactory(Platform::Id platform_id, in SetDefaultFactory() argument
107 if (!HasFactory(platform_id, plugin_kind, plugin_id)) { in SetDefaultFactory()
109 MultiPlatformManager::PlatformWithId(platform_id); in SetDefaultFactory()
125 default_factories_[platform_id].blas = plugin_id; in SetDefaultFactory()
128 default_factories_[platform_id].dnn = plugin_id; in SetDefaultFactory()
131 default_factories_[platform_id].fft = plugin_id; in SetDefaultFactory()
134 default_factories_[platform_id].rng = plugin_id; in SetDefaultFactory()
164 bool PluginRegistry::HasFactory(Platform::Id platform_id, in HasFactory() argument
[all …]
Dplugin_registry.h65 port::Status RegisterFactory(Platform::Id platform_id, PluginId plugin_id,
78 Platform::Id platform_id);
84 bool SetDefaultFactory(Platform::Id platform_id, PluginKind plugin_kind,
89 bool HasFactory(Platform::Id platform_id, PluginKind plugin_kind,
95 port::StatusOr<FactoryT> GetFactory(Platform::Id platform_id,
/external/libxcam/modules/ocl/
Dcl_device.cpp101 cl_platform_id platform_id = NULL; in init() local
107 if (clGetPlatformIDs (1, &platform_id, &num_platform) != CL_SUCCESS) in init()
114 if (clGetDeviceIDs (platform_id, CL_DEVICE_TYPE_GPU, 1, &device_id, &num_device) != CL_SUCCESS) in init()
142 if (clGetPlatformInfo(platform_id, CL_PLATFORM_NAME, 0, 0, &sz) != CL_SUCCESS) in init()
152 if (clGetPlatformInfo(platform_id, CL_PLATFORM_NAME, sz, _platform_name, 0) != CL_SUCCESS) in init()
158 _platform_id = platform_id; in init()
Dcv_context.cpp48 cl_platform_id platform_id = CLDevice::instance()->get_platform_id (); in init_opencv_ocl() local
52 cv::ocl::attachContext (platform_name, platform_id, _context_id, device_id); in init_opencv_ocl()
/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/tensorflow/tensorflow/compiler/xla/service/interpreter/
DBUILD17 "//tensorflow/compiler/xla/service/interpreter:platform_id",
30 ":platform_id",
65 name = "platform_id",
66 srcs = ["platform_id.cc"],
67 hdrs = ["platform_id.h"],
107 ":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.cpp48 int platform_id = FXFT_Get_Charmap_PlatformID( in LoadGlyphMap() local
50 if (platform_id == 0 || platform_id == 3) { in LoadGlyphMap()
52 } else if (platform_id == 0 || platform_id == 1) { in LoadGlyphMap()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.h40 se::Platform::Id platform_id, in XlaPlatformInfo() argument
45 platform_id_(platform_id), in XlaPlatformInfo()
65 se::Platform::Id platform_id() const { return platform_id_; } in platform_id() function
Dxla_ops.cc62 se::Platform::Id platform_id = nullptr; in PlatformInfoFromContext() local
68 platform_id = se::host::kHostPlatformId; in PlatformInfoFromContext()
70 platform_id = ctx->device() in PlatformInfoFromContext()
86 platform_id = xla_device_metadata->platform()->id(); in PlatformInfoFromContext()
93 se::MultiPlatformManager::PlatformWithId(platform_id); in PlatformInfoFromContext()
100 return XlaPlatformInfo(device_type, platform_id, xla_device_metadata, in PlatformInfoFromContext()
209 se::MultiPlatformManager::PlatformWithId(platform_info.platform_id()); in BuildCompilationCache()
292 (platform_info.platform_id() == se::host::kHostPlatformId); in CompileToLocalExecutable()
/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.cc115 se::Platform::Id platform_id, in RegisterComputationPlacer() argument
120 CHECK(computation_placers->find(platform_id) == computation_placers->end()); in RegisterComputationPlacer()
121 (*computation_placers)[platform_id].creation_function = creation_function; in RegisterComputationPlacer()
Dgeneric_transfer_manager.cc35 GenericTransferManager::GenericTransferManager(se::Platform::Id platform_id, in GenericTransferManager() argument
37 : platform_id_(platform_id), pointer_size_(pointer_size) {} in GenericTransferManager()
Dtransfer_manager.cc202 se::Platform::Id platform_id, in RegisterTransferManager() argument
207 CHECK(managers->find(platform_id) == managers->end()); in RegisterTransferManager()
208 (*managers)[platform_id].creation_function = creation_function; in RegisterTransferManager()
/external/skqp/tools/
Dhello-opencl.cpp23 cl_platform_id platform_id; in main() local
38 &platform_id, &device_id, in main()
/external/skia/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,
/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,
/external/libxcam/plugins/smart/dvs/
Dxcam_plugin_dvs.cpp76 cl_platform_id platform_id = XCam::CLDevice::instance()->get_platform_id(); in dvs_create_context() local
82 cv::ocl::attachContext (platform_name, platform_id, cl_context_id, device_id); in dvs_create_context()
/external/freetype/include/freetype/
Dftsnames.h114 FT_UShort platform_id; member

123