Home
last modified time | relevance | path

Searched refs:leaf_type (Results 1 – 18 of 18) sorted by relevance

/external/bcc/src/lua/bcc/
Dtable.lua34 function BaseTable:initialize(t_type, bpf, map_id, map_fd, key_type, leaf_type)
42 self.c_leaf = ffi.typeof(leaf_type.."[1]")
152 function HashTable:initialize(bpf, map_id, map_fd, key_type, leaf_type)
153 BaseTable.initialize(self, BaseTable.BPF_MAP_TYPE_HASH, bpf, map_id, map_fd, key_type, leaf_type)
171 function BaseArray:initialize(t_type, bpf, map_id, map_fd, key_type, leaf_type)
172 BaseTable.initialize(self, t_type, bpf, map_id, map_fd, key_type, leaf_type)
229 function Array:initialize(bpf, map_id, map_fd, key_type, leaf_type)
230 BaseArray.initialize(self, BaseTable.BPF_MAP_TYPE_ARRAY, bpf, map_id, map_fd, key_type, leaf_type)
237 function PerfEventArray:initialize(bpf, map_id, map_fd, key_type, leaf_type)
238 …initialize(self, BaseTable.BPF_MAP_TYPE_PERF_EVENT_ARRAY, bpf, map_id, map_fd, key_type, leaf_type)
[all …]
Dbpf.lua231 function Bpf:get_table(name, key_type, leaf_type)
233 self.tables[name] = Table(self, name, key_type, leaf_type)
/external/bcc/src/cc/
Dtable_storage.cc56 clang::QualType leaf_type) { in VisitMapType() argument
58 v->Visit(desc, C, key_type, leaf_type); in VisitMapType()
Djson_map_decl_visitor.cc190 clang::QualType leaf_type) { in Visit() argument
193 v2.TraverseType(leaf_type); in Visit()
Dbpf_module_rw_engine.cc386 Type *leaf_type = st->elements()[1]; in annotate() local
394 make_reader(&*m, leaf_type), _1, _2); in annotate()
398 std::bind(&BPFModule::snprintf, this, make_writer(&*m, leaf_type), in annotate()
Dtable_desc.h114 clang::QualType leaf_type) = 0;
Dtable_storage.h97 clang::QualType leaf_type);
/external/avb/
Daftltool1128 def __init__(self, version=1, timestamp=0, leaf_type=LeafType.VBMetaType): argument
1132 self.leaf_type = leaf_type
1152 (version, timestamp, leaf_type) = struct.unpack(
1157 leaf_type = cls.LeafType(leaf_type)
1159 raise AftlError("Unknown leaf type: {}".format(leaf_type))
1160 return version, timestamp, leaf_type
1211 self.leaf_type.value))
1225 o.write(fmt.format(i, 'Type:', self.leaf_type))
1236 leaf_type=self.LeafType.SignedVBMetaPrimaryAnnotationType)
1265 version, timestamp, leaf_type = Leaf._parse_header(encoded_leaf)
[all …]
Daftltool.py1128 def __init__(self, version=1, timestamp=0, leaf_type=LeafType.VBMetaType): argument
1132 self.leaf_type = leaf_type
1152 (version, timestamp, leaf_type) = struct.unpack(
1157 leaf_type = cls.LeafType(leaf_type)
1159 raise AftlError("Unknown leaf type: {}".format(leaf_type))
1160 return version, timestamp, leaf_type
1211 self.leaf_type.value))
1225 o.write(fmt.format(i, 'Type:', self.leaf_type))
1236 leaf_type=self.LeafType.SignedVBMetaPrimaryAnnotationType)
1265 version, timestamp, leaf_type = Leaf._parse_header(encoded_leaf)
[all …]
/external/avb/libavb_aftl/
Davb_aftl_types.h163 uint8_t leaf_type; member
Davb_aftl_util.c592 if (!read_u8(&(leaf->leaf_type), aftl_blob, blob_end)) { in parse_annotation_leaf()
596 if (leaf->leaf_type != AVB_AFTL_SIGNED_VBMETA_PRIMARY_ANNOTATION_LEAF) { in parse_annotation_leaf()
/external/bcc/src/cc/includes/
Dtable_storage.h97 clang::QualType leaf_type);
Dtable_desc.h114 clang::QualType leaf_type) = 0;
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc1122 QualType key_type, leaf_type; in VisitVarDecl() local
1145 leaf_type = F->getType(); in VisitVarDecl()
1173 if (!leaf_type->isSpecificBuiltinType(BuiltinType::ULongLong)) in VisitVarDecl()
1174 error(GET_BEGINLOC(Decl), "histogram leaf type must be u64, got %0") << leaf_type; in VisitVarDecl()
1244 fe_.table_storage().VisitMapType(table, C, key_type, leaf_type); in VisitVarDecl()
/external/avb/test/
Davb_aftl_validate_unittest.cc208 icp_entry_->annotation_leaf->leaf_type = in SetUp()
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc796 StructType *leaf_type; in visit_table_index_expr_node() local
797 TRY2(lookup_struct_type(n->table_->leaf_type_, &leaf_type)); in visit_table_index_expr_node()
798 PointerType *leaf_ptype = PointerType::getUnqual(leaf_type); in visit_table_index_expr_node()
823 make_alloca(resolve_entry_stack(), leaf_type), B.getInt8PtrTy()); in visit_table_index_expr_node()
/external/bcc/docs/
Dreference_guide.md511 Syntax: ```BPF_HASH(name [, key_type [, leaf_type [, size]]])```
515 Defaults: ```BPF_HASH(name, key_type=u64, leaf_type=u64, size=10240)```
533 Syntax: ```BPF_ARRAY(name [, leaf_type [, size]])```
537 Defaults: ```BPF_ARRAY(name, leaf_type=u64, size=10240)```
620 Syntax: ```BPF_PERCPU_ARRAY(name [, leaf_type [, size]])```
625 Defaults: ```BPF_PERCPU_ARRAY(name, leaf_type=u64, size=10240)```
643 Syntax: `BPF_LPM_TRIE(name [, key_type [, leaf_type [, size]]])`
647 Defaults: `BPF_LPM_TRIE(name, key_type=u64, leaf_type=u64, size=10240)`
Dtutorial_bcc_python_developer.md684 // map_type, key_type, leaf_type, table_name, num_entry