Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 185) sorted by relevance

12345678

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_acktr.c31 static void acktr_entry_init(ngtcp2_acktr_entry *ent, int64_t pkt_num, in acktr_entry_init() argument
33 ent->pkt_num = pkt_num; in acktr_entry_init()
34 ent->len = 1; in acktr_entry_init()
35 ent->tstamp = tstamp; in acktr_entry_init()
38 int ngtcp2_acktr_entry_objalloc_new(ngtcp2_acktr_entry **ent, int64_t pkt_num, in ngtcp2_acktr_entry_objalloc_new() argument
41 *ent = ngtcp2_objalloc_acktr_entry_get(objalloc); in ngtcp2_acktr_entry_objalloc_new()
42 if (*ent == NULL) { in ngtcp2_acktr_entry_objalloc_new()
46 acktr_entry_init(*ent, pkt_num, tstamp); in ngtcp2_acktr_entry_objalloc_new()
51 void ngtcp2_acktr_entry_objalloc_del(ngtcp2_acktr_entry *ent, in ngtcp2_acktr_entry_objalloc_del() argument
53 ngtcp2_objalloc_acktr_entry_release(objalloc, ent); in ngtcp2_acktr_entry_objalloc_del()
[all …]
Dngtcp2_rtb.c252 static void rtb_entry_init(ngtcp2_rtb_entry *ent, const ngtcp2_pkt_hd *hd, in rtb_entry_init() argument
255 memset(ent, 0, sizeof(*ent)); in rtb_entry_init()
257 ent->hd.pkt_num = hd->pkt_num; in rtb_entry_init()
258 ent->hd.type = hd->type; in rtb_entry_init()
259 ent->hd.flags = hd->flags; in rtb_entry_init()
260 ent->frc = frc; in rtb_entry_init()
261 ent->ts = ts; in rtb_entry_init()
262 ent->lost_ts = UINT64_MAX; in rtb_entry_init()
263 ent->pktlen = pktlen; in rtb_entry_init()
264 ent->flags = flags; in rtb_entry_init()
[all …]
Dngtcp2_rst.c59 void ngtcp2_rst_on_pkt_sent(ngtcp2_rst *rst, ngtcp2_rtb_entry *ent, in ngtcp2_rst_on_pkt_sent() argument
62 rst->first_sent_ts = rst->delivered_ts = ent->ts; in ngtcp2_rst_on_pkt_sent()
64 ent->rst.first_sent_ts = rst->first_sent_ts; in ngtcp2_rst_on_pkt_sent()
65 ent->rst.delivered_ts = rst->delivered_ts; in ngtcp2_rst_on_pkt_sent()
66 ent->rst.delivered = rst->delivered; in ngtcp2_rst_on_pkt_sent()
67 ent->rst.is_app_limited = rst->app_limited != 0; in ngtcp2_rst_on_pkt_sent()
68 ent->rst.tx_in_flight = cstat->bytes_in_flight + ent->pktlen; in ngtcp2_rst_on_pkt_sent()
69 ent->rst.lost = rst->lost; in ngtcp2_rst_on_pkt_sent()
114 void ngtcp2_rst_update_rate_sample(ngtcp2_rst *rst, const ngtcp2_rtb_entry *ent, in ngtcp2_rst_update_rate_sample() argument
118 rst->delivered += ent->pktlen; in ngtcp2_rst_update_rate_sample()
[all …]
Dngtcp2_pv.c76 ngtcp2_pv_entry *ent; in ngtcp2_pv_add_entry() local
84 ent = ngtcp2_ringbuf_push_back(&pv->ents.rb); in ngtcp2_pv_add_entry()
85 ngtcp2_pv_entry_init(ent, data, expiry, flags); in ngtcp2_pv_add_entry()
94 ngtcp2_pv_entry *ent; in ngtcp2_pv_validate() local
101 ent = ngtcp2_ringbuf_get(&pv->ents.rb, i); in ngtcp2_pv_validate()
102 if (memcmp(ent->data, data, sizeof(ent->data)) == 0) { in ngtcp2_pv_validate()
103 *pflags = ent->flags; in ngtcp2_pv_validate()
113 ngtcp2_pv_entry *ent; in ngtcp2_pv_handle_entry_expiry() local
119 ent = ngtcp2_ringbuf_get(&pv->ents.rb, ngtcp2_ringbuf_len(&pv->ents.rb) - 1); in ngtcp2_pv_handle_entry_expiry()
121 if (ent->expiry > ts) { in ngtcp2_pv_handle_entry_expiry()
[all …]
Dngtcp2_opl.c29 void ngtcp2_opl_push(ngtcp2_opl *opl, ngtcp2_opl_entry *ent) { in ngtcp2_opl_push() argument
30 ent->next = opl->head; in ngtcp2_opl_push()
31 opl->head = ent; in ngtcp2_opl_push()
35 ngtcp2_opl_entry *ent = opl->head; in ngtcp2_opl_pop() local
37 if (!ent) { in ngtcp2_opl_pop()
41 opl->head = ent->next; in ngtcp2_opl_pop()
43 return ent; in ngtcp2_opl_pop()
/third_party/node/deps/uv/src/unix/
Dbsd-ifaddrs.c38 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude() argument
39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
41 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
50 return (ent->ifa_addr->sa_family != AF_LINK); in uv__ifaddr_exclude()
58 if (ent->ifa_addr->sa_family == AF_LINK) in uv__ifaddr_exclude()
61 if (ent->ifa_addr->sa_family != PF_INET && in uv__ifaddr_exclude()
62 ent->ifa_addr->sa_family != PF_INET6) in uv__ifaddr_exclude()
70 struct ifaddrs* ent; in uv_interface_addresses() local
83 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
84 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
[all …]
Dlinux-core.c620 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude() argument
621 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
623 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
629 if (ent->ifa_addr->sa_family == PF_PACKET) in uv__ifaddr_exclude()
641 struct ifaddrs *addrs, *ent; in uv_interface_addresses()
653 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
654 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
674 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
675 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
678 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
[all …]
Dsunos.c765 struct ifaddrs* ent) { in uv__set_phys_addr() argument
773 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv__set_phys_addr()
807 static int uv__ifaddr_exclude(struct ifaddrs *ent) { in uv__ifaddr_exclude() argument
808 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
810 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
812 if (ent->ifa_addr->sa_family != AF_INET && in uv__ifaddr_exclude()
813 ent->ifa_addr->sa_family != AF_INET6) in uv__ifaddr_exclude()
821 struct ifaddrs* ent; in uv_interface_addresses() local
830 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
831 if (uv__ifaddr_exclude(ent)) in uv_interface_addresses()
[all …]
/third_party/libuv/src/unix/
Dbsd-ifaddrs.c38 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude() argument
39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
41 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
50 return (ent->ifa_addr->sa_family != AF_LINK); in uv__ifaddr_exclude()
58 if (ent->ifa_addr->sa_family == AF_LINK) in uv__ifaddr_exclude()
61 if (ent->ifa_addr->sa_family != PF_INET && in uv__ifaddr_exclude()
62 ent->ifa_addr->sa_family != PF_INET6) in uv__ifaddr_exclude()
70 struct ifaddrs* ent; in uv_interface_addresses() local
83 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
84 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
[all …]
Dlinux-core.c620 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude() argument
621 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
623 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
629 if (ent->ifa_addr->sa_family == PF_PACKET) in uv__ifaddr_exclude()
641 struct ifaddrs *addrs, *ent; in uv_interface_addresses()
653 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
654 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
674 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
675 if (uv__ifaddr_exclude(ent, UV__EXCLUDE_IFADDR)) in uv_interface_addresses()
678 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
[all …]
Dsunos.c765 struct ifaddrs* ent) { in uv__set_phys_addr() argument
773 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv__set_phys_addr()
807 static int uv__ifaddr_exclude(struct ifaddrs *ent) { in uv__ifaddr_exclude() argument
808 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
810 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
812 if (ent->ifa_addr->sa_family != AF_INET && in uv__ifaddr_exclude()
813 ent->ifa_addr->sa_family != AF_INET6) in uv__ifaddr_exclude()
821 struct ifaddrs* ent; in uv_interface_addresses() local
830 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
831 if (uv__ifaddr_exclude(ent)) in uv_interface_addresses()
[all …]
/third_party/mesa3d/src/mapi/
Dmapi_abi.py162 raise Exception('recursive alias %s' % ent.name)
178 ent = ABIEntry(cols, attrs, func)
179 entry_dict[ent.name] = ent
200 ent = entries[i]
201 if not handcode and ent.handcode:
202 handcode = ent.handcode
203 elif ent.handcode != handcode:
205 ent.handcode, handcode)
207 if ent.name in all_names:
208 raise Exception('%s is duplicated' % (ent.name))
[all …]
/third_party/nghttp2/src/
Dshrpx_dns_tracker.cc67 auto ent = ResolverEntry{}; in make_entry()
68 ent.resolv = std::move(resolv); in make_entry()
69 ent.host = std::move(host); in make_entry()
70 ent.status = status; in make_entry()
74 ent.expiry = std::chrono::steady_clock::now() + in make_entry()
81 ent.result = *result; in make_entry()
83 return ent; in make_entry()
86 void DNSTracker::update_entry(ResolverEntry &ent, in update_entry() argument
91 ent.resolv = std::move(resolv); in update_entry()
92 ent.status = status; in update_entry()
[all …]
Dshrpx_downstream_queue.cc46 auto &ent = p.second; in ~DownstreamQueue() local
47 dlist_delete_all(ent.blocked); in ~DownstreamQueue()
87 auto &ent = find_host_entry(make_host_key(downstream)); in mark_active() local
88 ++ent.num_active; in mark_active()
94 auto &ent = find_host_entry(make_host_key(downstream)); in mark_blocked() local
100 ent.blocked.append(link); in mark_blocked()
108 auto &ent = (*itr).second; in can_activate() local
109 return ent.num_active < conn_max_per_host_; in can_activate()
113 bool remove_host_entry_if_empty(const DownstreamQueue::HostEntry &ent, in remove_host_entry_if_empty() argument
116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty()
[all …]
/third_party/node/deps/openssl/openssl/crypto/x509/
Dby_dir.c151 static void by_dir_entry_free(BY_DIR_ENTRY *ent) in by_dir_entry_free() argument
153 OPENSSL_free(ent->dir); in by_dir_entry_free()
154 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
155 OPENSSL_free(ent); in by_dir_entry_free()
183 BY_DIR_ENTRY *ent; in add_cert_dir() local
191 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir()
192 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) in add_cert_dir()
204 ent = OPENSSL_malloc(sizeof(*ent)); in add_cert_dir()
205 if (ent == NULL) { in add_cert_dir()
209 ent->dir_type = type; in add_cert_dir()
[all …]
/third_party/openssl/crypto/x509/
Dby_dir.c151 static void by_dir_entry_free(BY_DIR_ENTRY *ent) in by_dir_entry_free() argument
153 OPENSSL_free(ent->dir); in by_dir_entry_free()
154 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
155 OPENSSL_free(ent); in by_dir_entry_free()
183 BY_DIR_ENTRY *ent; in add_cert_dir() local
191 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir()
192 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) in add_cert_dir()
204 ent = OPENSSL_malloc(sizeof(*ent)); in add_cert_dir()
205 if (ent == NULL) { in add_cert_dir()
209 ent->dir_type = type; in add_cert_dir()
[all …]
/third_party/glslang/glslang/MachineIndependent/
Diomapper.cpp88 TVarEntryInfo ent = {base->getId(), base, ! traverseAll}; in visitSymbol() local
89 ent.stage = intermediate.getStage(); in visitSymbol()
91ent.symbol->getAccessName()); // std::lower_bound(target->begin(), target->end(), ent, TVarEntryIn… in visitSymbol()
92 if (at != target->end() && at->second.id == ent.id) in visitSymbol()
95 (*target)[ent.symbol->getAccessName()] = ent; in visitSymbol()
127 TVarEntryInfo ent = { base->getId() }; in visitSymbol() local
133 if (at->second.id != ent.id) in visitSymbol()
205 TVarEntryInfo& ent = entKey.second; in operator ()() local
206 ent.clearNewAssignments(); in operator ()()
207 const bool isValid = resolver.validateBinding(stage, ent); in operator ()()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dhasmntopt.c30 struct mntent ent; in hasmntopt_0100() local
31 memset(&ent, 0, sizeof(ent)); in hasmntopt_0100()
32 ent.mnt_opts = mnt_opts; in hasmntopt_0100()
33 char *ret = hasmntopt(&ent, "hasmntopt"); in hasmntopt_0100()
45 struct mntent ent; in hasmntopt_0200() local
46 memset(&ent, 0, sizeof(ent)); in hasmntopt_0200()
47 ent.mnt_opts = mnt_opts; in hasmntopt_0200()
48 char *ret = hasmntopt(&ent, "0200"); in hasmntopt_0200()
/third_party/nghttp2/tests/
Dnghttp2_pq_test.c34 nghttp2_pq_entry ent; member
40 string_entry *ent; in string_entry_new() local
44 ent = nghttp2_mem_malloc(mem, sizeof(string_entry)); in string_entry_new()
45 ent->s = s; in string_entry_new()
47 return ent; in string_entry_new()
50 static void string_entry_del(string_entry *ent) { free(ent); } in string_entry_del() argument
64 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("foo")->ent)); in test_nghttp2_pq()
69 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("bar")->ent)); in test_nghttp2_pq()
72 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("baz")->ent)); in test_nghttp2_pq()
75 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("C")->ent)); in test_nghttp2_pq()
[all …]
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_opl.c30 void nghttp3_opl_push(nghttp3_opl *opl, nghttp3_opl_entry *ent) { in nghttp3_opl_push() argument
31 ent->next = opl->head; in nghttp3_opl_push()
32 opl->head = ent; in nghttp3_opl_push()
36 nghttp3_opl_entry *ent = opl->head; in nghttp3_opl_pop() local
38 if (!ent) { in nghttp3_opl_pop()
42 opl->head = ent->next; in nghttp3_opl_pop()
44 return ent; in nghttp3_opl_pop()
/third_party/mesa3d/src/mapi/glapi/gen/
Dgl_apitemp.py231 normal_ents = [f.static_name(ent) for ent in normal_ents]
232 proto_ents = [f.static_name(ent) for ent in proto_ents]
238 for ent in normal_entries:
239 print(' TABLE_ENTRY(%s),' % (ent))
242 for ent in proto_entries:
243 print(' TABLE_ENTRY(%s),' % (ent))
288 for ent in ents:
289 self.printFunction(func, ent)
297 for ent in ents:
298 self.printFunction(func, ent)
/third_party/node/deps/nghttp2/lib/
Dnghttp2_hd.c487 void nghttp2_hd_entry_init(nghttp2_hd_entry *ent, nghttp2_hd_nv *nv) { in nghttp2_hd_entry_init() argument
488 ent->nv = *nv; in nghttp2_hd_entry_init()
489 ent->cnv.name = nv->name->base; in nghttp2_hd_entry_init()
490 ent->cnv.namelen = nv->name->len; in nghttp2_hd_entry_init()
491 ent->cnv.value = nv->value->base; in nghttp2_hd_entry_init()
492 ent->cnv.valuelen = nv->value->len; in nghttp2_hd_entry_init()
493 ent->cnv.flags = nv->flags; in nghttp2_hd_entry_init()
494 ent->next = NULL; in nghttp2_hd_entry_init()
495 ent->hash = 0; in nghttp2_hd_entry_init()
497 nghttp2_rcbuf_incref(ent->nv.name); in nghttp2_hd_entry_init()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_hd.c487 void nghttp2_hd_entry_init(nghttp2_hd_entry *ent, nghttp2_hd_nv *nv) { in nghttp2_hd_entry_init() argument
488 ent->nv = *nv; in nghttp2_hd_entry_init()
489 ent->cnv.name = nv->name->base; in nghttp2_hd_entry_init()
490 ent->cnv.namelen = nv->name->len; in nghttp2_hd_entry_init()
491 ent->cnv.value = nv->value->base; in nghttp2_hd_entry_init()
492 ent->cnv.valuelen = nv->value->len; in nghttp2_hd_entry_init()
493 ent->cnv.flags = nv->flags; in nghttp2_hd_entry_init()
494 ent->next = NULL; in nghttp2_hd_entry_init()
495 ent->hash = 0; in nghttp2_hd_entry_init()
497 nghttp2_rcbuf_incref(ent->nv.name); in nghttp2_hd_entry_init()
[all …]
/third_party/pulseaudio/src/tests/
Dalsa-mixer-path-test.c66 struct dirent *ent; in START_TEST()
73 while ((ent = readdir(dir)) != NULL) { in START_TEST()
75 if (pa_streq(ent->d_name, ".") || pa_streq(ent->d_name, "..")) in START_TEST()
77 pa_log_debug("Analyzing file: '%s'", ent->d_name); in START_TEST()
80 path = pa_alsa_path_new(pathsdir, ent->d_name, PA_ALSA_DIRECTION_ANY); in START_TEST()
88 found |= pa_streq(ent->d_name, pa_strlist_data(n)); in START_TEST()
/third_party/nghttp2/
Dmkstatichdtbl.py31 for i, ent in enumerate(entries):
32 if entries[idx][1] != ent[1]:
35 .format(ent[1], ent[2], entries[idx][0] - 1, hd_map_hash(ent[1])))

12345678