Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/net/common/native/bpf_headers/include/bpf/
Dbpf_helpers.h140 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument
146 .max_entries = (num_entries), \
175 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument
176 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, "", "", false)
178 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument
179 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, AID_ROOT, 0600)
181 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
182 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0620)
184 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
185 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0640)
[all …]
/frameworks/native/libs/binder/
DPersistableBundle.cpp322 size_t num_entries = size(); in writeToParcelInner() local
323 if (num_entries > std::numeric_limits<int32_t>::max()) { in writeToParcelInner()
325 num_entries); in writeToParcelInner()
328 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(num_entries))); in writeToParcelInner()
412 int32_t num_entries; in readFromParcelInner() local
413 RETURN_IF_FAILED(parcel->readInt32(&num_entries)); in readFromParcelInner()
415 for (; num_entries > 0; --num_entries) { in readFromParcelInner()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp560 const size_t num_entries = sorted_entries.back().id.value() + 1; in FlattenTypeSpec() local
562 spec_header->entryCount = util::HostToDevice32(num_entries); in FlattenTypeSpec()
566 uint32_t* config_masks = type_spec_writer.NextBlock<uint32_t>(num_entries); in FlattenTypeSpec()
616 const size_t num_entries = type.entries.back().id.value() + 1; in FlattenTypes() local
654 if (!FlattenConfig(type, entry.first, num_entries, &entry.second, buffer)) { in FlattenTypes()
667 const size_t num_entries = (package_.id.value() == 0x00 ? 1 : 0) + shared_libs_->size(); in FlattenLibrarySpec() local
668 CHECK(num_entries > 0); in FlattenLibrarySpec()
670 lib_header->count = util::HostToDevice32(num_entries); in FlattenLibrarySpec()
672 ResTable_lib_entry* lib_entry = buffer->NextBlock<ResTable_lib_entry>(num_entries); in FlattenLibrarySpec()
/frameworks/native/opengl/include/EGL/
Deglext.h637 …ENTRYP PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) (const EGLint *external_ref_ids, EGLint num_entries);
638 …TATTRIBUTESEXTPROC) (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries);
639 …SETWINDOWLISTEXTPROC) (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries);
640 …OWATTRIBUTESEXTPROC) (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries);
645 …an EGLAPIENTRY eglCompositorSetContextListEXT (const EGLint *external_ref_ids, EGLint num_entries);
646 …ontextAttributesEXT (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries);
647 …sitorSetWindowListEXT (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries);
648 …tWindowAttributesEXT (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries);