Home
last modified time | relevance | path

Searched refs:info_p (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/testcases/network/stress/ns-tools/
Dns-tcpserver.c166 void delete_zombies(struct server_info *info_p) in delete_zombies() argument
171 while (info_p->current_connection) { in delete_zombies()
178 --info_p->current_connection; in delete_zombies()
180 ++info_p->lost_connection; in delete_zombies()
184 info_p->lost_connection); in delete_zombies()
203 void create_listen_socket(struct server_info *info_p) in create_listen_socket() argument
212 hints.ai_family = info_p->family; in create_listen_socket()
218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res); in create_listen_socket()
229 info_p->listen_sd = socket(res->ai_family, in create_listen_socket()
231 if (info_p->listen_sd < 0) in create_listen_socket()
[all …]
Dns-icmpv6_sender.c240 int create_mld_query(struct icmp6_info *info_p, uint16_t mrc, char *saddrs) in create_mld_query() argument
280 pkt.hdr.ip6_src = info_p->saddr; in create_mld_query()
281 pkt.hdr.ip6_dst = info_p->daddr; in create_mld_query()
304 if (memcmp(&info_p->daddr, &in6addr_allnodes, sizeof(struct in6_addr)) in create_mld_query()
308 query_p->addr = info_p->daddr; in create_mld_query()
343 info_p->pkt = pkt; in create_mld_query()
344 info_p->pkt_size = sizeof(struct ip6_hdr) + ip6_psize; in create_mld_query()
361 void create_echo_request(struct icmp6_info *info_p) in create_echo_request() argument
369 +info_p->data_size; /* ICMP payload */ in create_echo_request()
379 pkt.hdr.ip6_src = info_p->saddr; in create_echo_request()
[all …]
Dns-mcast_receiver.c157 parse_options(int argc, char *argv[], struct mcast_rcv_info *info_p, int *bg_p) in parse_options() argument
238 info_p->timeout = opt_d; in parse_options()
273 info_p->mainfo = get_maddrinfo(family, maddr, portnum); in parse_options()
274 info_p->greq = create_group_info(ifindex, info_p->mainfo); in parse_options()
280 info_p->gsf = in parse_options()
281 create_source_filter(ifindex, info_p->mainfo, fmode, in parse_options()
302 int create_mcast_socket(struct mcast_rcv_info *info_p) in create_mcast_socket() argument
308 switch (info_p->mainfo->ai_family) { in create_mcast_socket()
323 sd = socket(info_p->mainfo->ai_family, info_p->mainfo->ai_socktype, in create_mcast_socket()
324 info_p->mainfo->ai_protocol); in create_mcast_socket()
[all …]
Dns-igmp_querier.c244 void parse_options(int argc, char *argv[], struct igmp_info *info_p, int *bg_p) in parse_options() argument
260 info_p->ifindex = if_nametoindex(optarg); in parse_options()
261 if (info_p->ifindex == 0) { in parse_options()
297 info_p->timeout = opt_d; in parse_options()
301 if (strtotimespec(optarg, &info_p->interval)) { in parse_options()
309 info_p->timeout = -1.0; in parse_options()
329 if (info_p->ifindex == 0) { in parse_options()
334 if ((info_p->query = create_query(max_resp, maddr, saddrs)) == NULL) in parse_options()
353 int create_socket(struct igmp_info *info_p) in create_socket() argument
375 req_p->imr_multiaddr.s_addr = info_p->query->group; in create_socket()
[all …]
/third_party/ltp/testcases/kernel/sched/pthreads/
Dpth_str03.c191 c_info *info_p; in synchronize_children() local
208 info_p = &child_info[my_index]; in synchronize_children()
209 info_p->index = my_index; in synchronize_children()
210 info_p->sum = (long)my_index; in synchronize_children()
213 printf("thread %d info_p=%p\n", my_index, info_p); in synchronize_children()
231 parent->child_ptrs[parent->child_count++] = info_p; in synchronize_children()
327 c_info *info_p; in doit() local
357 info_p = &child_info[my_index]; in doit()
361 printf("info_p=%p, cdepth=%d, depth=%d\n", info_p, cdepth, in doit()
376 pthread_create(&(info_p->threads[child]), &attr, in doit()
[all …]
Dpth_str01.c172 c_info *info_p; in synchronize_children() local
194 info_p = &child_info[my_index]; in synchronize_children()
195 info_p->index = my_index; in synchronize_children()
198 printf("thread %d info_p=%p\n", my_index, info_p); in synchronize_children()
218 parent->child_ptrs[parent->child_count++] = info_p; in synchronize_children()
325 c_info *info_p; in doit() local
361 info_p = &child_info[my_index]; in doit()
365 printf("info_p=%p, cdepth=%d, depth=%d\n", info_p, cdepth, in doit()
387 &(info_p->threads[child])); in doit()
391 pthread_create(&(info_p->threads[child]), &attr, in doit()
[all …]
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-external-pointers.c39 void *info_p) /**< native pointer's type info */ in ecma_create_native_pointer_property() argument
76 if (iter_p->info_p == info_p) in ecma_create_native_pointer_property()
98 native_pointer_p->info_p = info_p; in ecma_create_native_pointer_property()
116 void *info_p) /**< native pointer's type info */ in ecma_get_native_pointer_value() argument
141 if (native_pointer_p->info_p == info_p) in ecma_get_native_pointer_value()
164 void *info_p) /**< native pointer's type info */ in ecma_delete_native_pointer_property() argument
190 if (native_pointer_p->info_p == info_p) in ecma_delete_native_pointer_property()
Decma-helpers.h499 bool ecma_create_native_pointer_property (ecma_object_t *obj_p, void *native_p, void *info_p);
500 ecma_native_pointer_t *ecma_get_native_pointer_value (ecma_object_t *obj_p, void *info_p);
501 bool ecma_delete_native_pointer_property (ecma_object_t *obj_p, void *info_p);
Decma-gc.c798 if (native_pointer_p->info_p != NULL) in ecma_gc_free_native_pointer()
800 ecma_object_native_free_callback_t free_cb = native_pointer_p->info_p->free_cb; in ecma_gc_free_native_pointer()
Decma-globals.h309 ecma_object_native_info_t *info_p; /**< native info */ member
/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-util.c81 …scanner_info_t *info_p = scanner_insert_info (context_p, context_p->source_p, sizeof (scanner_info… in scanner_raise_redeclaration_error() local
82 info_p->type = SCANNER_TYPE_ERR_REDECLARED; in scanner_raise_redeclaration_error()
130 scanner_get_stream_size (scanner_info_t *info_p, /**< scanner info block */ in scanner_get_stream_size() argument
133 const uint8_t *data_p = ((const uint8_t *) info_p) + size; in scanner_get_stream_size()
685 scanner_info_t *info_p; in scanner_pop_literal_pool() local
689 info_p = scanner_insert_info (context_p, literal_pool_p->source_p, compressed_size); in scanner_pop_literal_pool()
694info_p = scanner_insert_info_before (context_p, literal_pool_p->source_p, start_info_p, compressed… in scanner_pop_literal_pool()
702 uint8_t *data_p = (uint8_t *) (info_p + 1); in scanner_pop_literal_pool()
706 info_p->type = SCANNER_TYPE_FUNCTION; in scanner_pop_literal_pool()
752 info_p->u8_arg = u8_arg; in scanner_pop_literal_pool()
[all …]
Djs-scanner.c1243 … scanner_info_t *info_p = scanner_insert_info (context_p, source_p, sizeof (scanner_info_t)); in scanner_scan_statement() local
1244 info_p->type = SCANNER_TYPE_LET_EXPRESSION; in scanner_scan_statement()
1861 scanner_info_t *info_p = scanner_insert_info (context_p, source_p, sizeof (scanner_info_t)); in scanner_scan_statement() local
1862 info_p->type = SCANNER_TYPE_LET_EXPRESSION; in scanner_scan_statement()
2445 …scanner_info_t *info_p = scanner_insert_info (context_p, source_start.source_p, sizeof (scanner_in… in scanner_scan_all() local
2446 info_p->type = SCANNER_TYPE_CLASS_CONSTRUCTOR; in scanner_scan_all()
3191 scanner_info_t *info_p; in scanner_scan_all() local
3192info_p = scanner_insert_info (context_p, scanner_context.async_source_p, sizeof (scanner_info_t)); in scanner_scan_all()
3193 info_p->type = SCANNER_TYPE_ERR_ASYNC_FUNCTION; in scanner_scan_all()
3235 scanner_info_t *info_p = context_p->next_scanner_info_p; in scanner_scan_all() local
[all …]
Djs-scanner-internal.h355 size_t scanner_get_stream_size (scanner_info_t *info_p, size_t size);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c699 ecma_typedarray_info_t *info_p, /**< typedarray info */ in ecma_op_typedarray_from_helper() argument
735 if (index >= info_p->length) in ecma_op_typedarray_from_helper()
740 setter_cb (info_p->buffer_p + (index << info_p->shift), num_var); in ecma_op_typedarray_from_helper()
1021 ecma_extended_typedarray_object_t *info_p = (ecma_extended_typedarray_object_t *) ext_object_p; in ecma_typedarray_get_length() local
1023 return info_p->array_length; in ecma_typedarray_get_length()
1049 ecma_extended_typedarray_object_t *info_p = (ecma_extended_typedarray_object_t *) ext_object_p; in ecma_typedarray_get_offset() local
1051 return info_p->byte_offset; in ecma_typedarray_get_offset()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Darg.impl.h333 const jerry_object_native_info_t *info_p, /**< expected the type info */ in jerryx_arg_native_pointer() argument
351 .extra_info = (uintptr_t) info_p in jerryx_arg_native_pointer()
Darg.h172 jerryx_arg_native_pointer (void **dest, const jerry_object_native_info_t *info_p, jerryx_arg_option…
/third_party/jerryscript/docs/
D09.EXT-REFERENCE-ARG.md555 const jerry_object_native_info_t *info_p,
560 - `info_p` - expected the type info.
D02.API-REFERENCE.md6418 const jerry_object_native_info_t *info_p)
6423 - `info_p` - native pointer's type information or NULL. When used, this should
6458 const jerry_object_native_info_t *info_p)
6462 - `info_p` - native pointer's type information.
6632 find_my_object_info_t *info_p = (find_my_object_info_t *) user_data_p;
6635 jerry_value_t has_property = jerry_has_property (candidate, info_p->property_name);
6641 info_p->result = jerry_acquire_value (candidate);