Home
last modified time | relevance | path

Searched refs:res_id (Results 1 – 25 of 76) sorted by relevance

1234

/external/libnl/lib/netfilter/
Dnfnl.c105 int flags, uint8_t family, uint16_t res_id) in nfnl_send_simple() argument
110 .res_id = htons(res_id), in nfnl_send_simple()
161 return ntohs(nfg->res_id); in nfnlmsg_res_id()
171 static int nfnlmsg_append(struct nl_msg *msg, uint8_t family, uint16_t res_id) in nfnlmsg_append() argument
181 nfg->res_id = htons(res_id); in nfnlmsg_append()
183 msg, family, res_id); in nfnlmsg_append()
198 uint8_t family, uint16_t res_id) in nfnlmsg_alloc_simple() argument
206 if (nfnlmsg_append(msg, family, res_id) < 0) in nfnlmsg_alloc_simple()
229 uint16_t res_id) in nfnlmsg_put() argument
237 return nfnlmsg_append(msg, family, res_id); in nfnlmsg_put()
/external/virglrenderer/src/
Dvirgl_resource.c86 virgl_resource_create(uint32_t res_id) in virgl_resource_create() argument
96 uintptr_to_pointer(res_id), in virgl_resource_create()
103 res->res_id = res_id; in virgl_resource_create()
111 virgl_resource_create_from_pipe(uint32_t res_id, in virgl_resource_create_from_pipe() argument
118 res = virgl_resource_create(res_id); in virgl_resource_create_from_pipe()
132 virgl_resource_create_from_fd(uint32_t res_id, in virgl_resource_create_from_fd() argument
143 res = virgl_resource_create(res_id); in virgl_resource_create_from_fd()
162 uint32_t res_id, in virgl_resource_create_from_opaque_handle() argument
167 res = virgl_resource_create(res_id); in virgl_resource_create_from_opaque_handle()
186 virgl_resource_create_from_iov(uint32_t res_id, in virgl_resource_create_from_iov() argument
[all …]
Dvirgl_resource.h81 uint32_t res_id; member
137 virgl_resource_create_from_pipe(uint32_t res_id,
143 virgl_resource_create_from_fd(uint32_t res_id,
152 uint32_t res_id,
156 virgl_resource_create_from_iov(uint32_t res_id,
161 virgl_resource_remove(uint32_t res_id);
164 virgl_resource_lookup(uint32_t res_id);
Dvrend_object.c133 uint32_t res_id, in vrend_ctx_resource_insert() argument
136 util_hash_table_set(res_hash, uintptr_to_pointer(res_id), res); in vrend_ctx_resource_insert()
140 uint32_t res_id) in vrend_ctx_resource_remove() argument
142 util_hash_table_remove(res_hash, uintptr_to_pointer(res_id)); in vrend_ctx_resource_remove()
146 uint32_t res_id) in vrend_ctx_resource_lookup() argument
148 return util_hash_table_get(res_hash, uintptr_to_pointer(res_id)); in vrend_ctx_resource_lookup()
Dvrend_object.h48 uint32_t res_id,
51 uint32_t res_id);
53 uint32_t res_id);
/external/virglrenderer/src/proxy/
Dproxy_context.c27 proxy_context_resource_add(struct proxy_context *ctx, uint32_t res_id) in proxy_context_resource_add() argument
29 assert(!_mesa_hash_table_search(ctx->resource_table, (void *)(uintptr_t)res_id)); in proxy_context_resource_add()
30 _mesa_hash_table_insert(ctx->resource_table, (void *)(uintptr_t)res_id, NULL); in proxy_context_resource_add()
34 proxy_context_resource_find(struct proxy_context *ctx, uint32_t res_id) in proxy_context_resource_find() argument
36 return _mesa_hash_table_search(ctx->resource_table, (void *)(uintptr_t)res_id); in proxy_context_resource_find()
40 proxy_context_resource_remove(struct proxy_context *ctx, uint32_t res_id) in proxy_context_resource_remove() argument
42 _mesa_hash_table_remove_key(ctx->resource_table, (void *)(uintptr_t)res_id); in proxy_context_resource_remove()
338 uint32_t res_id, in proxy_context_get_blob() argument
352 .res_id = res_id, in proxy_context_get_blob()
404 proxy_context_resource_add(ctx, res_id); in proxy_context_get_blob()
[all …]
/external/strace/
Dnetlink_netfilter.c60 uint16_t res_id = ntohs(nfmsg.res_id); in decode_netlink_netfilter() local
72 && res_id == NFNL_SUBSYS_NFTABLES) { in decode_netlink_netfilter()
73 print_xlat_ex(nfmsg.res_id, in decode_netlink_netfilter()
77 && nfmsg.res_id == NFNL_SUBSYS_NFTABLES) { in decode_netlink_netfilter()
78 print_xlat_ex(nfmsg.res_id, "NFNL_SUBSYS_NFTABLES", in decode_netlink_netfilter()
81 tprintf("htons(%d)", res_id); in decode_netlink_netfilter()
/external/virglrenderer/server/
Drender_context.c22 const uint32_t res_id = req->res_id; in render_context_import_resource() local
27 render_log("failed to attach invalid resource %d", res_id); in render_context_import_resource()
47 .res_handle = res_id, in render_context_import_resource()
56 render_log("failed to import blob resource %d (%d)", res_id, ret); in render_context_import_resource()
60 virgl_renderer_ctx_attach_resource(ctx->ctx_id, res_id); in render_context_import_resource()
117 const uint32_t res_id = req->res_id; in render_context_create_resource() local
119 .res_handle = res_id, in render_context_create_resource()
133 ret = virgl_renderer_resource_get_map_info(res_id, &map_info); in render_context_create_resource()
141 ret = virgl_renderer_resource_export_blob(res_id, &fd_type, &res_fd); in render_context_create_resource()
143 virgl_renderer_resource_unref(res_id); in render_context_create_resource()
[all …]
Drender_protocol.h144 uint32_t res_id; member
164 uint32_t res_id; member
177 uint32_t res_id; member
/external/virglrenderer/src/drm/msm/
Dmsm_renderer.c127 uint32_t res_id; member
176 valid_res_id(struct msm_context *mctx, uint32_t res_id) in valid_res_id() argument
178 return !table_search(mctx->resource_table, res_id); in valid_res_id()
182 msm_object_set_res_id(struct msm_context *mctx, struct msm_object *obj, uint32_t res_id) in msm_object_set_res_id() argument
184 assert(valid_res_id(mctx, res_id)); in msm_object_set_res_id()
186 obj->res_id = res_id; in msm_object_set_res_id()
187 _mesa_hash_table_insert(mctx->resource_table, (void *)(uintptr_t)obj->res_id, obj); in msm_object_set_res_id()
193 drm_dbg("obj=%p, blob_id=%u, res_id=%u", obj, obj->blob_id, obj->res_id); in msm_remove_object()
194 _mesa_hash_table_remove_key(mctx->resource_table, (void *)(uintptr_t)obj->res_id); in msm_remove_object()
211 msm_get_object_from_res_id(struct msm_context *mctx, uint32_t res_id) in msm_get_object_from_res_id() argument
[all …]
Dmsm_proto.h170 uint32_t res_id; member
186 uint32_t res_id; member
207 uint32_t res_id; member
268 uint32_t res_id; member
/external/cronet/build/android/
Ddump_apk_resource_strings.py182 res_name, res_id = line[len(prefix):].split(' ')
183 result[int(res_id, 0)] = res_name
219 def ToStringList(self, res_id): argument
223 if res_id is None:
229 'res_id=0x%08x name=%s count=%d {' % (res_id, self.res_name,
253 def AddValue(self, res_id, res_name, res_config, res_value): argument
254 self._res_map[res_id].AddValue(res_name, res_config, res_value)
258 for res_id, res_name in id_name_map.items():
259 if res_id in self._res_map:
260 self._res_map[res_id].res_name = res_name
[all …]
/external/angle/build/android/
Ddump_apk_resource_strings.py182 res_name, res_id = line[len(prefix):].split(' ')
183 result[int(res_id, 0)] = res_name
219 def ToStringList(self, res_id): argument
223 if res_id is None:
229 'res_id=0x%08x name=%s count=%d {' % (res_id, self.res_name,
253 def AddValue(self, res_id, res_name, res_config, res_value): argument
254 self._res_map[res_id].AddValue(res_name, res_config, res_value)
258 for res_id, res_name in id_name_map.items():
259 if res_id in self._res_map:
260 self._res_map[res_id].res_name = res_name
[all …]
/external/strace/tests-m32/
Dnetlink_netfilter.c110 .res_id = NFNL_SUBSYS_NFTABLES in test_nfgenmsg()
132 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
142 msg.res_id = htons(0xabcd); in test_nfgenmsg()
153 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
161 msg.res_id = htons(0xabcd); in test_nfgenmsg()
174 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
/external/strace/tests/
Dnetlink_netfilter.c110 .res_id = NFNL_SUBSYS_NFTABLES in test_nfgenmsg()
132 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
142 msg.res_id = htons(0xabcd); in test_nfgenmsg()
153 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
161 msg.res_id = htons(0xabcd); in test_nfgenmsg()
174 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
/external/strace/tests-mx32/
Dnetlink_netfilter.c110 .res_id = NFNL_SUBSYS_NFTABLES in test_nfgenmsg()
132 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
142 msg.res_id = htons(0xabcd); in test_nfgenmsg()
153 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
161 msg.res_id = htons(0xabcd); in test_nfgenmsg()
174 msg.res_id = htons(NFNL_SUBSYS_NFTABLES); in test_nfgenmsg()
/external/virglrenderer/src/venus/
Dvkr_context.h87 assert(!_mesa_hash_table_search(ctx->resource_table, &att->resource->res_id)); in vkr_context_add_resource()
88 _mesa_hash_table_insert(ctx->resource_table, &att->resource->res_id, att); in vkr_context_add_resource()
92 vkr_context_remove_resource(struct vkr_context *ctx, uint32_t res_id) in vkr_context_remove_resource() argument
94 struct hash_entry *entry = _mesa_hash_table_search(ctx->resource_table, &res_id); in vkr_context_remove_resource()
102 vkr_context_get_resource(struct vkr_context *ctx, uint32_t res_id) in vkr_context_get_resource() argument
104 const struct hash_entry *entry = _mesa_hash_table_search(ctx->resource_table, &res_id); in vkr_context_get_resource()
Dvkr_allocator.c48 uint32_t res_id; member
126 mem_info->res_id = res->res_id; in vkr_allocator_allocate_memory()
263 if (mem_info->res_id == res->res_id) in vkr_allocator_get_mem_info()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emitssboinstruction.cpp584 int res_id = R600_IMAGE_REAL_RESOURCE_OFFSET; in emit_image_size() local
586 res_id += const_offset[0].u32; in emit_image_size()
592 res_id, in emit_image_size()
598 res_id, dyn_offset)); in emit_image_size()
627 int res_id = R600_IMAGE_REAL_RESOURCE_OFFSET; in emit_buffer_size() local
629 res_id += const_offset[0].u32; in emit_buffer_size()
634 res_id, bim_none)); in emit_buffer_size()
/external/skia/modules/skottie/src/layers/
DFootageLayer.cpp87 const SkString res_id(id->begin()); in loadFootageAsset() local
88 if (auto* cached_info = fImageAssetCache.find(res_id)) { in loadFootageAsset()
101 return fImageAssetCache.set(res_id, { std::move(asset), size }); in loadFootageAsset()
/external/virglrenderer/vtest/
Dvtest_renderer.c65 uint32_t res_id; member
224 res->res_id = client_res_id ? client_res_id : res->server_res_id; in vtest_new_resource()
236 virgl_renderer_resource_unref(res->res_id); in vtest_unref_resource()
1015 fd = vtest_new_shm(res->res_id, size); in vtest_create_resource_setup_shm()
1052 args->handle = res->res_id; in vtest_create_resource_internal()
1060 virgl_renderer_ctx_attach_resource(ctx->ctx_id, res->res_id); in vtest_create_resource_internal()
1066 [VTEST_CMD_DATA_START] = res->res_id, in vtest_create_resource_internal()
1095 virgl_renderer_resource_attach_iov(res->res_id, &res->iov, 1); in vtest_create_resource_internal()
1098 util_hash_table_set(ctx->resource_table, intptr_to_pointer(res->res_id), res); in vtest_create_resource_internal()
1159 args.res_handle = res->res_id; in vtest_resource_create_blob()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dpeeling_pass.cpp34 const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest() argument
61 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
73 const std::string& res_id, const std::string& op1, const std::string& op2, in RunPeelingTest() argument
76 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
90 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace() argument
94 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dpeeling_pass.cpp34 spv::Op opcode, const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest() argument
61 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
73 spv::Op opcode, const std::string& res_id, const std::string& op1, in RunPeelingTest() argument
76 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
90 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace() argument
94 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/loop_optimizations/
Dpeeling_pass.cpp33 spv::Op opcode, const std::string& res_id, const std::string& op1, in AssembleAndRunPeelingTest() argument
60 res_id + " = " + opcode_str + " %bool " + op1 + " " + op2 + "\n"; in AssembleAndRunPeelingTest()
72 spv::Op opcode, const std::string& res_id, const std::string& op1, in RunPeelingTest() argument
75 text_head, text_tail, opcode, res_id, op1, op2); in RunPeelingTest()
89 const std::string& res_id, const std::string& op1, in BuildAndCheckTrace() argument
93 auto stats = RunPeelingTest(text_head, text_tail, opcode, res_id, op1, op2, in BuildAndCheckTrace()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dinstruction.h216 Instruction(IRContext* c, spv::Op op, uint32_t ty_id, uint32_t res_id,
315 inline void SetResultId(uint32_t res_id);
708 inline void Instruction::SetResultId(uint32_t res_id) { in SetResultId() argument
717 assert(res_id != 0); in SetResultId()
720 operands_[ridx].words = {res_id}; in SetResultId()

1234