Home
last modified time | relevance | path

Searched refs:reqs (Results 1 – 25 of 53) sorted by relevance

123

/external/strace/tests-mx32/
Dnetlink_protocol.c125 struct reqs { in send_query() struct
130 TAIL_ALLOC_OBJECT_CONST_PTR(struct reqs, reqs); in send_query()
131 memcpy(&reqs->req1, &c_req, sizeof(c_req)); in send_query()
132 memcpy(&reqs->req2, &c_req, sizeof(c_req)); in send_query()
134 rc = sendto(fd, reqs, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
140 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
141 reqs->req2.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
142 (unsigned) sizeof(*reqs), sprintrc(rc)); in send_query()
145 void *const efault2 = tail_memdup(&reqs->req1, sizeof(reqs->req1)); in send_query()
146 rc = sendto(fd, efault2, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
[all …]
/external/strace/tests/
Dnetlink_protocol.c125 struct reqs { in send_query() struct
130 TAIL_ALLOC_OBJECT_CONST_PTR(struct reqs, reqs); in send_query()
131 memcpy(&reqs->req1, &c_req, sizeof(c_req)); in send_query()
132 memcpy(&reqs->req2, &c_req, sizeof(c_req)); in send_query()
134 rc = sendto(fd, reqs, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
140 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
141 reqs->req2.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
142 (unsigned) sizeof(*reqs), sprintrc(rc)); in send_query()
145 void *const efault2 = tail_memdup(&reqs->req1, sizeof(reqs->req1)); in send_query()
146 rc = sendto(fd, efault2, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
[all …]
/external/strace/tests-m32/
Dnetlink_protocol.c125 struct reqs { in send_query() struct
130 TAIL_ALLOC_OBJECT_CONST_PTR(struct reqs, reqs); in send_query()
131 memcpy(&reqs->req1, &c_req, sizeof(c_req)); in send_query()
132 memcpy(&reqs->req2, &c_req, sizeof(c_req)); in send_query()
134 rc = sendto(fd, reqs, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
140 fd, reqs->req1.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
141 reqs->req2.nlh.nlmsg_len, NLM_F_DUMP, in send_query()
142 (unsigned) sizeof(*reqs), sprintrc(rc)); in send_query()
145 void *const efault2 = tail_memdup(&reqs->req1, sizeof(reqs->req1)); in send_query()
146 rc = sendto(fd, efault2, sizeof(*reqs), MSG_DONTWAIT, NULL, 0); in send_query()
[all …]
/external/grpc-grpc/src/ruby/bin/
Dmath_client.rb58 reqs = [1, 2, 3, 4, 5].map { |x| Math::Num.new(num: x) }
59 GRPC.logger.info("sum(1, 2, 3, 4, 5): reqs=#{reqs.inspect}")
60 resp = stub.sum(reqs) # reqs.is_a?(Enumerable)
80 reqs = []
81 reqs << Math::DivArgs.new(dividend: 7, divisor: 3)
82 reqs << Math::DivArgs.new(dividend: 5, divisor: 2)
83 reqs << Math::DivArgs.new(dividend: 7, divisor: 2)
84 GRPC.logger.info("div(7/3), div(5/2), div(7/2): reqs=#{reqs.inspect}")
85 resp = stub.div_many(reqs)
/external/python/cpython2/Lib/distutils/tests/
Dtest_register.py57 self.reqs = []
63 self.reqs.append(req)
143 self.assertEqual(len(self.conn.reqs), 2)
144 req1 = dict(self.conn.reqs[0].headers)
145 req2 = dict(self.conn.reqs[1].headers)
147 self.assertIn('xxx', self.conn.reqs[1].data)
173 self.assertEqual(len(self.conn.reqs), 1)
174 req = self.conn.reqs[0]
191 self.assertEqual(len(self.conn.reqs), 1)
192 req = self.conn.reqs[0]
/external/python/cpython3/Lib/distutils/tests/
Dtest_register.py57 self.reqs = []
63 self.reqs.append(req)
151 self.assertEqual(len(self.conn.reqs), 2)
152 req1 = dict(self.conn.reqs[0].headers)
153 req2 = dict(self.conn.reqs[1].headers)
157 self.assertIn(b'xxx', self.conn.reqs[1].data)
183 self.assertEqual(len(self.conn.reqs), 1)
184 req = self.conn.reqs[0]
201 self.assertEqual(len(self.conn.reqs), 1)
202 req = self.conn.reqs[0]
/external/ipsec-tools/src/libipsec/
Dtest-policy.c54 } reqs[] = { variable
111 for (i = 0; i < sizeof(reqs)/sizeof(reqs[0]); i++) { in test1()
112 printf("#%d [%s]\n", i + 1, reqs[i].str); in test1()
114 result = test1sub1(&reqs[i]); in test1()
115 if (result == 0 && reqs[i].result == 1) { in test1()
117 } else if (result == 1 && reqs[i].result == 0) { in test1()
/external/grpc-grpc/src/ruby/qps/
Dworker.rb38 def run_server(reqs) argument
43 reqs.each do |req|
57 def run_client(reqs) argument
61 reqs.each do |req|
Dqps-common.rb65 def initialize(reqs) argument
66 @reqs = reqs
Dserver.rb36 def streaming_call(reqs) argument
37 PingPongEnumerator.new(reqs).each_item
Dproxy-worker.rb113 def run_client(reqs) argument
116 reqs.each do |req|
/external/skia/tools/gpu/gl/interface/
Dgen_interface.go124 reqs := getReqs(feature)
125 if len(reqs) == 0 {
131 for i, req := range reqs {
178 if feature.Required && reqs[0] != CORE_REQUIREMENT {
312 reqs := std.GetReqs(feature)
313 if reqs == nil || len(reqs) == 0 {
317 for _, r := range reqs {
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c283 VkMemoryRequirements reqs; in wsi_create_native_image() local
284 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs); in wsi_create_native_image()
305 .allocationSize = reqs.size, in wsi_create_native_image()
307 reqs.memoryTypeBits), in wsi_create_native_image()
391 image->sizes[0] = reqs.size; in wsi_create_native_image()
454 VkMemoryRequirements reqs; in wsi_create_prime_image() local
455 wsi->GetBufferMemoryRequirements(chain->device, image->prime.buffer, &reqs); in wsi_create_prime_image()
456 assert(reqs.size <= linear_size); in wsi_create_prime_image()
478 .memoryTypeIndex = select_memory_type(wsi, 0, reqs.memoryTypeBits), in wsi_create_prime_image()
516 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs); in wsi_create_prime_image()
[all …]
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dservice.rb173 define_method(mth_name) do |reqs, metadata = {}|
175 client_streamer(route, reqs, marshal, unmarshal, metadata)
183 define_method(mth_name) do |reqs, metadata = {}, &blk|
185 bidi_streamer(route, reqs, marshal, unmarshal, metadata, &blk)
/external/angle/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py345 reqs = (major, minor)
348 gl_required = reqs
350 print('Upgrade ' + entry_point + ' to ' + str(reqs) + ' instead of ' +
352 gl_required = reqs
355 ' instead of ' + str(reqs))
358 gles2_required = reqs
360 print("Duplicate for " + entry_point + ": " + str(reqs) + " and " +
/external/grpc-grpc/src/ruby/pb/test/
Dserver.rb201 def full_duplex_call(reqs, _call) argument
204 FullDuplexEnumerator.new(reqs).each_item
207 def half_duplex_call(reqs) argument
210 full_duplex_call(reqs)
/external/python/setuptools/setuptools/tests/
Dtest_dist.py45 reqs = '''
54 for r in reqs
56 assert [dist.key for dist in resolved_dists if dist] == reqs
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c137 tu_GetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *reqs) in tu_GetBufferMemoryRequirements() argument
144 *reqs = reqs2.memoryRequirements; in tu_GetBufferMemoryRequirements()
148 tu_GetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements *reqs) in tu_GetImageMemoryRequirements() argument
155 *reqs = reqs2.memoryRequirements; in tu_GetImageMemoryRequirements()
162 VkSparseImageMemoryRequirements *reqs) in tu_GetImageSparseMemoryRequirements() argument
169 if (!reqs) in tu_GetImageSparseMemoryRequirements()
179 reqs[i] = reqs2[i].memoryRequirements; in tu_GetImageSparseMemoryRequirements()
/external/mesa3d/src/intel/vulkan/
Danv_dump.c85 VkMemoryRequirements reqs; in dump_image_init() local
86 anv_GetImageMemoryRequirements(vk_device, image->image, &reqs); in dump_image_init()
91 .allocationSize = reqs.size, in dump_image_init()
205 VkMemoryRequirements reqs; in dump_image_write_to_ppm() local
206 anv_GetImageMemoryRequirements(vk_device, image->image, &reqs); in dump_image_write_to_ppm()
209 result = anv_MapMemory(vk_device, image->memory, 0, reqs.size, 0, (void **)&map); in dump_image_write_to_ppm()
/external/deqp/external/vulkancts/framework/vulkan/
DvkYCbCrImageWithMemory.cpp49 const VkMemoryRequirements reqs = getImageMemoryRequirements(vk, device, *m_image); in YCbCrImageWithMemory() local
50 m_allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release())); in YCbCrImageWithMemory()
DvkQueryUtil.cpp311 VkMemoryRequirements2 reqs; in getImagePlaneMemoryRequirements() local
315 deMemset(&reqs, 0, sizeof(reqs)); in getImagePlaneMemoryRequirements()
324 reqs.sType = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR; in getImagePlaneMemoryRequirements()
326 vkd.getImageMemoryRequirements2(device, &coreInfo, &reqs); in getImagePlaneMemoryRequirements()
328 return reqs.memoryRequirements; in getImagePlaneMemoryRequirements()
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc.py71 reqs = []
76 reqs.extend(t['plugins']['requires'])
78 reqs.append(t['plugins']['requires'])
81 reqs = get_unique_item(reqs)
82 return reqs
84 def load_required_plugins(self, reqs, parser, args, remaining): argument
92 for r in reqs:
/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c60 const VkMemoryRequirements *reqs, in get_memory_type_index() argument
64 if (((reqs->memoryTypeBits >> i) & 1) == 1) { in get_memory_type_index()
105 VkMemoryRequirements reqs; in resource_create() local
149 vkGetBufferMemoryRequirements(screen->dev, res->buffer, &reqs); in resource_create()
248 vkGetImageMemoryRequirements(screen->dev, res->image, &reqs); in resource_create()
257 mai.allocationSize = reqs.size; in resource_create()
258 mai.memoryTypeIndex = get_memory_type_index(screen, &reqs, flags); in resource_create()
299 res->size = reqs.size; in resource_create()
/external/grpc-grpc/examples/ruby/route_guide/
Droute_guide_client.rb104 reqs = RandomRoute.new(features, points_on_route)
105 resp = stub.record_route(reqs.each)
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp454 …cateInfo DeviceMemory::get_resource_alloc_info(const Device &dev, const VkMemoryRequirements &reqs, in get_resource_alloc_info() argument
464 VkMemoryAllocateInfo info = alloc_info(reqs.size, mem_type_index); in get_resource_alloc_info()
465 EXPECT(dev.phy().set_memory_type(reqs.memoryTypeBits, &info, mem_props)); in get_resource_alloc_info()
520 VkMemoryRequirements reqs; in memory_requirements() local
522 vkGetBufferMemoryRequirements(device(), handle(), &reqs); in memory_requirements()
524 return reqs; in memory_requirements()
567 VkMemoryRequirements reqs; in memory_requirements() local
569 vkGetImageMemoryRequirements(device(), handle(), &reqs); in memory_requirements()
571 return reqs; in memory_requirements()

123