/openbsd/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | blockhooks.t | 42 [start => 1], 43 [start => 0], 56 [start => 1], 57 [start => 0], 72 [start => 1], 73 [start => 1], 91 [start => 1], 105 [start => 1], 119 [start => 1], 133 [start => 1], [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Win32/ |
H A D | longpath.inc | 32 start = path + 2; 38 start = path + 2; 43 if (*start) { 61 && (!start[1] || isSLASH(start[1]) 62 || (start[1] == '.' && (!start[2] || isSLASH(start[2]))))) 70 if (!*start) 74 while (*start && !isSLASH(*start)) 75 ++start; 78 sep = *start; 79 *start = '\0'; [all …]
|
/openbsd/gnu/lib/libreadline/ |
H A D | undo.c | 74 int start, end; 79 temp->start = start; 126 start = TRANS (rl_undo_list->start); in rl_do_undo() 134 rl_point = start; in rl_do_undo() 142 rl_point = start; in rl_do_undo() 182 rl->start = start; 210 rl_modifying (start, end) in rl_modifying() argument 211 int start, end; in rl_modifying() 213 if (start > end) 215 SWAP (start, end); [all …]
|
/openbsd/gnu/llvm/llvm/utils/ |
H A D | bisect-skip-count | 47 start = args.skipstart variable 51 print("Start: %d" % start) 55 while start != end and start != end-1: 56 count = start + (end - start)//2 67 start = count variable 71 firstcount = start 73 start = args.countstart variable 78 while start != end and start != end-1: 79 count = start + (end - start)//2 87 start = count variable [all …]
|
/openbsd/gnu/llvm/lldb/source/Host/common/ |
H A D | LockFileBase.cpp | 23 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) { in WriteLock() argument 24 return DoLock([&](const uint64_t start, in WriteLock() 26 start, len); in WriteLock() 30 return DoLock([&](const uint64_t start, in TryWriteLock() 32 start, len); in TryWriteLock() 36 return DoLock([&](const uint64_t start, in ReadLock() 38 start, len); in ReadLock() 42 return DoLock([&](const uint64_t start, in TryReadLock() 44 start, len); in TryReadLock() 70 const auto error = locker(start, len); in DoLock() [all …]
|
/openbsd/gnu/lib/libreadline/examples/ |
H A D | manexamp.c | 67 register int start, end; local 69 start = rl_point; 80 end = start + (count * direction); 88 if (start > end) 90 int temp = start; 91 start = end; 95 if (start == end) 100 rl_modifying (start, end); 102 for (; start != end; start += direction) 105 rl_line_buffer[start] = _rl_to_lower (rl_line_buffer[start]); [all …]
|
/openbsd/games/primes/ |
H A D | primes.c | 116 start = 0; in main() 130 start = read_num_buf(); in main() 136 if (start > stop) in main() 138 primes(start, stop); in main() 191 if (start < 3) { in primes() 192 start = (ubig)2; in primes() 197 if (stop <= start) { in primes() 204 if (start != 2 && (start&0x1) == 0) { in primes() 205 ++start; in primes() 226 start = *pr_limit+2; in primes() [all …]
|
/openbsd/gnu/gcc/libgomp/ |
H A D | loop.c | 43 ws->end = ((incr > 0 && start > end) || (incr < 0 && start < end)) in gomp_loop_init() 44 ? start : end; in gomp_loop_init() 46 ws->next = start; in gomp_loop_init() 72 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_static_start() 87 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_dynamic_start() 109 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_guided_start() 374 unsigned num_threads, long start, long end, in gomp_parallel_loop_start() argument 388 unsigned num_threads, long start, long end, in GOMP_parallel_loop_static_start() argument 397 unsigned num_threads, long start, long end, in GOMP_parallel_loop_dynamic_start() argument 406 unsigned num_threads, long start, long end, in GOMP_parallel_loop_guided_start() argument [all …]
|
H A D | iter.c | 153 start = ws->next; in gomp_iter_dynamic_next_locked() 172 *pstart = start; in gomp_iter_dynamic_next_locked() 189 start = ws->next; in gomp_iter_dynamic_next() 218 start = tmp; in gomp_iter_dynamic_next() 221 *pstart = start; in gomp_iter_dynamic_next() 240 long start, end; in gomp_iter_guided_next_locked() local 253 start = ws->next; in gomp_iter_guided_next_locked() 257 *pstart = start; in gomp_iter_guided_next_locked() 276 start = ws->next; in gomp_iter_guided_next() 303 start = tmp; in gomp_iter_guided_next() [all …]
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_res_cursor.h | 37 uint64_t start; member 55 uint64_t start, uint64_t size, in amdgpu_res_first() argument 65 BUG_ON(start + size > res->size); in amdgpu_res_first() 87 cur->start = amdgpu_vram_mgr_block_start(block) + start; in amdgpu_res_first() 95 while (start >= node->size << PAGE_SHIFT) in amdgpu_res_first() 96 start -= node++->size << PAGE_SHIFT; in amdgpu_res_first() 98 cur->start = (node->start << PAGE_SHIFT) + start; in amdgpu_res_first() 110 cur->start = start; in amdgpu_res_first() 114 WARN_ON(res && start + size > res->size); in amdgpu_res_first() 140 cur->start += size; in amdgpu_res_next() [all …]
|
/openbsd/gnu/usr.bin/texinfo/info/ |
H A D | dir.c | 173 contents_binding.start = 0; in add_menu_to_file_buffer() 178 fb_binding.start = 0; in add_menu_to_file_buffer() 208 fb_binding.start += in add_menu_to_file_buffer() 225 fb_binding.start = 0; in add_menu_to_file_buffer() 235 fb_binding.start = fb_offset; in add_menu_to_file_buffer() 238 fb_binding.start = fb_offset; in add_menu_to_file_buffer() 250 fb_binding.start--; in add_menu_to_file_buffer() 263 fb_binding.start += 2; in add_menu_to_file_buffer() 277 long start, end; in insert_text_into_fb_at_binding() local 279 start = binding->start; in insert_text_into_fb_at_binding() [all …]
|
H A D | search.c | 45 binding->start = start; in make_binding() 78 if (binding->start > binding->end) in search() 229 binding.start = 0; in string_in_line() 247 return (search_end == binding->start); in looking_at() 437 tmp_search.start = binding->start; in find_tags_table() 443 tmp_search.start = position; in find_tags_table() 445 + tmp_search.start); in find_tags_table() 468 tmp_search.start = binding->start; in find_node_in_binding() 474 tmp_search.start = position; in find_node_in_binding() 484 tmp_search.start += offset; in find_node_in_binding() [all …]
|
H A D | nodes.c | 503 binding.start = 0; in get_nodes_of_info_file() 509 int start, end; in get_nodes_of_info_file() local 516 binding.start += skip_node_separator (binding.buffer + binding.start); in get_nodes_of_info_file() 524 if (start == -1) in get_nodes_of_info_file() 532 if (start == -1) in get_nodes_of_info_file() 536 start += skip_whitespace (nodeline + start); in get_nodes_of_info_file() 539 end = start + in get_nodes_of_info_file() 546 strncpy (entry->nodename, nodeline + start, end - start); in get_nodes_of_info_file() 611 tmp_search->start--; in get_nodes_of_tags_table() 712 start = indirect_binding->buffer + indirect_binding->start; in get_tags_of_indirect_tags_table() [all …]
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | intel_uncore.c | 946 if (offset < entry->start) in fw_range_cmp() 1025 { .start = 0x2030, .end = 0x2030 }, 1026 { .start = 0xA008, .end = 0xA00C }, 1027 { .start = 0x12030, .end = 0x12030 }, 1028 { .start = 0x1a030, .end = 0x1a030 }, 1029 { .start = 0x22030, .end = 0x22030 }, 1033 { .start = 0x2030, .end = 0x2030 }, 1034 { .start = 0x2550, .end = 0x2550 }, 1035 { .start = 0xA008, .end = 0xA00C }, 1036 { .start = 0x22030, .end = 0x22030 }, [all …]
|
/openbsd/sys/arch/amd64/stand/efiboot/ |
H A D | run_i386.S | 33 start: label 41 mov %edx, (run_i386_end - start - 0x20)(%rdi) 48 mov %edx, (run_i386_end - start - 0xc)(%rdi) 50 mov %edx, (run_i386_end - start - 0x8)(%rdi) 52 mov %edx, (run_i386_end - start - 0x4)(%rdi) 55 lea (start32a - start)(%rdi), %rax 56 movl %eax, (start32r - start)(%rdi) 61 lea (gdt - start)(%rdi), %rax 62 mov %rax, (gdtrr - start)(%rdi) 63 lgdt (gdtr - start)(%rdi) [all …]
|
/openbsd/regress/sys/sys/tree/rb/ |
H A D | rb-test.c | 185 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 201 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 214 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 223 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 257 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 271 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 290 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 305 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 327 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 348 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() [all …]
|
H A D | rbt-test.c | 184 timespecsub(&end, &start, &diff); in main() 200 timespecsub(&end, &start, &diff); in main() 213 timespecsub(&end, &start, &diff); in main() 222 timespecsub(&end, &start, &diff); in main() 256 timespecsub(&end, &start, &diff); in main() 270 timespecsub(&end, &start, &diff); in main() 289 timespecsub(&end, &start, &diff); in main() 304 timespecsub(&end, &start, &diff); in main() 326 timespecsub(&end, &start, &diff); in main() 347 timespecsub(&end, &start, &diff); in main() [all …]
|
/openbsd/usr.bin/tmux/ |
H A D | regsub.c | 29 size_t add = end - start; in regsub_copy() 32 memcpy((*buf) + *len, text + start, add); in regsub_copy() 65 ssize_t start, end, last, len = 0; in regsub() local 74 start = 0; in regsub() 78 while (start <= end) { in regsub() 80 regsub_copy(&buf, &len, text, start, end); in regsub() 96 start + m[0].rm_so != last || in regsub() 101 last = start + m[0].rm_eo; in regsub() 102 start += m[0].rm_eo; in regsub() 105 last = start + m[0].rm_eo; in regsub() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/ |
H A D | clear_cache.c | 61 void __clear_cache(void *start, void *end) { in __clear_cache() argument 66 FlushInstructionCache(GetCurrentProcess(), start, end - start); in __clear_cache() 71 arg.addr = (uintptr_t)start; in __clear_cache() 72 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache() 97 const uintptr_t start_int = (uintptr_t)start; in __clear_cache() 116 cacheflush(start, end_int - start_int, BCACHE); in __clear_cache() 120 uint64_t xstart = (uint64_t)(uintptr_t)start; in __clear_cache() 182 register void *start_reg __asm("a0") = start; in __clear_cache() 194 arg.addr = (uintptr_t)start; in __clear_cache() 195 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache() [all …]
|
/openbsd/sys/dev/pci/drm/i915/gt/ |
H A D | gen8_ppgtt.c | 167 return (start ^ end) & mask && (start & ~mask) == 0; in gen8_pd_contains() 176 return end - start; in gen8_pt_count() 293 start += count; in __gen8_ppgtt_clear() 300 return start; in __gen8_ppgtt_clear() 315 start, start + length, vm->top); in gen8_ppgtt_clear() 380 *start += count; in __gen8_ppgtt_alloc() 399 &start, start + length, vm->top); in gen8_ppgtt_alloc() 426 *start += gen8_pt_count(*start, end); in __gen8_ppgtt_foreach() 446 &start, start + length, vm->top, in gen8_ppgtt_foreach() 507 u64 start = vma_res->start; in xehpsdv_ppgtt_insert_huge() local [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | slice.cc | 28 construction(int start, int size, int stride) in construction() argument 30 std::slice s(start, size, stride); in construction() 31 return s.start() == start && s.size() == size && s.stride() == stride; in construction() 35 copy(int start, int size, int stride) in copy() argument 37 std::slice s(start, size, stride); in copy() 39 return t.start() == start && t.size() == size && t.stride() == stride; in copy() 43 assignment(int start, int size, int stride) in assignment() argument 45 std::slice s(start, size, stride); in assignment() 48 return t.start() == start && t.size() == size && t.stride() == stride; in assignment()
|
/openbsd/usr.bin/colrm/ |
H A D | colrm.c | 55 u_long column, newcol, start, stop; in main() local 71 start = stop = 0; in main() 79 start = strtol(argv[0], &p, 10); in main() 80 if (start <= 0 || *p) in main() 89 if (stop && start > stop) in main() 110 if (start == 0 || column < start || in main() 123 if (start == 0 || newcol < start) { in main() 132 if (++column < start || in main() 158 if ((start == 0 || column + width < start || in main() 169 (start == 0 || column + 1 < start || in main()
|
/openbsd/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 334 prange->start = start; in svm_range_new() 954 if (new->start == old->start) { in svm_range_split_nodes() 993 new->svms, new->start, old->start, old->last, start, last); in svm_range_split_adjust() 995 if (new->start < old->start || in svm_range_split_adjust() 1012 old->start = start; in svm_range_split_adjust() 1155 if (start > prange->start) { in svm_range_split_by_granularity() 2121 if (node->start < start) { in svm_range_add() 2143 if (node->start > start) { in svm_range_add() 2408 if (start > prange->start) in svm_range_unmap_split() 2461 s = max(start, prange->start); in svm_range_unmap_from_cpu() [all …]
|
/openbsd/sys/arch/alpha/pci/ |
H A D | irongate_bus_mem.c | 71 u_long size, start, end; in irongate_bus_mem_init2() local 79 start = mem_clusters[i].start; in irongate_bus_mem_init2() 81 end = mem_clusters[i].start + size; in irongate_bus_mem_init2() 83 if (start <= IOM_BEGIN && end >= IOM_END) { in irongate_bus_mem_init2() 96 if (start < IOM_BEGIN) { in irongate_bus_mem_init2() 98 start, (IOM_BEGIN - start), in irongate_bus_mem_init2() 105 start, (u_long) IOM_BEGIN - 1); in irongate_bus_mem_init2() 122 start, size, in irongate_bus_mem_init2() 127 "(0x%lx - 0x%lx)\n", i, start, in irongate_bus_mem_init2() 128 start + (size - 1)); in irongate_bus_mem_init2()
|
/openbsd/games/pig/ |
H A D | pig.c | 81 int ch, start, i; in pigout() local 105 for (start = 0, olen = len; in pigout() 106 !strchr("aeiouyAEIOUY", buf[start]) && start < olen;) { in pigout() 107 ch = buf[len++] = buf[start++]; in pigout() 108 if ((ch == 'q' || ch == 'Q') && start < olen && in pigout() 109 (buf[start] == 'u' || buf[start] == 'U')) in pigout() 110 buf[len++] = buf[start++]; in pigout() 113 buf[start] = toupper((unsigned char)buf[start]); in pigout() 114 (void)printf("%.*s%s", olen, buf + start, allupper ? "AY" : "ay"); in pigout()
|