/third_party/ltp/tools/sparse/sparse-src/ |
D | optimize.c | 23 static void clear_symbol_pseudos(struct entrypoint *ep) in clear_symbol_pseudos() argument 27 FOR_EACH_PTR(ep->accesses, pseudo) { in clear_symbol_pseudos() 33 static void clean_up_insns(struct entrypoint *ep) in clean_up_insns() argument 37 FOR_EACH_PTR(ep->bbs, bb) { in clean_up_insns() 51 static void cleanup_cfg(struct entrypoint *ep) in cleanup_cfg() argument 53 kill_unreachable_bbs(ep); in cleanup_cfg() 54 domtree_build(ep); in cleanup_cfg() 59 void optimize(struct entrypoint *ep) in optimize() argument 62 show_entry(ep); in optimize() 68 kill_unreachable_bbs(ep); in optimize() [all …]
|
D | linearize.c | 26 static pseudo_t linearize_statement(struct entrypoint *ep, struct statement *stmt); 27 static pseudo_t linearize_expression(struct entrypoint *ep, struct expression *expr); 29 static pseudo_t add_cast(struct entrypoint *ep, struct symbol *to, struct symbol *from, int op, pse… 30 static pseudo_t add_binary_op(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t left, p… 31 static pseudo_t linearize_one_symbol(struct entrypoint *ep, struct symbol *sym); 33 static pseudo_t cast_pseudo(struct entrypoint *ep, pseudo_t src, struct symbol *from, struct symbol… 67 static struct basic_block *alloc_basic_block(struct entrypoint *ep, struct position pos) in alloc_basic_block() argument 72 bb->ep = ep; in alloc_basic_block() 584 void show_entry(struct entrypoint *ep) in show_entry() argument 589 printf("%s:\n", show_ident(ep->name->ident)); in show_entry() [all …]
|
D | flowgraph.c | 47 static void debug_postorder(struct entrypoint *ep) in debug_postorder() argument 51 printf("%s's reverse postorder:\n", show_ident(ep->name->ident)); in debug_postorder() 52 FOR_EACH_PTR(ep->bbs, bb) { in debug_postorder() 63 int cfg_postorder(struct entrypoint *ep) in cfg_postorder() argument 69 label_postorder(ep->entry->bb, &info); in cfg_postorder() 73 free_ptr_list(&ep->bbs); in cfg_postorder() 74 ep->bbs = NULL; in cfg_postorder() 75 reverse_bbs(&ep->bbs, info.list); in cfg_postorder() 78 debug_postorder(ep); in cfg_postorder() 105 static void debug_domtree(struct entrypoint *ep) in debug_domtree() argument [all …]
|
D | sparse.c | 70 static int imbalance(struct entrypoint *ep, struct basic_block *bb, int entry, int exit, const char… in imbalance() argument 73 struct symbol *sym = ep->name; in imbalance() 79 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit); 81 static int check_children(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_children() argument 90 return entry != exit ? imbalance(ep, bb, entry, exit, "wrong count at exit") : 0; in check_children() 93 if (check_bb_context(ep, child, entry, exit)) in check_children() 99 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_bb_context() argument 108 return imbalance(ep, bb, entry, bb->context, "different lock contexts for basic block"); in check_bb_context() 113 return imbalance(ep, bb, entry, exit, "unexpected unlock"); in check_bb_context() 115 return check_children(ep, bb, entry, exit); in check_bb_context() [all …]
|
D | graph.c | 44 static void graph_ep(struct entrypoint *ep) in graph_ep() argument 51 fname = show_ident(ep->name->ident); in graph_ep() 52 sname = stream_name(ep->entry->bb->pos.stream); in graph_ep() 63 ep, sname, fname, sname, fname, ep->entry->bb); in graph_ep() 65 FOR_EACH_PTR(ep->bbs, bb) { in graph_ep() 120 static void graph_calls(struct entrypoint *ep, int internal) in graph_calls() argument 125 show_ident(ep->name->ident); in graph_calls() 126 stream_name(ep->entry->bb->pos.stream); in graph_calls() 128 FOR_EACH_PTR(ep->bbs, bb) { in graph_calls() 145 if (sym->namespace & NS_SYMBOL && sym->ep) in graph_calls() [all …]
|
D | ir.c | 67 show_entry(insn->bb->ep); in check_user() 77 show_entry(insn->bb->ep); in check_user() 88 static int check_branch(struct entrypoint *ep, struct instruction *insn, struct basic_block *bb) in check_branch() argument 90 if (bb->ep && lookup_bb(ep->bbs, bb)) in check_branch() 96 static int check_switch(struct entrypoint *ep, struct instruction *insn) in check_switch() argument 102 err = check_branch(ep, insn, jmp->target); in check_switch() 121 static int validate_insn(struct entrypoint *ep, struct instruction *insn) in validate_insn() argument 143 err += check_branch(ep, insn, insn->bb_true); in validate_insn() 144 err += check_branch(ep, insn, insn->bb_false); in validate_insn() 171 err += check_branch(ep, insn, insn->bb_true); in validate_insn() [all …]
|
D | flow.h | 16 extern int simplify_flow(struct entrypoint *ep); 18 extern void kill_dead_stores(struct entrypoint *ep, pseudo_t addr, int local); 19 extern void simplify_symbol_usage(struct entrypoint *ep); 20 extern void simplify_memops(struct entrypoint *ep); 21 extern void pack_basic_blocks(struct entrypoint *ep); 22 extern int simplify_cfg_early(struct entrypoint *ep); 31 extern void kill_unreachable_bbs(struct entrypoint *ep); 46 extern void vrfy_flow(struct entrypoint *ep);
|
D | test-unssa.c | 27 static void output_fn(struct entrypoint *ep) in output_fn() argument 31 struct symbol *sym = ep->name; in output_fn() 39 unssa(ep); in output_fn() 41 FOR_EACH_PTR(ep->bbs, bb) { in output_fn() 62 struct entrypoint *ep; in compile() local 64 ep = linearize_symbol(sym); in compile() 67 if (ep) in compile() 68 output_fn(ep); in compile()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | usbdev.h | 80 #define EP_CONFIGURE(ep, desc, last) (ep)->ops->configure(ep, desc, last) argument 84 #define EP_DISABLE(ep) (ep)->ops->disable(ep) argument 88 #define EP_ALLOCREQ(ep) (ep)->ops->allocreq(ep) argument 89 #define EP_FREEREQ(ep, req) (ep)->ops->freereq(ep, req) argument 94 # define EP_ALLOCBUFFER(ep, nb) (ep)->ops->allocbuffer(ep, nb) argument 95 # define EP_FREEBUFFER(ep, buf) (ep)->ops->freebuffer(ep, buf) argument 97 # define EP_ALLOCBUFFER(ep, nb) malloc(nb) argument 98 # define EP_FREEBUFFER(ep, buf) free(buf) argument 103 #define EP_SUBMIT(ep, req) (ep)->ops->submit(ep, req) argument 107 #define EP_CANCEL(ep, req) (ep)->ops->cancel(ep, req) argument [all …]
|
D | cdcacm.c | 181 static struct usbdev_req_s *cdcacm_allocreq(FAR struct usbdev_ep_s *ep, 183 static void cdcacm_freereq(FAR struct usbdev_ep_s *ep, 190 static int cdcacm_epconfigure(FAR struct usbdev_ep_s *ep, 201 static void cdcacm_rdcomplete(FAR struct usbdev_ep_s *ep, 203 static void cdcacm_wrcomplete(FAR struct usbdev_ep_s *ep, 349 FAR struct usbdev_ep_s *ep; in cdcacm_sndpacket() local 361 ep = priv->epbulkin; in cdcacm_sndpacket() 422 ret = EP_SUBMIT(ep, req); in cdcacm_sndpacket() 563 FAR struct usbdev_ep_s *ep; in cdcacm_requeue_rdrequest() local 583 ep = priv->epbulkout; in cdcacm_requeue_rdrequest() [all …]
|
/third_party/python/Lib/test/ |
D | test_epoll.py | 67 ep = select.epoll(16) 70 self.assertTrue(ep.fileno() > 0, ep.fileno()) 71 self.assertTrue(not ep.closed) 72 ep.close() 73 self.assertTrue(ep.closed) 74 self.assertRaises(ValueError, ep.fileno) 97 with select.epoll(16) as ep: 98 self.assertGreater(ep.fileno(), 0) 99 self.assertFalse(ep.closed) 100 self.assertTrue(ep.closed) [all …]
|
/third_party/openssl/apps/ |
D | rehash.c | 130 HENTRY *ep, *found = NULL; in add_entry() local 145 for (ep = bp->first_entry; ep; ep = ep->next) { in add_entry() 146 if (digest && memcmp(digest, ep->digest, evpmdsize) == 0) { in add_entry() 153 if (strcmp(filename, ep->filename) == 0) { in add_entry() 154 found = ep; in add_entry() 159 ep = found; in add_entry() 160 if (ep == NULL) { in add_entry() 167 ep = app_malloc(sizeof(*ep), "collision bucket"); in add_entry() 168 *ep = nilhentry; in add_entry() 169 ep->old_id = ~0; in add_entry() [all …]
|
/third_party/lwip/src/netif/ppp/ |
D | multilink.c | 75 #define set_ip_epdisc(ep, addr) do { \ argument 76 ep->length = 4; \ 77 ep->value[0] = addr >> 24; \ 78 ep->value[1] = addr >> 16; \ 79 ep->value[2] = addr >> 8; \ 80 ep->value[3] = addr; \ 452 get_default_epdisc(ep) in get_default_epdisc() argument 453 struct epdisc *ep; in get_default_epdisc() 461 if (p != 0 && get_if_hwaddr(ep->value, p) >= 0) { 462 ep->class = EPD_MAC; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 147 char* Format64(char* ep, int width, std::int_fast64_t v) { in Format64() argument 161 *--ep = kDigits[last_digit]; in Format64() 167 *--ep = kDigits[v % 10]; in Format64() 169 while (--width >= 0) *--ep = '0'; // zero pad in Format64() 170 if (neg) *--ep = '-'; in Format64() 171 return ep; in Format64() 175 char* Format02d(char* ep, int v) { in Format02d() argument 176 *--ep = kDigits[v % 10]; in Format02d() 177 *--ep = kDigits[(v / 10) % 10]; in Format02d() 178 return ep; in Format02d() [all …]
|
D | time_zone_fixed.cc | 62 const char* const ep = kFixedZonePrefix + prefix_len; in FixedOffsetFromName() local 65 if (!std::equal(kFixedZonePrefix, ep, name.begin())) return false; in FixedOffsetFromName() 108 char* ep = std::copy(kFixedZonePrefix, kFixedZonePrefix + prefix_len, buf); in FixedOffsetToName() local 109 *ep++ = sign; in FixedOffsetToName() 110 ep = Format02d(ep, offset_hours); in FixedOffsetToName() 111 *ep++ = ':'; in FixedOffsetToName() 112 ep = Format02d(ep, offset_minutes); in FixedOffsetToName() 113 *ep++ = ':'; in FixedOffsetToName() 114 ep = Format02d(ep, offset_seconds); in FixedOffsetToName() 115 *ep++ = '\0'; in FixedOffsetToName() [all …]
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_generic_epfile.c | 55 static void generic_epfile_req_sync_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_epfile_req_sync_complete() argument 60 if (ep == NULL || epfile == NULL || req == NULL) in generic_epfile_req_sync_complete() 75 struct usbdev_req_s *req = epfile->ep->req; in generic_epfile_submit_sync() 89 ret = EP_SUBMIT(epfile->ep->ep, req); in generic_epfile_submit_sync() 128 static void generic_epfile_req_complete(struct usbdev_ep_s *ep, struct usbdev_req_s *req) in generic_epfile_req_complete() argument 133 if (ep == NULL || epfile == NULL || req == NULL) in generic_epfile_req_complete() 169 if (epfile->ep == NULL) { in generic_epfile_submit_request() 172 req = epfile->ep->req; in generic_epfile_submit_request() 181 ret = EP_SUBMIT(epfile->ep->ep, req); in generic_epfile_submit_request() 206 return EP_CANCEL(epfile->ep->ep, epfile->ep->req); in generic_epfile_cancel_cur_request() [all …]
|
/third_party/python/Lib/test/test_importlib/ |
D | test_main.py | 60 ep = entry_points(group='entries')['main'] 61 self.assertEqual(ep.load().__name__, "main") 64 ep = entry_points(group='entries')['ns:sub'] 65 self.assertEqual(ep.value, 'mod:main') 68 ep = EntryPoint( 73 assert ep.load() is importlib.metadata 221 self.ep = importlib.metadata.EntryPoint('name', 'value', 'group') 224 revived = pickle.loads(pickle.dumps(self.ep)) 225 assert revived == self.ep 230 self.ep.name = 'badactor' [all …]
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 119 struct usb_endpoint *ep = udev->endpoints; in usbd_get_ep_by_addr() local 135 for (; ep != ep_end; ep++) { in usbd_get_ep_by_addr() 136 if (ep->edesc == NULL) { in usbd_get_ep_by_addr() 140 if ((ep->edesc->bEndpointAddress & EA_MASK) == ea_val) { in usbd_get_ep_by_addr() 150 ep = &udev->ctrl_ep; in usbd_get_ep_by_addr() 156 return (ep); in usbd_get_ep_by_addr() 173 struct usb_endpoint *ep = udev->endpoints; in usbd_get_endpoint() local 245 for (; ep != ep_end; ep++) { in usbd_get_endpoint() 246 if ((ep->edesc == NULL) || in usbd_get_endpoint() 247 (ep->iface_index != iface_index)) { in usbd_get_endpoint() [all …]
|
D | usb_debug.c | 90 usb_dump_queue(struct usb_endpoint *ep) in usb_dump_queue() argument 95 PRINTK("usb_dump_queue: endpoint=%p xfer: ", ep); in usb_dump_queue() 97 TAILQ_FOREACH(xfer, &ep->endpoint_q[x].head, wait_entry) in usb_dump_queue() 109 usb_dump_endpoint(struct usb_endpoint *ep) in usb_dump_endpoint() argument 111 if (ep) { in usb_dump_endpoint() 112 PRINTK("usb_dump_endpoint: endpoint=%p", ep); in usb_dump_endpoint() 115 ep->edesc, ep->isoc_next, ep->toggle_next); in usb_dump_endpoint() 117 if (ep->edesc) { in usb_dump_endpoint() 119 ep->edesc->bEndpointAddress); in usb_dump_endpoint() 122 usb_dump_queue(ep); in usb_dump_endpoint()
|
/third_party/libuv/src/unix/ |
D | os390.c | 116 uv__os390_epoll* ep; in uv__platform_loop_init() local 118 ep = epoll_create1(0); in uv__platform_loop_init() 119 loop->ep = ep; in uv__platform_loop_init() 120 if (ep == NULL) in uv__platform_loop_init() 128 if (loop->ep != NULL) { in uv__platform_loop_delete() 129 epoll_queue_close(loop->ep); in uv__platform_loop_delete() 130 loop->ep = NULL; in uv__platform_loop_delete() 506 if (loop->ep != NULL) in uv__platform_invalidate_fd() 507 epoll_ctl(loop->ep, EPOLL_CTL_DEL, fd, &dummy); in uv__platform_invalidate_fd() 545 uv__os390_epoll* ep; in uv_fs_event_start() local [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | tint_common_fuzzer.cc | 273 for (auto& ep : entry_points) { in RunInspector() local 274 inspector.GetRemappedNameForEntryPoint(ep.name); in RunInspector() 277 inspector.GetStorageSize(ep.name); in RunInspector() 280 inspector.GetResourceBindings(ep.name); in RunInspector() 283 inspector.GetUniformBufferResourceBindings(ep.name); in RunInspector() 286 inspector.GetStorageBufferResourceBindings(ep.name); in RunInspector() 289 inspector.GetReadOnlyStorageBufferResourceBindings(ep.name); in RunInspector() 292 inspector.GetSamplerResourceBindings(ep.name); in RunInspector() 295 inspector.GetComparisonSamplerResourceBindings(ep.name); in RunInspector() 298 inspector.GetSampledTextureResourceBindings(ep.name); in RunInspector() [all …]
|
/third_party/musl/porting/linux/user/src/env/ |
D | getenv.c | 11 char **p, *ep; in getenv() local 13 for (p = __environ; (ep = *p) != NULL; ++p) { in getenv() 14 for (np = name, i = l; i && *ep; i--) { in getenv() 15 if (*ep++ != *np++) { in getenv() 19 if (i == 0 && *ep++ == '=') { in getenv() 20 return (ep); in getenv()
|
/third_party/iowow/src/utils/ |
D | iwpool.c | 179 const char *ep = sp; in iwpool_split_string() local 181 for (int i = 0; *ep; ++i, ++ep) { in iwpool_split_string() 184 if ((ep >= sp) && (sch || (*(ep + 1) == '\0'))) { in iwpool_split_string() 185 if (!sch && (*(ep + 1) == '\0')) { in iwpool_split_string() 186 ++ep; in iwpool_split_string() 190 while (isspace(*(ep - 1))) --ep; in iwpool_split_string() 192 if (ep >= sp) { in iwpool_split_string() 193 char *s = iwpool_alloc(ep - sp + 1, pool); in iwpool_split_string() 197 memcpy(s, sp, ep - sp); in iwpool_split_string() 198 s[ep - sp] = '\0'; in iwpool_split_string() [all …]
|
/third_party/flutter/glfw/src/ |
D | vulkan.c | 42 VkExtensionProperties* ep; in _glfwInitVulkan() local 93 ep = calloc(count, sizeof(VkExtensionProperties)); in _glfwInitVulkan() 95 err = vkEnumerateInstanceExtensionProperties(NULL, &count, ep); in _glfwInitVulkan() 102 free(ep); in _glfwInitVulkan() 109 if (strcmp(ep[i].extensionName, "VK_KHR_surface") == 0) in _glfwInitVulkan() 111 if (strcmp(ep[i].extensionName, "VK_KHR_win32_surface") == 0) in _glfwInitVulkan() 113 if (strcmp(ep[i].extensionName, "VK_KHR_xlib_surface") == 0) in _glfwInitVulkan() 115 if (strcmp(ep[i].extensionName, "VK_KHR_xcb_surface") == 0) in _glfwInitVulkan() 117 if (strcmp(ep[i].extensionName, "VK_KHR_wayland_surface") == 0) in _glfwInitVulkan() 119 if (strcmp(ep[i].extensionName, "VK_KHR_mir_surface") == 0) in _glfwInitVulkan() [all …]
|
/third_party/skia/third_party/externals/tint/test/samples/ |
D | function.wgsl.expected.spvasm | 8 OpEntryPoint GLCompute %ep "ep" 9 OpExecutionMode %ep LocalSize 2 1 1 11 OpName %ep "ep" 27 %ep = OpFunction %void None %12
|