Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h90 static inline uint32_t LSL_C(const uint32_t value, const uint32_t amount, in LSL_C() argument
92 if (amount == 0) { in LSL_C()
97 carry_out = amount <= 32 ? Bit32(value, 32 - amount) : 0; in LSL_C()
98 return value << amount; in LSL_C()
101 static inline uint32_t LSL(const uint32_t value, const uint32_t amount, in LSL() argument
104 if (amount == 0) in LSL()
107 uint32_t result = LSL_C(value, amount, dont_care, success); in LSL()
114 static inline uint32_t LSR_C(const uint32_t value, const uint32_t amount, in LSR_C() argument
116 if (amount == 0) { in LSR_C()
121 carry_out = amount <= 32 ? Bit32(value, amount - 1) : 0; in LSR_C()
[all …]
/openbsd-src/sys/arch/hppa/spmath/
H A Dhppa.h18 #define Shiftdouble(left,right,amount,dest) \ argument
20 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
23 #define Variableshiftdouble(left,right,amount,dest) \ argument
25 if (amount == 0) dest = right; \
26 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
27 ((unsigned) right >> (amount))
30 #define Variable_shift_double(left,right,amount,dest) \ argument
32 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
/openbsd-src/games/hack/
H A Dhack.wield.c124 chwepon(struct obj *otmp, int amount) in chwepon() argument
126 char *color = (amount < 0) ? "black" : "green"; in chwepon()
131 (amount > 0) ? "Your hands twitch." in chwepon()
136 if(uwep->otyp == WORM_TOOTH && amount > 0) { in chwepon()
143 if(uwep->otyp == CRYSKNIFE && amount < 0) { in chwepon()
150 if(amount > 0 && uwep->spe > 5 && rn2(3)) { in chwepon()
158 if(!rn2(6)) amount *= 2; in chwepon()
159 time = (amount*amount == 1) ? "moment" : "while"; in chwepon()
162 uwep->spe += amount; in chwepon()
163 if(amount > 0) uwep->cursed = 0; in chwepon()
H A Dhack.mkobj.c196 long amount = (num ? num : 1 + (rnd(dlevel+2) * rnd(30))); in mkgold() local
199 gold->amount += amount; in mkgold()
205 gold->amount = amount; in mkgold()
/openbsd-src/regress/usr.bin/mandoc/man/HP/
H A Dspacing.out_ascii9 Each hanged paragraph gets a sufficient amount of text to wrap to the
16 Each hanged paragraph gets a sufficient amount of text to wrap to the
20 Each hanged paragraph gets a sufficient amount of text to wrap to the
24 Each hanged paragraph gets a sufficient amount of text to wrap to the
28 Each hanged paragraph gets a sufficient amount of text to wrap to the
32 Each hanged paragraph gets a sufficient amount of text to wrap to the
36 Each hanged paragraph gets a sufficient amount of text to wrap to the
40 Each hanged paragraph gets a sufficient amount of text to wrap to the
44 Each hanged paragraph gets a sufficient amount of text to wrap to the
48 Each hanged paragraph gets a sufficient amount of text to wrap to the
/openbsd-src/gnu/gcc/gcc/config/h8300/
H A Dgenmova.sh67 mult) amount=$mult;;
68 ashift) amount=$shift;;
79 (const_int $amount))
99 (const_int $amount)))]
108 (const_int $amount))
138 (const_int $amount))
148 (const_int $amount))
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Ddisplay.c451 display_scroll_display (int start, int end, int amount) in display_scroll_display() argument
470 terminal_scroll_terminal (start, end, amount); in display_scroll_display()
473 if (amount > 0) in display_scroll_display()
475 last = end + amount; in display_scroll_display()
487 for (i = start; i != (start + amount); i++) in display_scroll_display()
495 if (amount < 0) in display_scroll_display()
497 last = start + amount; in display_scroll_display()
507 for (i = end + amount; i != end; i++) in display_scroll_display()
565 int start, end, amount; in display_scroll_line_starts() local
569 amount = new - (old + already_scrolled); in display_scroll_line_starts()
[all …]
H A Dpcterm.c170 pc_scroll_terminal (start, end, amount) in pc_scroll_terminal() argument
171 int start, end, amount; in pc_scroll_terminal()
173 int line_to_clear = amount > 0 ? start : end + amount;
176 movetext (1, start + 1, ScreenCols (), end, 1, start + amount + 1);
179 if (amount < 0)
180 amount = -amount;
181 while (amount--)
/openbsd-src/lib/libcurses/tinfo/
H A Ddoalloc.c48 _nc_doalloc(void *oldp, size_t amount) in _nc_doalloc() argument
53 if (amount == 0) { in _nc_doalloc()
56 } else if ((newp = realloc(oldp, amount)) == 0) { in _nc_doalloc()
61 newp = malloc(amount); in _nc_doalloc()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DProgress.cpp39 void Progress::Increment(uint64_t amount) { in Increment() argument
40 if (amount > 0) { in Increment()
44 if (amount > (m_total - m_completed)) in Increment()
47 m_completed += amount; in Increment()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/h8300/
H A Dh8300.c414 unsigned HOST_WIDE_INT amount; local
417 for (amount = (TARGET_H8300H || TARGET_H8300S) ? 4 : 2;
418 amount > 0;
419 amount /= 2)
423 sprintf (insn, "\t%ss\t#%d,%s\n", op, amount,
425 for (; size >= amount; size -= amount)
931 HOST_WIDE_INT amount; local
942 for (amount = (TARGET_H8300H || TARGET_H8300S) ? 4 : 2;
943 amount > 0;
944 amount /= 2)
[all …]
/openbsd-src/usr.bin/tftp/
H A Dtftp.c133 unsigned long amount; in sendfile() local
145 amount = 0; in sendfile()
255 amount += size; in sendfile()
262 if (amount > 0) { in sendfile()
265 printstats("Sent", amount); in sendfile()
279 unsigned long amount; in recvfile() local
293 amount = 0; in recvfile()
405 amount += size; in recvfile()
418 if (amount > 0) { in recvfile()
421 printstats("Received", amount); in recvfile()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.h103 bool sub_rsp_pattern_p(int &amount);
104 bool add_rsp_pattern_p(int &amount);
105 bool lea_rsp_pattern_p(int &amount);
106 bool lea_rbp_rsp_pattern_p(int &amount);
107 bool lea_rbx_rsp_pattern_p(int &amount);
H A Dx86AssemblyInspectionEngine.cpp434 bool x86AssemblyInspectionEngine::sub_rsp_pattern_p(int &amount) { in sub_rsp_pattern_p() argument
440 amount = (int8_t) * (p + 2); in sub_rsp_pattern_p()
445 amount = (int32_t)extract_4(p + 2); in sub_rsp_pattern_p()
452 bool x86AssemblyInspectionEngine::add_rsp_pattern_p(int &amount) { in add_rsp_pattern_p() argument
458 amount = (int8_t) * (p + 2); in add_rsp_pattern_p()
463 amount = (int32_t)extract_4(p + 2); in add_rsp_pattern_p()
471 bool x86AssemblyInspectionEngine::lea_rsp_pattern_p(int &amount) { in lea_rsp_pattern_p() argument
482 amount = (int8_t) * (p + 3); in lea_rsp_pattern_p()
488 amount = (int32_t)extract_4(p + 3); in lea_rsp_pattern_p()
497 bool x86AssemblyInspectionEngine::lea_rbp_rsp_pattern_p(int &amount) { in lea_rbp_rsp_pattern_p() argument
[all …]
/openbsd-src/gnu/gcc/gcc/config/arm/
H A Daout.h245 register int amount = 1 << (POWER); \
247 if (amount == 2) \
249 else if (amount != 1) \
250 fprintf (STREAM, "\t.align\t%d\n", amount - 4); \
H A Daof.h285 int amount = 1 << (POWER); \
287 if (amount == 2) \
289 else if (amount == 4) \
292 fprintf ((STREAM), "\tALIGN %d\n", amount); \
/openbsd-src/gnu/usr.bin/gcc/gcc/config/arm/
H A Daout.h188 register int amount = 1 << (POWER); \
190 if (amount == 2) \
192 else if (amount != 1) \
193 fprintf (STREAM, "\t.align\t%d\n", amount - 4); \
/openbsd-src/sys/dev/ic/
H A Dne2000.c611 u_short amount) in ne2000_ring_copy() argument
622 if (src + amount > sc->mem_end) { in ne2000_ring_copy()
629 amount -= tmp_amount; in ne2000_ring_copy()
635 amount, useword); in ne2000_ring_copy()
637 return (src + amount); in ne2000_ring_copy()
668 u_int8_t *dst, size_t amount, int useword) in ne2000_readmem() argument
678 if (amount & 1) in ne2000_readmem()
679 ++amount; in ne2000_readmem()
682 bus_space_write_1(nict, nich, ED_P0_RBCR0, amount); in ne2000_readmem()
683 bus_space_write_1(nict, nich, ED_P0_RBCR1, amount >> 8); in ne2000_readmem()
[all …]
/openbsd-src/usr.sbin/nsd/
H A Dbuffer.c92 buffer_reserve(buffer_type *buffer, size_t amount) in buffer_reserve() argument
96 if (buffer->_capacity < buffer->_position + amount) { in buffer_reserve()
98 if (new_capacity < buffer->_position + amount) { in buffer_reserve()
99 new_capacity = buffer->_position + amount; in buffer_reserve()
/openbsd-src/gnu/usr.bin/binutils-2.17/gprof/
H A Dfsf_callg_bl.m3 the total amount of time spent in each function and its children.
20 self This is the total amount of time spent in this function.
22 children This is the total amount of time propagated into this
38 self This is the amount of time that was propagated directly
41 children This is the amount of time that was propagated from
60 self This is the amount of time that was propagated directly
63 children This is the amount of time that was propagated from the
/openbsd-src/gnu/usr.bin/binutils/gprof/
H A Dfsf_callg_bl.m3 the total amount of time spent in each function and its children.
20 self This is the total amount of time spent in this function.
22 children This is the total amount of time propagated into this
38 self This is the amount of time that was propagated directly
41 children This is the amount of time that was propagated from
60 self This is the amount of time that was propagated directly
63 children This is the amount of time that was propagated from the
/openbsd-src/sbin/scsi/
H A Dscsi.c256 int count, amount; in do_cmd() local
311 (amount = read(STDIN_FILENO, in do_cmd()
313 count -= amount; in do_cmd()
314 bp += amount; in do_cmd()
316 if (amount == -1) in do_cmd()
318 else if (amount == 0) { in do_cmd()
353 while (count > 0 && (amount = write(STDOUT_FILENO, bp, count)) > 0) in do_cmd()
355 count -= amount; in do_cmd()
356 bp += amount; in do_cmd()
358 if (amount < 0) in do_cmd()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Memoize/t/
H A Dcorrectness.t25 is $num_calls, $total_calls, '... with the expected amount of calls';
33 is $num_calls, @$fib, '... with a minimal amount of calls';
76 is_deeply \%CALLS, {1=>1,2=>1,3=>1}, 'amount of initial calls per arg as expected';
81 is_deeply \%CALLS, {1=>2,2=>1,3=>1}, 'amount of calls per arg after expiring 1 as expected';
85 is_deeply \%CALLS, {1=>3,2=>2,3=>1}, 'amount of calls per arg after expiring 1 & 2 as expected';
/openbsd-src/sbin/unwind/libunbound/sldns/
H A Dsbuffer.c93 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) in sldns_buffer_reserve() argument
97 if (buffer->_capacity < buffer->_position + amount) { in sldns_buffer_reserve()
100 if (new_capacity < buffer->_position + amount) { in sldns_buffer_reserve()
101 new_capacity = buffer->_position + amount; in sldns_buffer_reserve()
/openbsd-src/usr.sbin/unbound/sldns/
H A Dsbuffer.c93 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) in sldns_buffer_reserve() argument
97 if (buffer->_capacity < buffer->_position + amount) { in sldns_buffer_reserve()
100 if (new_capacity < buffer->_position + amount) { in sldns_buffer_reserve()
101 new_capacity = buffer->_position + amount; in sldns_buffer_reserve()

12345678910>>...21