Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/device/linaro/dragonboard/shared/utils/qrtr/src/
Dmap.c37 void map_destroy(struct map *map) in map_destroy() argument
39 free(map->data); in map_destroy()
42 void map_clear(struct map *map, void (*release)(struct map_item *)) in map_clear() argument
46 for (i = 0; i < map->size; ++i){ in map_clear()
47 if (!map->data[i].item) in map_clear()
49 if (map->data[i].item != &deleted) in map_clear()
50 (* release)(map->data[i].item); in map_clear()
51 map->data[i].item = NULL; in map_clear()
53 map->count = 0; in map_clear()
56 int map_create(struct map *map) in map_create() argument
[all …]
Dmap.h10 struct map { struct
16 int map_create(struct map *map); argument
17 void map_destroy(struct map *map);
18 void map_clear(struct map *map, void (*release)(struct map_item *));
20 int map_put(struct map *map, unsigned int key, struct map_item *v);
21 int map_reput(struct map *map, unsigned int key, struct map_item *v,
23 int map_contains(const struct map *map, unsigned int key);
24 struct map_item *map_get(const struct map *map, unsigned int key);
25 int map_remove(struct map *map, unsigned int key);
26 unsigned int map_length(struct map *map);
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp97 std::map<uint32_t, EglContext*> EglContext::map; member in EglContext
98 std::map<uint32_t, EglSurface*> EglSurface::map; member in EglSurface
99 std::map<uint32_t, EglImage*> EglImage::map; member in EglImage
100 std::map<uint32_t, Resource*> Resource::map; member in Resource
101 std::map<uint64_t, EglSync*> EglSync::map; member in EglSync
102 std::map<uint32_t, Context*> Context::map; member in Context
147 for (auto const& it : Resource::map) { in dump_global_state()
166 for (auto const& it : Context::map) { in dump_global_state()
474 std::map<uint32_t, Resource*>::iterator it; in virgl_renderer_get_cursor_data()
475 it = Resource::map.find(resource_id); in virgl_renderer_get_cursor_data()
[all …]
DRenderControl.cpp397 std::map<uint32_t, EglContext*>::iterator context_it; in rcCreateContext()
398 context_it = EglContext::map.find(share_); in rcCreateContext()
399 if (context_it == EglContext::map.end()) in rcCreateContext()
423 std::map<uint32_t, EglContext*>::iterator it; in rcDestroyContext()
424 it = EglContext::map.find(ctx); in rcDestroyContext()
425 if (it == EglContext::map.end()) in rcDestroyContext()
454 std::map<uint32_t, EglSurface*>::iterator it; in rcDestroyWindowSurface()
455 it = EglSurface::map.find(surface_); in rcDestroyWindowSurface()
456 if (it == EglSurface::map.end()) in rcDestroyWindowSurface()
487 std::map<uint32_t, EglSurface*>::iterator surface_it; in rcSetWindowColorBuffer()
[all …]
DGralloc1.cpp61 std::map<uint32_t, Resource*>::iterator it; in gralloc1_lock()
62 it = Resource::map.find(resource_id); in gralloc1_lock()
63 if (it == Resource::map.end()) in gralloc1_lock()
95 std::map<uint32_t, Resource*>::iterator it; in gralloc1_unlock()
96 it = Resource::map.find(resource_id); in gralloc1_unlock()
97 if (it == Resource::map.end()) in gralloc1_unlock()
DContext.h40 static std::map<uint32_t, Context*> map; member
46 map.emplace(handle, this); in Context()
58 map.erase(handle); in ~Context()
62 for (auto const& it : Context::map) { in bind()
107 std::map<uint32_t, Resource*> resource_map;
DEglContext.h32 static std::map<uint32_t, EglContext*> map; member
37 map.emplace(id, this); in EglContext()
41 map.erase(id); in ~EglContext()
45 for (auto const& it : EglContext::map) { in bind()
DResource.h36 static std::map<uint32_t, Resource*> map; member
41 map.emplace(args.handle, this); in Resource()
45 map.erase(args.handle); in ~Resource()
67 std::map<uint32_t, Context*> context_map;
DEglSurface.h27 static std::map<uint32_t, EglSurface*> map; member
32 map.emplace(id, this); in EglSurface()
36 map.erase(id); in ~EglSurface()
40 for (auto const& it : EglSurface::map) { in bind()
DEglSync.h25 static std::map<uint64_t, EglSync*> map; member
29 map.emplace(id, this); in EglSync()
33 map.erase(id); in ~EglSync()
DEglImage.h28 static std::map<uint32_t, EglImage*> map; member
33 map.emplace(id, this); in EglImage()
38 map.erase(id); in ~EglImage()
/device/google/atv/FrameworkPackageStubs/src/com/android/browser/provider/
DBrowserProvider2.java228 HashMap<String, String> map;
231 map = ACCOUNTS_PROJECTION_MAP;
232 map.put(Accounts.ACCOUNT_TYPE, Accounts.ACCOUNT_TYPE); in map.put()
233 map.put(Accounts.ACCOUNT_NAME, Accounts.ACCOUNT_NAME); in map.put()
234 map.put(Accounts.ROOT_ID, Accounts.ROOT_ID); in map.put()
237 map = BOOKMARKS_PROJECTION_MAP;
238 map.put(Bookmarks._ID, qualifyColumn(TABLE_BOOKMARKS, Bookmarks._ID)); in map.put()
239 map.put(Bookmarks.TITLE, Bookmarks.TITLE); in map.put()
240 map.put(Bookmarks.URL, Bookmarks.URL); in map.put()
241 map.put(Bookmarks.FAVICON, Bookmarks.FAVICON); in map.put()
[all …]
/device/linaro/dragonboard/shared/graphics/minigbm_msm/sepolicy/
Dminigbm_debug.te9 allow bootanim vendor_minigbm_debug_prop:file { getattr map open read };
12 allow hal_graphics_allocator_default vendor_minigbm_debug_prop:file { getattr map open read };
15 allow hal_graphics_composer_default vendor_minigbm_debug_prop:file { getattr map open read };
18 allow platform_app vendor_minigbm_debug_prop:file { getattr map open read };
21 allow priv_app vendor_minigbm_debug_prop:file { getattr map open read };
24 allow surfaceflinger vendor_minigbm_debug_prop:file { getattr map open read };
27 allow system_app vendor_minigbm_debug_prop:file { getattr map open read };
30 allow system_server vendor_minigbm_debug_prop:file { getattr map open read };
33 allow appdomain -isolated_app_all vendor_minigbm_debug_prop:file { getattr map open read };
/device/google/cuttlefish/host/commands/assemble_cvd/
Dvendor_dlkm_utils.cc142 std::map<std::string, std::vector<std::string>> FilterDependencies( in FilterDependencies()
143 const std::map<std::string, std::vector<std::string>>& deps, in FilterDependencies()
145 std::map<std::string, std::vector<std::string>> new_deps; in FilterDependencies()
161 std::map<std::string, std::vector<std::string>> FilterOutDependencies( in FilterOutDependencies()
162 const std::map<std::string, std::vector<std::string>>& deps, in FilterOutDependencies()
164 std::map<std::string, std::vector<std::string>> new_deps; in FilterOutDependencies()
182 std::map<std::string, std::vector<std::string>> UpdateGKIModulePaths( in UpdateGKIModulePaths()
183 const std::map<std::string, std::vector<std::string>>& deps, in UpdateGKIModulePaths()
185 std::map<std::string, std::vector<std::string>> new_deps; in UpdateGKIModulePaths()
206 const std::map<std::string, std::vector<std::string>>& deps, in WriteDepsToFile()
[all …]
/device/google/gs101-sepolicy/private/
Dpriv_app.te2 dontaudit priv_app adbd_prop:file { map };
5 dontaudit priv_app ab_update_gki_prop:file { map };
8 dontaudit priv_app aac_drc_prop:file { map };
11 dontaudit priv_app adbd_prop:file { map };
14 dontaudit priv_app aac_drc_prop:file { map };
17 dontaudit priv_app ab_update_gki_prop:file { map };
Dincidentd.te7 dontaudit incidentd adbd_config_prop:file map ;
10 dontaudit incidentd adbd_prop:file map ;
13 dontaudit incidentd adbd_config_prop:file map ;
14 dontaudit incidentd adbd_prop:file map ;
/device/linaro/dragonboard/sepolicy/
Dcrash_dump.te2 allow crash_dump bluetooth_data_file:file { getattr map open read };
3 allow crash_dump bluetooth_prop:file { getattr map open };
4 allow crash_dump device_config_runtime_native_boot_prop:file { getattr map open };
5 allow crash_dump device_config_runtime_native_prop:file { getattr map open };
6 allow crash_dump hwservicemanager_prop:file { getattr map open };
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DLaunchItemsDbHelper.java111 final Map<ComponentName, Date> map = new ArrayMap<>(c.getCount()); in readLastOpens() local
116 map.put(componentName, null); in readLastOpens()
118 map.put(componentName, new Date(c.getLong(lastOpenIndex))); in readLastOpens()
121 return map; in readLastOpens()
171 final Map<ComponentName, Long> map = new ArrayMap<>(c.getCount()); in readOrderPriorities() local
175 map.put(componentName, c.getLong(priorityIndex)); in readOrderPriorities()
177 return map; in readOrderPriorities()
/device/google/cuttlefish/host/libs/allocd/
Dutils.cpp41 const std::map<RequestType, const char*> RequestTyToStrMap = {
49 const std::map<std::string, RequestType> StrToRequestTyMap = {
57 const std::map<std::string, IfaceType> StrToIfaceTyMap = {
63 const std::map<IfaceType, std::string> IfaceTyToStrMap = {
69 const std::map<RequestStatus, std::string> ReqStatusToStrMap = {
75 const std::map<std::string, RequestStatus> StrToReqStatusMap = {
/device/linaro/dragonboard/shared/utils/pd-mapper/
Dpd-mapper.c135 struct pd_map *map; in pd_load_map() local
178 map = &pd_maps[num_pd_maps++]; in pd_load_map()
180 map->service = malloc(strlen(provider) + strlen(service) + 2); in pd_load_map()
181 sprintf((char *)map->service, "%s/%s", provider, service); in pd_load_map()
183 map->domain = malloc(strlen(soc) + strlen(domain) + strlen(subdomain) + 3); in pd_load_map()
184 sprintf((char *)map->domain, "%s/%s/%s", soc, domain, subdomain); in pd_load_map()
186 map->instance = number; in pd_load_map()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs385 .map(|c| match c { in mangle()
402 .map(PathBuf::from) in dir_contains_target()
408 .map(|cargo_target_dir| dir.contains(&cargo_target_dir)) in dir_contains_target()
424 a.split('\x1f').map(str::to_string).collect() in rustflags()
445 .map(str::trim) in rustflags()
447 .map(str::to_string) in rustflags()
/device/google/cuttlefish/host/libs/config/
Dhost_tools_version.cpp43 static std::map<std::string, uint32_t> DirectoryCrc(const std::string& path) { in DirectoryCrc()
65 std::map<std::string, uint32_t> crcs; in DirectoryCrc()
72 std::map<std::string, uint32_t> HostToolsCrc() { in HostToolsCrc()
75 std::map<std::string, uint32_t> all_crcs; in HostToolsCrc()
/device/generic/goldfish/sepolicy/vendor/
Dhal_graphics_composer_default.te4 allow hal_graphics_composer_default vndbinder_device:chr_file { ioctl open read write map };
5 allow hal_graphics_composer_default graphics_device:chr_file { ioctl open read write map };
6 allow hal_graphics_composer_default gpu_device:chr_file { ioctl open read write map };
/device/google/trout/hal/sensors/2.1/
DSensor.cpp158 static float getChannelData(const std::array<float, N>& channelData, int64_t map, bool negate) { in getChannelData() argument
159 return negate ? -channelData[map] : channelData[map]; in getChannelData()
260 static status_t checkAxis(int64_t map) { in checkAxis() argument
261 if (map < 0 || map >= NUM_OF_DATA_CHANNELS) in checkAxis()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.h90 std::map<uint64_t, uint64_t> mOldPts2Index;
91 std::map<uint64_t, uint64_t> mPts2Index;
92 std::map<uint64_t, uint64_t> mIndex2Pts;

12345678910>>...14