Home
last modified time | relevance | path

Searched +defs:map +defs:obj (Results 1 – 25 of 999) sorted by relevance

12345678910>>...40

/external/rust/android-crates-io/crates/libbpf-rs/tests/
Dtest.rs75 let obj = builder in test_object_build_from_memory() localVariable
83 let obj = unsafe { Object::from_ptr(obj.take_ptr()) }; in test_object_build_from_memory() localVariable
93 let obj = builder in test_object_build_from_memory_empty_name() localVariable
101 let obj = unsafe { Object::from_ptr(obj.take_ptr()) }; in test_object_build_from_memory_empty_name() localVariable
122 let obj = builder.open_file(obj_path).expect("failed to build object"); in test_object_name() localVariable
132 let mut obj = get_test_object("runqslower.bpf.o"); in test_object_maps() localVariable
143 let obj = get_test_object("runqslower.bpf.o"); in test_object_maps_iter() localVariable
156 let mut obj = get_test_object("runqslower.bpf.o"); in test_object_map_key_value_size() localVariable
172 let mut obj = get_test_object("runqslower.bpf.o"); in test_object_map_update_batch() localVariable
261 let mut obj = get_test_object("runqslower.bpf.o"); in test_object_map_delete_batch() localVariable
[all …]
Dtest_netfilter.rs43 let map = get_map_mut(obj, "ringbuf"); in test_attach_and_detach() localVariable
71 let mut obj = get_test_object("netfilter.bpf.o"); in test_netfilter() localVariable
88 let mut obj = get_test_object("netfilter.bpf.o"); in test_invalid_netfilter_opts() localVariable
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructorExampleTest.java30 Object obj = yaml.load(doc); in load() local
36 Object obj = load("example1.yaml"); in test1() local
41 Object obj = load("example2.yaml"); in test2() local
46 Container obj = (Container) load("example3.yaml"); in test3() local
54 Object obj = load("example4.yaml"); in test4() local
65 Object obj = load("example5.yaml"); in test5() local
76 Object obj = load("example6.yaml"); in test6() local
87 Object obj = load("example7.yaml"); in test7() local
100 Map<String, Object> map = (Map<String, Object>) load("example9.yaml"); in test9() local
114 Map<String, Object> map = (Map<String, Object>) load("example10.yaml"); in test10() local
/external/python/cpython3/Lib/test/support/
Dasyncore.py87 def read(obj): argument
95 def write(obj): argument
103 def _exception(obj): argument
111 def readwrite(obj, flags): argument
131 def poll(timeout=0.0, map=None): argument
170 def poll2(timeout=0.0, map=None): argument
198 def loop(timeout=30.0, use_poll=False, map=None, count=None): argument
226 def __init__(self, sock=None, map=None): argument
271 def add_channel(self, map=None): argument
277 def del_channel(self, map=None): argument
[all …]
/external/guava/android/guava/src/com/google/common/base/
DFunctions.java124 Map<K, V> map) { in forMap()
142 Map<K, ? extends V> map, @ParametricNullness V defaultValue) { in forMap()
149 final Map<K, V> map; field in Functions.FunctionForMapNoDefault
151 FunctionForMapNoDefault(Map<K, V> map) { in FunctionForMapNoDefault()
188 final Map<K, ? extends V> map; field in Functions.ForMapWithDefault
191 ForMapWithDefault(Map<K, ? extends V> map, @ParametricNullness V defaultValue) { in ForMapWithDefault()
264 public boolean equals(@CheckForNull Object obj) { in equals()
314 public boolean equals(@CheckForNull Object obj) { in equals()
363 public boolean equals(@CheckForNull Object obj) { in equals()
413 public boolean equals(@CheckForNull Object obj) { in equals()
/external/guava/guava/src/com/google/common/base/
DFunctions.java124 Map<K, V> map) { in forMap()
142 Map<K, ? extends V> map, @ParametricNullness V defaultValue) { in forMap()
149 final Map<K, V> map; field in Functions.FunctionForMapNoDefault
151 FunctionForMapNoDefault(Map<K, V> map) { in FunctionForMapNoDefault()
188 final Map<K, ? extends V> map; field in Functions.ForMapWithDefault
191 ForMapWithDefault(Map<K, ? extends V> map, @ParametricNullness V defaultValue) { in ForMapWithDefault()
264 public boolean equals(@CheckForNull Object obj) { in equals()
314 public boolean equals(@CheckForNull Object obj) { in equals()
363 public boolean equals(@CheckForNull Object obj) { in equals()
413 public boolean equals(@CheckForNull Object obj) { in equals()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dpinning.c8 __u32 get_map_id(struct bpf_object *obj, const char *name) in get_map_id()
12 struct bpf_map *map; in get_map_id() local
38 struct bpf_object *obj; in test_pinning() local
39 struct bpf_map *map; in test_pinning() local
Dcg_storage_multi.c22 static bool assert_storage(struct bpf_map *map, const void *key, in assert_storage()
40 static bool assert_storage_noexist(struct bpf_map *map, const void *key) in assert_storage_noexist()
86 struct cg_storage_multi_egress_only *obj; in test_egress_only() local
156 struct cg_storage_multi_isolated *obj; in test_isolated() local
269 struct cg_storage_multi_shared *obj; in test_shared() local
Dglobal_data_init.c9 struct bpf_object *obj; in test_global_data_init() local
10 struct bpf_map *map; in test_global_data_init() local
/external/libchrome/base/containers/
Did_map_unittest.cc33 IDMap<TestObject*> map; in TEST() local
72 IDMap<TestObject*> map; in TEST() local
105 IDMap<TestObject*> map; in TEST() local
108 TestObject obj[kCount]; in TEST() local
157 IDMap<TestObject*> map; in TEST() local
185 IDMap<TestObject*> map; in TEST() local
215 IDMap<TestObject*> map; in TEST() local
218 TestObject obj[kCount]; in TEST() local
363 IDMap<TestObject*, int64_t> map; in TEST() local
382 TestObject obj; in TEST() local
[all …]
/external/libbpf/src/
Dlibbpf.c447 struct bpf_object *obj; member
520 struct bpf_object *obj; member
772 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
833 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs()
957 find_struct_ops_kern_types(struct bpf_object *obj, const char *tname_raw, in find_struct_ops_kern_types()
1022 static bool bpf_map__is_struct_ops(const struct bpf_map *map) in bpf_map__is_struct_ops()
1027 static bool is_valid_st_ops_program(struct bpf_object *obj, in is_valid_st_ops_program()
1045 static int bpf_object_adjust_struct_ops_autoload(struct bpf_object *obj) in bpf_object_adjust_struct_ops_autoload()
1048 struct bpf_map *map; in bpf_object_adjust_struct_ops_autoload() local
1083 static int bpf_map__init_kern_struct_ops(struct bpf_map *map) in bpf_map__init_kern_struct_ops()
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/
Dprotobuf.c126 PyUpb_WeakMap* map = upb_Arena_Malloc(arena, sizeof(*map)); in PyUpb_WeakMap_New() local
132 void PyUpb_WeakMap_Free(PyUpb_WeakMap* map) { upb_Arena_Free(map->arena); } in PyUpb_WeakMap_Free()
144 void PyUpb_WeakMap_Add(PyUpb_WeakMap* map, const void* key, PyObject* py_obj) { in PyUpb_WeakMap_Add()
149 void PyUpb_WeakMap_Delete(PyUpb_WeakMap* map, const void* key) { in PyUpb_WeakMap_Delete()
157 void PyUpb_WeakMap_TryDelete(PyUpb_WeakMap* map, const void* key) { in PyUpb_WeakMap_TryDelete()
161 PyObject* PyUpb_WeakMap_Get(PyUpb_WeakMap* map, const void* key) { in PyUpb_WeakMap_Get()
172 bool PyUpb_WeakMap_Next(PyUpb_WeakMap* map, const void** key, PyObject** obj, in PyUpb_WeakMap_Next()
182 void PyUpb_WeakMap_DeleteIter(PyUpb_WeakMap* map, intptr_t* iter) { in PyUpb_WeakMap_DeleteIter()
300 const char* PyUpb_GetStrData(PyObject* obj) { in PyUpb_GetStrData()
310 const char* PyUpb_VerifyStrData(PyObject* obj) { in PyUpb_VerifyStrData()
/external/marisa-trie/lib/marisa/grimoire/io/
Dmapper.h21 void map(T *obj) { in map() function
27 void map(const T **objs, std::size_t num_objs) { in map() function
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/text/
DStrLookup.java95 public static <V> StrLookup<V> mapLookup(final Map<String, V> map) { in mapLookup()
141 private final Map<String, V> map; field in StrLookup.MapStrLookup
148 MapStrLookup(final Map<String, V> map) { in MapStrLookup()
167 final Object obj = map.get(key); in lookup() local
/external/cronet/stable/base/containers/
Did_map_unittest.cc65 IDMap<TestObject*> map; in TEST() local
104 IDMap<TestObject*> map; in TEST() local
137 IDMap<TestObject*> map; in TEST() local
140 TestObject obj[kCount]; in TEST() local
189 IDMap<TestObject*> map; in TEST() local
217 IDMap<TestObject*> map; in TEST() local
247 IDMap<TestObject*> map; in TEST() local
250 TestObject obj[kCount]; in TEST() local
395 IDMap<TestObject*, int64_t> map; in TEST() local
414 TestObject obj; in TEST() local
[all …]
/external/cronet/tot/base/containers/
Did_map_unittest.cc65 IDMap<TestObject*> map; in TEST() local
104 IDMap<TestObject*> map; in TEST() local
137 IDMap<TestObject*> map; in TEST() local
140 TestObject obj[kCount]; in TEST() local
189 IDMap<TestObject*> map; in TEST() local
217 IDMap<TestObject*> map; in TEST() local
247 IDMap<TestObject*> map; in TEST() local
250 TestObject obj[kCount]; in TEST() local
395 IDMap<TestObject*, int64_t> map; in TEST() local
414 TestObject obj; in TEST() local
[all …]
/external/bpftool/src/
Dgen.c93 static bool get_map_ident(const struct bpf_map *map, char *buf, size_t buf_sz) in get_map_ident()
147 static int codegen_datasec_def(struct bpf_object *obj, in codegen_datasec_def()
257 static bool is_mmapable_map(const struct bpf_map *map, char *buf, size_t sz) in is_mmapable_map()
275 static int codegen_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_datasecs()
279 struct bpf_map *map; in codegen_datasecs() local
324 static int codegen_subskel_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_subskel_datasecs()
328 struct bpf_map *map; in codegen_subskel_datasecs() local
486 static size_t bpf_map_mmap_sz(const struct bpf_map *map) in bpf_map_mmap_sz()
497 static void codegen_asserts(struct bpf_object *obj, const char *obj_name) in codegen_asserts()
500 struct bpf_map *map; in codegen_asserts() local
[all …]
/external/apache-http/src/org/apache/http/protocol/
DBasicHttpContext.java54 private Map map = null; field in BasicHttpContext
69 Object obj = null; in getAttribute() local
79 public void setAttribute(final String id, final Object obj) { in setAttribute()
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableClassToInstanceMapTest.java88 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_empty() local
99 ImmutableClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.of(int.class, 1); in testOf_one() local
107 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_valid() local
130 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_empty() local
137 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_valid() local
212 public boolean equals(@Nullable Object obj) { in equals()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableClassToInstanceMapTest.java88 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_empty() local
99 ImmutableClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.of(int.class, 1); in testOf_one() local
107 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_valid() local
130 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_empty() local
137 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_valid() local
212 public boolean equals(@Nullable Object obj) { in equals()
/external/kotlinx.serialization/formats/hocon/src/test/kotlin/kotlinx/serialization/hocon/
DHoconRootObjectsTest.kt43 val obj = Hocon.decodeFromConfig<Map<String, CompositeValue>>(config) in testConfigWithRootMap() constant
54 val map = Hocon.decodeFromConfig<Map<String, String>>(config) in testEmptyObjectDecode() constant
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DConstructorTest.java28 Object map = construct(data); in testMapOrder() local
45 Object obj = construct(data); in testGetBeanAssumeClass() local
59 Object obj = construct(data); in testGetConstructorBean() local
73 Object obj = construct(data); in testGetConstructorFromScalar() local
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DIfEmptyTestCase.java40 protected void assertEmpty(Object obj) in assertEmpty()
46 protected void assertNotEmpty(Object obj) in assertNotEmpty()
67 Map map = new TreeMap(); in testDataStructures() local
/external/igt-gpu-tools/tests/i915/
Dgem_exec_flush.c48 static uint32_t movnt(uint32_t *map, int i) in movnt()
71 static uint32_t movnt(uint32_t *map, int i) in movnt()
119 struct drm_i915_gem_exec_object2 obj[3]; in run() local
126 uint32_t *map; in run() local
373 struct drm_i915_gem_exec_object2 obj[2]; in batch() local
378 uint32_t *map; in batch() local
/external/sdv/vsomeip/third_party/boost/container/include/boost/container/
Dmap.hpp79 class map class
146 map() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value && in map() function in boost::container::map
155 BOOST_CONTAINER_FORCEINLINE map(const Compare& comp, const allocator_type& a) in map() function in boost::container::map
162 BOOST_CONTAINER_FORCEINLINE explicit map(const Compare& comp) in map() function in boost::container::map
169 BOOST_CONTAINER_FORCEINLINE explicit map(const allocator_type& a) in map() function in boost::container::map
179 BOOST_CONTAINER_FORCEINLINE map(InputIterator first, InputIterator last) in map() function in boost::container::map
189 BOOST_CONTAINER_FORCEINLINE map(InputIterator first, InputIterator last, const allocator_type& a) in map() function in boost::container::map
199 BOOST_CONTAINER_FORCEINLINE map(InputIterator first, InputIterator last, const Compare& comp) in map() function in boost::container::map
209 …BOOST_CONTAINER_FORCEINLINE map(InputIterator first, InputIterator last, const Compare& comp, cons… in map() function in boost::container::map
224 BOOST_CONTAINER_FORCEINLINE map( ordered_unique_range_t, InputIterator first, InputIterator last) in map() function in boost::container::map
[all …]

12345678910>>...40