/external/bcc/src/lua/bcc/ |
D | table.lua | 34 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 …]
|
D | bpf.lua | 231 function Bpf:get_table(name, key_type, leaf_type) 233 self.tables[name] = Table(self, name, key_type, leaf_type)
|
/external/bcc/src/cc/ |
D | table_storage.cc | 56 clang::QualType leaf_type) { in VisitMapType() argument 58 v->Visit(desc, C, key_type, leaf_type); in VisitMapType()
|
D | json_map_decl_visitor.cc | 190 clang::QualType leaf_type) { in Visit() argument 193 v2.TraverseType(leaf_type); in Visit()
|
D | bpf_module_rw_engine.cc | 386 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()
|
D | table_desc.h | 114 clang::QualType leaf_type) = 0;
|
D | table_storage.h | 97 clang::QualType leaf_type);
|
/external/avb/ |
D | aftltool | 1128 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 …]
|
D | aftltool.py | 1128 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/ |
D | avb_aftl_types.h | 163 uint8_t leaf_type; member
|
D | avb_aftl_util.c | 592 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/ |
D | table_storage.h | 97 clang::QualType leaf_type);
|
D | table_desc.h | 114 clang::QualType leaf_type) = 0;
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 1122 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/ |
D | avb_aftl_validate_unittest.cc | 208 icp_entry_->annotation_leaf->leaf_type = in SetUp()
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.cc | 796 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/ |
D | reference_guide.md | 511 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)`
|
D | tutorial_bcc_python_developer.md | 684 // map_type, key_type, leaf_type, table_name, num_entry
|