Searched refs:amount (Results 1 - 25 of 70) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dbitset.h109 __bitset_rotate_right(BITSET_WORD *x, unsigned amount, unsigned n) argument
111 assert(amount < BITSET_WORDBITS);
113 if (amount == 0)
117 x[i] = (x[i] >> amount) | (x[i + 1] << (BITSET_WORDBITS - amount));
120 x[n - 1] = x[n - 1] >> amount;
124 __bitset_rotate_left(BITSET_WORD *x, unsigned amount, unsigned n) argument
126 assert(amount < BITSET_WORDBITS);
128 if (amount == 0)
132 x[i] = (x[i] << amount) | (
139 __bitset_shr(BITSET_WORD * x,unsigned amount,unsigned n) argument
163 __bitset_shl(BITSET_WORD * x,unsigned amount,unsigned n) argument
[all...]
/xsrc/external/mit/xfs/dist/os/
H A Dutils.c360 FSalloc (unsigned long amount) argument
364 if ((long)amount < 0)
366 if (amount == 0)
367 amount++;
369 amount = (amount + 3) & ~3;
370 if ((ptr = (pointer)malloc(amount)) != 0)
410 FSrealloc (pointer ptr, unsigned long amount) argument
412 if ((long)amount <= 0)
414 if (ptr && !amount)
[all...]
/xsrc/external/mit/xterm/dist/
H A Dutil.c83 #define IncrementSavedLines(amount) \
85 if ((screen->savedlines += amount) > screen->savelines) \
100 int amount);
104 int amount,
311 int amount = screen->refresh_amt; local in function:AddToRefresh
315 if (amount == 0) {
317 } else if (amount > 0) {
320 if (row == (bottom = screen->bot_marg) - amount) {
324 result = (row >= bottom - amount + 1 && row <= bottom);
329 amount
374 adjustHiliteOnFwdScroll(XtermWidget xw,int amount,Bool all_lines) argument
449 adjustHiliteOnBakScroll(XtermWidget xw,int amount) argument
506 scrollInMargins(XtermWidget xw,int amount,int top) argument
599 xtermScroll(XtermWidget xw,int amount) argument
777 xtermScrollLR(XtermWidget xw,int amount,Bool toLeft) argument
819 xtermColScroll(XtermWidget xw,int amount,Bool toLeft,int at_col) argument
869 RevScroll(XtermWidget xw,int amount) argument
2226 horizontal_copy_area(XtermWidget xw,int firstchar,int nchars,int amount) argument
2249 vertical_copy_area(XtermWidget xw,int firstline,int nlines,int amount,int left,int right) argument
2292 scrolling_copy_area(XtermWidget xw,int firstline,int nlines,int amount) argument
[all...]
H A Dscrollbar.c709 AlternateScroll(Widget w, long amount) argument
719 amount /= FontHeight(screen);
724 if (amount > 0) {
727 amount = -amount;
730 while (amount-- > 0) {
734 ScrollTextUpDownBy(w, (XtPointer) 0, (XtPointer) amount);
752 long amount; local in function:HandleScrollTo
756 amount = to_top * FontHeight(screen);
758 amount
776 long amount; local in function:HandleScrollForward
791 long amount; local in function:HandleScrollBack
[all...]
H A Dcursor.c275 * Moves cursor down amount lines, scrolls if necessary.
279 xtermIndex(XtermWidget xw, int amount) argument
288 || screen->cur_row + amount <= screen->bot_marg
291 CursorDown(screen, amount);
295 xtermScroll(xw, amount - j);
300 * Moves cursor up amount lines, reverse scrolls if necessary.
304 RevIndex(XtermWidget xw, int amount) argument
313 || screen->cur_row - amount >= screen->top_marg
316 CursorUp(screen, amount);
318 RevScroll(xw, amount
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dsyncobj.h55 int amount);
H A Dsyncobj.c196 int amount)
201 syncObj->RefCount -= amount;
195 _mesa_unref_sync_object(struct gl_context * ctx,struct gl_sync_object * syncObj,int amount) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dsyncobj.h55 int amount);
H A Dsyncobj.c197 int amount)
202 syncObj->RefCount -= amount;
196 _mesa_unref_sync_object(struct gl_context * ctx,struct gl_sync_object * syncObj,int amount) argument
/xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/
H A Dcoord.cpp626 VOID CoordEq::shift(INT_32 amount, INT_32 start) argument
628 if (amount != 0)
631 amount = -amount;
632 INT_32 inc = (amount < 0) ? -1 : 1;
633 INT_32 i = (amount < 0) ? numBits - 1 : start;
634 INT_32 end = (amount < 0) ? start - 1 : numBits;
637 if ((i + amount < start) || (i + amount >= numBits))
643 m_eq[i + amount]
[all...]
H A Dcoord.h103 VOID shift(INT_32 amount, INT_32 start = 0);
/xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/core/
H A Dcoord.cpp626 VOID CoordEq::shift(INT_32 amount, INT_32 start) argument
628 if (amount != 0)
631 amount = -amount;
632 INT_32 inc = (amount < 0) ? -1 : 1;
633 INT_32 i = (amount < 0) ? numBits - 1 : start;
634 INT_32 end = (amount < 0) ? start - 1 : numBits;
637 if ((i + amount < start) || (i + amount >= numBits))
643 m_eq[i + amount]
[all...]
H A Dcoord.h103 VOID shift(INT_32 amount, INT_32 start = 0);
/xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/
H A Dcoord.cpp516 VOID CoordEq::shift(INT_32 amount, INT_32 start) argument
518 if (amount != 0)
521 amount = -amount;
522 INT_32 inc = (amount < 0) ? -1 : 1;
523 INT_32 i = (amount < 0) ? numBits - 1 : start;
524 INT_32 end = (amount < 0) ? start - 1 : numBits;
527 if ((i + amount < start) || (i + amount >= numBits))
533 m_eq[i + amount]
[all...]
H A Dcoord.h128 VOID shift(INT_32 amount, INT_32 start = 0);
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dutils.c1040 Xalloc(unsigned long amount) argument
1043 * Xalloc used to return NULL when large amount of memory is requested. In
1049 if ((long)amount <= 0)
1051 "requesting unpleasantly large amount of memory: %lu bytes.\n",
1052 amount);
1054 return malloc(amount);
1058 XNFalloc(unsigned long amount) argument
1060 void *ptr = malloc(amount);
1067 Xcalloc(unsigned long amount) argument
1069 return calloc(1, amount);
1073 XNFcalloc(unsigned long amount) argument
1082 Xrealloc(void * ptr,unsigned long amount) argument
1100 XNFrealloc(void * ptr,unsigned long amount) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_insert_NOPs.cpp82 void add_wait_states(unsigned amount) argument
84 if ((set_vskip_mode_then_vector -= amount) < 0)
87 if ((valu_wr_vcc_then_vccz -= amount) < 0)
90 if ((valu_wr_exec_then_execz -= amount) < 0)
93 if ((valu_wr_vcc_then_div_fmas -= amount) < 0)
96 if ((salu_wr_m0_then_gds_msg_ttrace -= amount) < 0)
99 if ((valu_wr_exec_then_dpp -= amount) < 0)
102 if ((salu_wr_m0_then_lds -= amount) < 0)
105 if ((salu_wr_m0_then_moverel -= amount) < 0)
108 if ((setreg_then_getsetreg -= amount) <
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_loops.c120 float amount; local in function:get_incr_amount
157 amount = rc_get_constant_value(count_inst->C,
168 count_inst->Amount += amount;
175 count_inst->Amount -= amount;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_loops.c120 float amount; local in function:get_incr_amount
157 amount = rc_get_constant_value(count_inst->C,
168 count_inst->Amount += amount;
175 count_inst->Amount -= amount;
/xsrc/external/mit/MesaLib.old/dist/docs/specs/OLD/
H A DMESA_trace.spec37 amount of static data that is logged can be controlled at runtime.
/xsrc/external/mit/MesaLib/dist/docs/_extra/specs/OLD/
H A DMESA_trace.spec37 amount of static data that is logged can be controlled at runtime.
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D10.0.3.rst106 - nv50: access only the available amount of textures
107 - nv50: access only the available amount of constbuf
H A D17.0.5.rst75 - intel/fs: Take into account amount of data read in spilling cost
/xsrc/external/mit/MesaLib/dist/docs/
H A Dperf.rst14 #. Try to maximize the amount of drawing done between glBegin/glEnd
/xsrc/external/mit/xorg-server/dist/os/
H A Dutils.c1147 XNFalloc(unsigned long amount) argument
1149 void *ptr = malloc(amount);
1161 XNFcalloc(unsigned long amount) argument
1163 return XNFcallocarray(1, amount);
1177 XNFrealloc(void *ptr, unsigned long amount) argument
1179 void *ret = realloc(ptr, amount);

Completed in 22 milliseconds

123