Home
last modified time | relevance | path

Searched refs:type_table (Results 1 – 10 of 10) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dminireflect.h72 inline size_t InlineSize(ElementaryType type, const TypeTable *type_table) { in InlineSize() argument
88 switch (type_table->st) { in InlineSize()
92 return static_cast<size_t>(type_table->values[type_table->num_elems]); in InlineSize()
108 template<typename T> const char *EnumName(T tval, const TypeTable *type_table) { in EnumName() argument
109 if (!type_table || !type_table->names) return nullptr; in EnumName()
110 auto i = LookupEnum(static_cast<int64_t>(tval), type_table->values, in EnumName()
111 type_table->num_elems); in EnumName()
112 if (i >= 0 && i < static_cast<int64_t>(type_table->num_elems)) { in EnumName()
113 return type_table->names[i]; in EnumName()
118 void IterateObject(const uint8_t *obj, const TypeTable *type_table,
[all …]
/external/pytorch/torch/csrc/jit/mobile/compatibility/
Dmodel_compatibility.cpp295 const auto& type_table = in _get_mobile_model_contained_types() local
301 for (const auto& type_definition : type_table) { in _get_mobile_model_contained_types()
338 std::unordered_set<std::string> type_table = in get() local
342 model_bytecode_version, model_info, type_table, operator_version}; in get()
373 for (const auto& type_name : model_info.type_table) { in is_compatible()
Dmodel_compatibility.h79 std::unordered_set<std::string> type_table; member
/external/e2fsprogs/ext2ed/
Dinit.c211 struct type_table { struct
217 struct type_table type_table[] = { variable
235 struct type_table *p; in add_new_variable()
240 for (p = type_table; p->name; p++) { in add_new_variable()
/external/mesa3d/src/mapi/glapi/gen/
Dtypeexpr.py67 class type_table(object): class
86 tt = type_table()
/external/pytorch/torch/csrc/jit/runtime/
Dinterpreter.h64 const std::vector<c10::TypePtr>& type_table() const;
Dinterpreter.cpp1208 const std::vector<TypePtr>& Code::type_table() const { in type_table() function in torch::jit::Code
/external/squashfs-tools/squashfs-tools/
Daction.c2442 struct type_entry type_table[] = { variable
2461 for(i = 0; type_table[i].type != 0; i++) in parse_type_arg()
2462 if (type_table[i].type == atom->argv[0][0]) in parse_type_arg()
2465 atom->data = &type_table[i]; in parse_type_arg()
2467 if(type_table[i].type != 0) in parse_type_arg()
/external/pytorch/torch/csrc/jit/serialization/
Dexport_bytecode.cpp244 mobile_code.types_ = code.type_table(); in compileGraphToMobileCode()
/external/pytorch/torch/csrc/jit/frontend/
Dir_emitter.cpp313 type_table[name] = std::move(type); in insertStore()
321 auto it2 = type_table.find(name); in findInThisFrame()
322 if (it2 != type_table.end()) { in findInThisFrame()
333 type_table[name] = std::move(type); in setType()
587 auto b = runner->type_table.erase(ident.name()); in removeVar()
598 for (auto& kv : type_table) { in definedVariables()
605 TypeTable type_table; member