| /openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| D | blockhooks.t | 32 [[start => 1], qw/pre_end post_end/], 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], [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Win32/ |
| D | longpath.inc | 25 CHAR_T *start = path; 32 start = path + 2; 38 start = path + 2; 41 SKIP_SLASHES(start); 42 COPY_NONSLASHES(tmpstart,start); /* copy machine name */ 43 if (*start) { 44 *tmpstart++ = *start++; 45 SKIP_SLASHES(start); 46 COPY_NONSLASHES(tmpstart,start); /* copy share name */ 50 while (*start) { [all …]
|
| /openbsd/src/gnu/lib/libreadline/ |
| D | undo.c | 72 rl_add_undo (what, start, end, text) in rl_add_undo() argument 74 int start, end; 79 temp->start = start; 109 int waiting_for_begin, start, end; in rl_do_undo() local 113 start = end = waiting_for_begin = 0; in rl_do_undo() 126 start = TRANS (rl_undo_list->start); in rl_do_undo() 134 rl_point = start; in rl_do_undo() 141 rl_delete_text (start, end); in rl_do_undo() 142 rl_point = start; in rl_do_undo() 173 _rl_fix_last_undo_of_type (type, start, end) in _rl_fix_last_undo_of_type() argument [all …]
|
| /openbsd/src/gnu/llvm/llvm/utils/ |
| 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 57 print("Visiting Skip: %d with (Start, End) = (%d,%d)" % (count, start, end)) 67 start = count variable 71 firstcount = start 72 print("Last good skip: %d" % start) 73 start = args.countstart variable 76 print("Start: %d" % start) [all …]
|
| /openbsd/src/gnu/llvm/lldb/source/Host/common/ |
| 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() 25 const uint64_t len) { return DoWriteLock(start, len); }, in WriteLock() 26 start, len); in WriteLock() 29 Status LockFileBase::TryWriteLock(const uint64_t start, const uint64_t len) { in TryWriteLock() argument 30 return DoLock([&](const uint64_t start, in TryWriteLock() 31 const uint64_t len) { return DoTryWriteLock(start, len); }, in TryWriteLock() 32 start, len); in TryWriteLock() 35 Status LockFileBase::ReadLock(const uint64_t start, const uint64_t len) { in ReadLock() argument 36 return DoLock([&](const uint64_t start, in ReadLock() [all …]
|
| /openbsd/src/gnu/lib/libreadline/examples/ |
| 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) 104 if (_rl_uppercase_p (rl_line_buffer[start])) [all …]
|
| /openbsd/src/games/primes/ |
| D | primes.c | 99 ubig start; /* where to start generating */ in main() local 116 start = 0; in main() 125 start = strtonum(argv[0], 0, BIG, &errstr); in main() 130 start = read_num_buf(); in main() 136 if (start > stop) in main() 138 primes(start, stop); in main() 177 primes(ubig start, ubig stop) in primes() argument 191 if (start < 3) { in primes() 192 start = (ubig)2; in primes() 197 if (stop <= start) { in primes() [all …]
|
| /openbsd/src/gnu/gcc/libgomp/ |
| D | loop.c | 37 gomp_loop_init (struct gomp_work_share *ws, long start, long end, long incr, in gomp_loop_init() argument 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() 66 gomp_loop_static_start (long start, long end, long incr, long chunk_size, in gomp_loop_static_start() argument 72 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_static_start() 80 gomp_loop_dynamic_start (long start, long end, long incr, long chunk_size, in gomp_loop_dynamic_start() argument 87 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_dynamic_start() 102 gomp_loop_guided_start (long start, long end, long incr, long chunk_size, in gomp_loop_guided_start() argument 109 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_guided_start() [all …]
|
| D | iter.c | 151 long start, end, chunk, left; in gomp_iter_dynamic_next_locked() local 153 start = ws->next; in gomp_iter_dynamic_next_locked() 154 if (start == ws->end) in gomp_iter_dynamic_next_locked() 158 left = ws->end - start; in gomp_iter_dynamic_next_locked() 169 end = start + chunk; in gomp_iter_dynamic_next_locked() 172 *pstart = start; in gomp_iter_dynamic_next_locked() 187 long start, end, nend, chunk, incr; in gomp_iter_dynamic_next() local 189 start = ws->next; in gomp_iter_dynamic_next() 196 long left = end - start; in gomp_iter_dynamic_next() 199 if (start == end) in gomp_iter_dynamic_next() [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| 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() 79 while (start >= amdgpu_vram_mgr_block_size(block)) { in amdgpu_res_first() 80 start -= amdgpu_vram_mgr_block_size(block); in amdgpu_res_first() 87 cur->start = amdgpu_vram_mgr_block_start(block) + start; in amdgpu_res_first() 88 cur->size = min(amdgpu_vram_mgr_block_size(block) - start, size); 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() [all …]
|
| /openbsd/src/gnu/usr.bin/texinfo/info/ |
| 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() 207 fb_binding.start = fb_offset; in add_menu_to_file_buffer() 208 fb_binding.start += in add_menu_to_file_buffer() 209 skip_node_separator (fb_binding.buffer + fb_binding.start); in add_menu_to_file_buffer() 217 fb_binding.start = fb_offset; in add_menu_to_file_buffer() 219 fb_binding.start = fb_binding.end; 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() [all …]
|
| D | search.c | 39 make_binding (char *buffer, long int start, long int end) in make_binding() argument 45 binding->start = start; in make_binding() 58 copy = make_binding (binding->buffer, binding->start, binding->end); in copy_binding() 78 if (binding->start > binding->end) in search() 114 buff = binding->buffer + binding->start; in search_forward() 181 buff = binding->buffer + binding->start - 1; in search_backward() 229 binding.start = 0; in string_in_line() 247 return (search_end == binding->start); in looking_at() 378 for (i = binding->start; i < binding->end - 1; i++) in find_node_separator() 437 tmp_search.start = binding->start; in find_tags_table() [all …]
|
| D | nodes.c | 396 binding.start = file_buffer->filesize; in build_tags_and_nodes() 397 binding.end = binding.start - 1000; in build_tags_and_nodes() 412 binding.start = binding.end - 5 - strlen (TAGS_TABLE_END_LABEL); in build_tags_and_nodes() 413 if (binding.start < 0) in build_tags_and_nodes() 414 binding.start = 0; in build_tags_and_nodes() 424 binding.start = position; in build_tags_and_nodes() 425 tags_table_end = binding.start; in build_tags_and_nodes() 435 binding.start = binding.end - 5 - strlen (TAGS_TABLE_BEG_LABEL); in build_tags_and_nodes() 449 binding.start = binding.end; in build_tags_and_nodes() 454 binding.start = tags_table_begin; in build_tags_and_nodes() [all …]
|
| /openbsd/src/regress/sys/sys/tree/rb/ |
| D | rbt-test.c | 37 struct timespec start, end, diff, rstart, rend, rdiff, rtot = {0, 0}; variable 148 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in main() 184 timespecsub(&end, &start, &diff); in main() 197 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in main() 200 timespecsub(&end, &start, &diff); in main() 210 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in main() 213 timespecsub(&end, &start, &diff); in main() 219 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in main() 222 timespecsub(&end, &start, &diff); in main() 236 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in main() [all …]
|
| D | rb-test.c | 38 struct timespec start, end, diff, rstart, rend, rdiff, rtot = {0, 0}; variable 149 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in RB_PROTOTYPE() 185 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 198 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in RB_PROTOTYPE() 201 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 211 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in RB_PROTOTYPE() 214 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 220 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in RB_PROTOTYPE() 223 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 237 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &start); in RB_PROTOTYPE() [all …]
|
| /openbsd/src/sys/arch/amd64/stand/efiboot/ |
| D | run_i386.S | 33 start: label 41 mov %edx, (run_i386_end - start - 0x20)(%rdi) 42 mov %ecx, (run_i386_end - start - 0x1c)(%rdi) 43 mov %r8d, (run_i386_end - start - 0x18)(%rdi) 44 mov %r9d, (run_i386_end - start - 0x14)(%rdi) 46 mov %edx, (run_i386_end - start - 0x10)(%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 [all …]
|
| /openbsd/src/usr.bin/tmux/ |
| D | regsub.c | 27 regsub_copy(char **buf, ssize_t *len, const char *text, size_t start, size_t end) in regsub_copy() argument 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() 79 if (regexec(&r, text + start, nitems(m), m, 0) != 0) { in regsub() 80 regsub_copy(&buf, &len, text, start, end); in regsub() 88 regsub_copy(&buf, &len, text, last, m[0].rm_so + start); in regsub() 96 start + m[0].rm_so != last || in regsub() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/builtins/ |
| 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() 83 register int start_reg __asm("r0") = (int)(intptr_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() 157 const size_t len = (uintptr_t)end - (uintptr_t)start; in __clear_cache() 160 const uintptr_t start_line = ((uintptr_t)start) & mask; in __clear_cache() [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/gt/ |
| D | gen8_ppgtt.c | 148 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument 153 GEM_BUG_ON(start >= end); in gen8_pd_range() 156 *idx = i915_pde_index(start, shift); in gen8_pd_range() 157 if ((start ^ end) & mask) in gen8_pd_range() 163 static bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument 167 GEM_BUG_ON(start >= end); in gen8_pd_contains() 168 return (start ^ end) & mask && (start & ~mask) == 0; in gen8_pd_contains() 171 static unsigned int gen8_pt_count(u64 start, u64 end) in gen8_pt_count() argument 173 GEM_BUG_ON(start >= end); in gen8_pt_count() 174 if ((start ^ end) >> gen8_pd_shift(1)) in gen8_pt_count() [all …]
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
| 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/src/sys/dev/pci/drm/amd/amdkfd/ |
| D | kfd_svm.c | 77 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, 95 prange, prange->start, prange->last); in svm_range_unlink() 104 if (prange->it_node.start != 0 && prange->it_node.last != 0) in svm_range_unlink() 112 prange, prange->start, prange->last); in svm_range_add_notifier_locked() 115 prange->start << PAGE_SHIFT, in svm_range_add_notifier_locked() 131 prange, prange->start, prange->last); in svm_range_add_to_svms() 134 prange->it_node.start = prange->start; in svm_range_add_to_svms() 143 prange->notifier.interval_tree.start >> PAGE_SHIFT, in svm_range_remove_notifier() 146 if (prange->notifier.interval_tree.start != 0 && in svm_range_remove_notifier() 187 bo_adev->kfd.pgmap.range.start; in svm_range_dma_map_dev() [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/ |
| D | intel_uncore.c | 949 if (offset < entry->start) in fw_range_cmp() 1028 { .start = 0x2030, .end = 0x2030 }, 1029 { .start = 0xA008, .end = 0xA00C }, 1030 { .start = 0x12030, .end = 0x12030 }, 1031 { .start = 0x1a030, .end = 0x1a030 }, 1032 { .start = 0x22030, .end = 0x22030 }, 1036 { .start = 0x2030, .end = 0x2030 }, 1037 { .start = 0x2550, .end = 0x2550 }, 1038 { .start = 0xA008, .end = 0xA00C }, 1039 { .start = 0x22030, .end = 0x22030 }, [all …]
|
| /openbsd/src/usr.bin/colrm/ |
| 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/src/sys/arch/alpha/pci/ |
| 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/src/games/pig/ |
| 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()
|