/external/strace/tests/ |
D | netlink_protocol.c | 125 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-mx32/ |
D | netlink_protocol.c | 125 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/ |
D | netlink_protocol.c | 125 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/ |
D | math_client.rb | 58 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/ |
D | test_register.py | 57 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/ |
D | test_register.py | 57 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/ |
D | test-policy.c | 54 } 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/deqp/external/vulkancts/framework/vulkan/ |
D | vkYCbCrImageWithMemory.cpp | 46 …const VkMemoryRequirements reqs = getImagePlaneMemoryRequirements(vk, device, *m_image, planeAspe… in YCbCrImageWithMemory() local 48 m_allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release())); in YCbCrImageWithMemory() 55 const VkMemoryRequirements reqs = getImageMemoryRequirements(vk, device, *m_image); in YCbCrImageWithMemory() local 56 m_allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release())); in YCbCrImageWithMemory()
|
D | vkQueryUtil.cpp | 256 VkMemoryRequirements2 reqs; in getImagePlaneMemoryRequirements() local 260 deMemset(&reqs, 0, sizeof(reqs)); in getImagePlaneMemoryRequirements() 269 reqs.sType = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR; in getImagePlaneMemoryRequirements() 271 vkd.getImageMemoryRequirements2(device, &coreInfo, &reqs); in getImagePlaneMemoryRequirements() 273 return reqs.memoryRequirements; in getImagePlaneMemoryRequirements()
|
/external/grpc-grpc/src/ruby/qps/ |
D | worker.rb | 38 def run_server(reqs) argument 43 reqs.each do |req| 57 def run_client(reqs) argument 61 reqs.each do |req|
|
D | server.rb | 36 def streaming_call(reqs) argument 37 PingPongEnumerator.new(reqs).each_item
|
D | qps-common.rb | 65 def initialize(reqs) argument 66 @reqs = reqs
|
D | proxy-worker.rb | 113 def run_client(reqs) argument 116 reqs.each do |req|
|
/external/grpc-grpc/src/ruby/lib/grpc/generic/ |
D | service.rb | 173 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/grpc-grpc/src/ruby/pb/test/ |
D | server.rb | 201 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)
|
D | client.rb | 376 reqs = msg_sizes.map do |x| 380 resp = @stub.streaming_input_call(reqs) 478 reqs = msg_sizes.map do |x| 482 op = @stub.streaming_input_call(reqs, return_op: true)
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 236 VkMemoryRequirements reqs; in wsi_create_native_image() local 237 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs); in wsi_create_native_image() 267 .allocationSize = reqs.size, in wsi_create_native_image() 269 reqs.memoryTypeBits), in wsi_create_native_image() 292 image->size = reqs.size; in wsi_create_native_image() 341 VkMemoryRequirements reqs; in wsi_create_prime_image() local 342 wsi->GetBufferMemoryRequirements(chain->device, image->prime.buffer, &reqs); in wsi_create_prime_image() 343 assert(reqs.size <= linear_size); in wsi_create_prime_image() 365 .memoryTypeIndex = select_memory_type(wsi, 0, reqs.memoryTypeBits), in wsi_create_prime_image() 403 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs); in wsi_create_prime_image() [all …]
|
/external/python/setuptools/setuptools/tests/ |
D | test_dist.py | 45 reqs = ''' 54 for r in reqs 56 assert [dist.key for dist in resolved_dists if dist] == reqs
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_dump.c | 85 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/vulkan-validation-layers/tests/ |
D | vktestbinding.cpp | 454 …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()
|
D | vkrenderframework.cpp | 1007 … VkFlags const usage, VkImageTiling const requested_tiling, VkMemoryPropertyFlags const reqs, in InitNoLayout() argument 1051 vk_testing::Image::init(*m_device, imageCreateInfo, reqs); in InitNoLayout() 1055 … VkFlags const usage, VkImageTiling const requested_tiling, VkMemoryPropertyFlags const reqs, in Init() argument 1057 InitNoLayout(width, height, mipLevels, format, usage, requested_tiling, reqs, queue_families); in Init() 1213 …VkMemoryPropertyFlags reqs = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHEREN… in Read() local 1216 VK_IMAGE_TILING_LINEAR, reqs); in Read() 1239 …VkMemoryPropertyFlags reqs = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHEREN… in VkTextureObj() local 1242 VK_IMAGE_TILING_LINEAR, reqs); in VkTextureObj() 1328 …VkMemoryPropertyFlags reqs = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHEREN… in VkConstantBufferObj() local 1331 init_as_src_and_dst(*m_device, allocationSize, reqs); in VkConstantBufferObj() [all …]
|
/external/grpc-grpc/examples/ruby/route_guide/ |
D | route_guide_client.rb | 104 reqs = RandomRoute.new(features, points_on_route) 105 resp = stub.record_route(reqs.each)
|
/external/syzkaller/vendor/golang.org/x/net/trace/ |
D | events.go | 450 table#reqs { 453 table#reqs tr.first { 456 table#reqs td { 459 table#reqs td.when { 463 table#reqs td.elapsed {
|
/external/libpng/scripts/ |
D | options.awk | 424 reqs = "" 433 reqs = reqs " " $(i) 439 setting[$2] = reqs
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 588 reqs = parse_requirements(req_spec) 589 dists = ws.resolve(reqs, Environment()) 2343 reqs = self.dist.requires(self.extras) 2344 items = working_set.resolve(reqs, env, installer, extras=self.extras) 2589 reqs = dm.pop(extra) 2596 reqs = [] 2599 dm.setdefault(new_extra, []).extend(reqs) 2605 for extra, reqs in split_sections(self._get_metadata(name)): 2606 dm.setdefault(extra, []).extend(parse_requirements(reqs)) 2869 reqs = [] [all …]
|