/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | maint-tool | 198 my ($p) = @_; 199 0 while $p =~ s@/\./@/@g; 200 0 while $p =~ s@^\./@@g; 201 0 while $p =~ s@/[^/]+/\.\./@/@g; 202 return $p; 259 for $p (@tmp) { 260 next unless $mine{$p}; 261 if (!$scanned{$p}) { 262 push(@pending, split(' ', $deps{$p})); 263 $scanned{$p} = 1;
|
H A D | make-relative-prefix.c | 122 const char *p, *q; in split_directories() local 130 p = name; in split_directories() 134 p += 3; in split_directories() 139 while ((ch = *p++) != '\0') in split_directories() 145 p++; in split_directories() 155 p = name; in split_directories() 165 p += 3; in split_directories() 169 q = p; in split_directories() 175 p++; in split_directories() 184 q = p; in split_directories() [all …]
|
H A D | md5.c | 238 # define UNALIGNED_P(p) (((md5_uintptr) p) % __alignof__ (md5_uint32) != 0) in md5_process_bytes() argument 240 # define UNALIGNED_P(p) (((md5_uintptr) p) % sizeof (md5_uint32) != 0) in md5_process_bytes()
|
H A D | cp-demint.c | 64 if (p == NULL) in cplus_demangle_fill_component() 124 p->type = type; in cplus_demangle_fill_component() 125 p->u.s_binary.left = left; in cplus_demangle_fill_component() 126 p->u.s_binary.right = right; in cplus_demangle_fill_component() 127 p->d_printing = 0; in cplus_demangle_fill_component() 128 p->d_counting = 0; in cplus_demangle_fill_component() 152 p->d_printing = 0; in cplus_demangle_fill_builtin_type() 153 p->d_counting = 0; in cplus_demangle_fill_builtin_type() 169 if (p == NULL || opname == NULL) in cplus_demangle_fill_operator() 180 p->d_printing = 0; in cplus_demangle_fill_operator() [all …]
|
H A D | cplus-dem.c | 235 while (ISLOWER(*p) || ISDIGIT (*p) in ada_demangle() 236 || (p[0] == '_' && (ISLOWER (p[1]) || ISDIGIT (p[1])))); in ada_demangle() 276 if (p[0] == 'T' && p[1] == 'K') in ada_demangle() 279 if (p[2] == 'B' && p[3] == 0) in ada_demangle() 294 if (p[0] == 'E' && p[1] == 0) in ada_demangle() 299 if ((p[0] == 'P' || p[0] == 'N') && p[1] == 0) in ada_demangle() 304 if ((*p == 'N' || *p == 'S') && p[1] == 0) in ada_demangle() 316 if (p[0] == 'S' && p[1] != 0 && (p[2] == '_' || p[2] == 0)) in ada_demangle() 374 while (ISDIGIT (*p) || (p[0] == '_' && ISDIGIT (p[1]))); in ada_demangle() 424 if (p[0] == 's' && p[1] == 0) in ada_demangle() [all …]
|
H A D | d-demangle.c | 83 tem = s->p - s->b; in string_need() 111 if (s->p == s->b) in string_length() 115 return s->p - s->b; in string_length() 123 s->p = s->b + n; in string_setlength() 131 string_need (p, n); in string_append() 132 memcpy (p->p, s, n); in string_append() 133 p->p += n; in string_append() 142 memcpy (p->p, s, n); in string_appendn() 143 p->p += n; in string_appendn() 155 for (q = p->p - 1; q >= p->b; q--) in string_prependn() [all …]
|
H A D | fnmatch.c | 94 c = *p++; in fnmatch() 106 for (c = *p++; c == '?' || c == '*'; c = *p++, ++n) in fnmatch() 136 negate = (*p == '!' || *p == '^'); in fnmatch() 138 ++p; in fnmatch() 140 c = *p++; in fnmatch() 154 c = *p++; in fnmatch() 163 cend = *p++; in fnmatch() 165 cend = *p++; in fnmatch() 170 c = *p++; in fnmatch() 192 c = *p++; in fnmatch() [all …]
|
H A D | bsearch.c | 78 const void *p; in bsearch() local 81 p = base + (lim >> 1) * size; in bsearch() 82 cmp = (*compar)(key, p); in bsearch() 84 return (void *)p; in bsearch() 86 base = (const char *)p + size; in bsearch()
|
H A D | bsearch_r.c | 80 const void *p; in bsearch_r() local 83 p = base + (lim >> 1) * size; in bsearch_r() 84 cmp = (*compar)(key, p, arg); in bsearch_r() 86 return (void *)p; in bsearch_r() 88 base = (const char *)p + size; in bsearch_r()
|
H A D | acinclude.m4 | 60 char *p; 67 p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE, 69 if (p == (char *)-1) 70 p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE, 72 if (p == (char *)-1) 77 char *q = (char *) p + MAP_LEN - strlen (string) - 2; 78 char *r = (char *) p + 0xe;
|
H A D | ChangeLog | 3782 (spawn_script): Use win32_spawn instead of _spawnv[p]. 5180 (print_usage): Display new -p option. 5182 (main): Accept and handle -p. 7150 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. 9762 Handle 'p' same as 'P'. 9763 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
|
/netbsd/external/gpl3/gcc/dist/libgomp/plugin/ |
H A D | plugin-nvptx.c | 1068 goacc_profiling_acc_ev_free (struct goacc_thread *thr, void *p) in goacc_profiling_acc_ev_free() argument 1084 data_event_info.data_event.device_ptr = p; in goacc_profiling_acc_ev_free() 1092 nvptx_free (void *p, struct ptx_device *ptx_dev) in nvptx_free() argument 1098 (CUdeviceptr) p); in nvptx_free() 1107 n->ptr = p; in nvptx_free() 1119 if ((CUdeviceptr) p != pb) in nvptx_free() 1125 CUDA_CALL (cuMemFree, (CUdeviceptr) p); in nvptx_free() 1130 goacc_profiling_acc_ev_free (thr, p); in nvptx_free()
|
/netbsd/external/gpl3/gcc/dist/libgomp/ |
H A D | priority_queue.c | 43 struct priority_node *p = list->tasks; in priority_queue_task_in_list_p() local 46 if (priority_node_to_task (type, p) == task) in priority_queue_task_in_list_p() 48 p = p->next; in priority_queue_task_in_list_p() 50 while (p != list->tasks); in priority_queue_task_in_list_p() 101 struct priority_node *p = list->tasks; in priority_list_verify() local 104 struct gomp_task *t = priority_node_to_task (type, p); in priority_list_verify() 120 p = p->next; in priority_list_verify() 121 if (p == list->tasks) in priority_list_verify()
|
H A D | sections.c | 153 uintptr_t p = (uintptr_t) thr->ts.work_share->ordered_team_ids; in GOMP_sections2_start() local 154 p += __alignof__ (long long) - 1; in GOMP_sections2_start() 155 p &= ~(__alignof__ (long long) - 1); in GOMP_sections2_start() 156 *mem = (void *) p; in GOMP_sections2_start()
|
H A D | splay-tree.c | 45 rotate_left (splay_tree_node *pp, splay_tree_node p, splay_tree_node n) in rotate_left() argument 49 n->right = p; in rotate_left() 50 p->left = tmp; in rotate_left() 58 rotate_right (splay_tree_node *pp, splay_tree_node p, splay_tree_node n) in rotate_right() argument 62 n->left = p; in rotate_right() 63 p->right = tmp; in rotate_right()
|
H A D | task.c | 112 if (p) in gomp_clear_parent_in_list() 116 p = p->next; in gomp_clear_parent_in_list() 118 while (p != list->tasks); in gomp_clear_parent_in_list() 2185 p = old_htab->entries; in gomp_reduction_register() 2188 hash_entry_type x = *p; in gomp_reduction_register() 2191 p++; in gomp_reduction_register() 2193 while (p < olimit); in gomp_reduction_register() 2201 uintptr_t *p = d + 7 + j * 3; in gomp_reduction_register() local 2202 p[2] = (uintptr_t) d; in gomp_reduction_register() 2337 uintptr_t *p; in ialias() local [all …]
|
H A D | team.c | 434 p -= (p - thr->ts.place_partition_off) % (s + 1); in gomp_team_start() 439 p -= (p - rest) % s; in gomp_team_start() 519 ++p; in gomp_team_start() 537 p += s + 1; in gomp_team_start() 539 p += s; in gomp_team_start() 554 ++p; in gomp_team_start() 617 l = p; in gomp_team_start() 778 ++p; in gomp_team_start() 795 if (p < rest) in gomp_team_start() 798 p += s; in gomp_team_start() [all …]
|
H A D | env.c | 544 void *p = gomp_places_list ? gomp_places_list[gomp_places_list_len] : NULL; in parse_one_place() local 572 && !gomp_affinity_add_cpus (p, this_num, 1, 1, false)) in parse_one_place() 638 if (!gomp_affinity_remove_cpu (p, this_num)) in parse_one_place() 641 else if (!gomp_affinity_add_cpus (p, this_num, this_len, in parse_one_place() 810 void *p; in parse_places_var() local 822 p = gomp_places_list[count]; in parse_places_var() 827 gomp_places_list[gomp_places_list_len] = p; in parse_places_var() 1137 void *p = gomp_places_list[gomp_places_list_len]; in parse_affinity() local 1138 gomp_affinity_init_place (p); in parse_affinity() 1139 if (gomp_affinity_add_cpus (p, cpu_beg, 1, 0, true)) in parse_affinity()
|
H A D | hashtab.h | 214 const struct prime_ent *p = &prime_tab[htab->size_prime_index]; in htab_mod() local 215 return htab_mod_1 (hash, p->prime, p->inv, p->shift); in htab_mod() 223 const struct prime_ent *p = &prime_tab[htab->size_prime_index]; in htab_mod_m2() local 224 return 1 + htab_mod_1 (hash, p->prime - 2, p->inv_m2, p->shift); in htab_mod_m2() 299 hash_entry_type *p; in htab_expand() local 314 p = htab->entries; in htab_expand() 317 hash_entry_type x = *p; in htab_expand() 322 p++; in htab_expand() 324 while (p < olimit); in htab_expand() 450 hash_pointer (const void *p) in hash_pointer() argument [all …]
|
H A D | loop.c | 302 uintptr_t p = (uintptr_t) thr->ts.work_share->ordered_team_ids; in GOMP_loop_start() local 303 p += __alignof__ (long long) - 1; in GOMP_loop_start() 304 p &= ~(__alignof__ (long long) - 1); in GOMP_loop_start() 305 *mem = (void *) p; in GOMP_loop_start() 461 uintptr_t p in GOMP_loop_ordered_start() local 464 p += __alignof__ (long long) - 1; in GOMP_loop_ordered_start() 465 p &= ~(__alignof__ (long long) - 1); in GOMP_loop_ordered_start() 466 *mem = (void *) p; in GOMP_loop_ordered_start()
|
H A D | loop_ull.c | 301 uintptr_t p = (uintptr_t) thr->ts.work_share->ordered_team_ids; in GOMP_loop_ull_start() local 302 p += __alignof__ (long long) - 1; in GOMP_loop_ull_start() 303 p &= ~(__alignof__ (long long) - 1); in GOMP_loop_ull_start() 304 *mem = (void *) p; in GOMP_loop_ull_start() 463 uintptr_t p in GOMP_loop_ull_ordered_start() local 466 p += __alignof__ (long long) - 1; in GOMP_loop_ull_ordered_start() 467 p &= ~(__alignof__ (long long) - 1); in GOMP_loop_ull_ordered_start() 468 *mem = (void *) p; in GOMP_loop_ull_ordered_start()
|
H A D | oacc-host.c | 104 host_free (int n __attribute__ ((unused)), void *p) in host_free() argument 106 free (p); in host_free()
|
H A D | ChangeLog | 2637 cp = omp_alloc with cp, p arguments instead of cq, q and call 4780 * testsuite/libgomp.oacc-c-c++-common/pr92848-1-d-p.c: Likewise. 4782 * testsuite/libgomp.oacc-c-c++-common/pr92848-1-r-p.c: Likewise. 9682 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: 9684 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: 9686 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: 9688 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: 9690 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: 9692 * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: 11309 match o/p. [all …]
|
/netbsd/external/gpl3/gcc/dist/libgomp/config/linux/ |
H A D | affinity.c | 78 char *p; in gomp_affinity_alloc() local 97 ret[i] = p; in gomp_affinity_alloc() 251 char *p; in gomp_affinity_find_last_cache_level() local 310 while (*p && *p != '\n') in gomp_affinity_init_level_1() 317 p = end; in gomp_affinity_init_level_1() 325 p = end; in gomp_affinity_init_level_1() 353 ++p; in gomp_affinity_init_level_1() 416 while (*p && *p != '\n') in gomp_affinity_init_numa_domains() 424 p = end; in gomp_affinity_init_numa_domains() 454 ++p; in gomp_affinity_init_numa_domains() [all …]
|
H A D | proc.c | 127 void *p = realloc (gomp_cpusetp, gomp_cpuset_size); in gomp_init_num_threads() local 128 if (p == NULL) in gomp_init_num_threads() 130 gomp_cpusetp = (cpu_set_t *) p; in gomp_init_num_threads()
|