/external/fio/ |
D | cconv.c | 48 struct thread_options_pack *top) in convert_thread_options_to_cpu() argument 52 string_to_cpu(&o->description, top->description); in convert_thread_options_to_cpu() 53 string_to_cpu(&o->name, top->name); in convert_thread_options_to_cpu() 54 string_to_cpu(&o->directory, top->directory); in convert_thread_options_to_cpu() 55 string_to_cpu(&o->filename, top->filename); in convert_thread_options_to_cpu() 56 string_to_cpu(&o->filename_format, top->filename_format); in convert_thread_options_to_cpu() 57 string_to_cpu(&o->opendir, top->opendir); in convert_thread_options_to_cpu() 58 string_to_cpu(&o->ioengine, top->ioengine); in convert_thread_options_to_cpu() 59 string_to_cpu(&o->mmapfile, top->mmapfile); in convert_thread_options_to_cpu() 60 string_to_cpu(&o->read_iolog_file, top->read_iolog_file); in convert_thread_options_to_cpu() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | builtin-top.c | 76 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 78 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 84 struct perf_top *top = arg; in perf_top__sig_winch() local 86 get_term_dimensions(&top->winsize); in perf_top__sig_winch() 87 perf_top__update_print_entries(top); in perf_top__sig_winch() 90 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument 133 top->sym_filter_entry = he; in perf_top__parse_source() 173 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument 182 ((top->sym_filter_entry == NULL || in perf_top__record_precise_ip() 183 top->sym_filter_entry->ms.sym != he->ms.sym) && use_browser != 1)) in perf_top__record_precise_ip() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | top.c | 24 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 29 struct perf_record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 33 if (top->samples) { in perf_top__header_snprintf() 34 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 35 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 36 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 52 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() 53 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf() 54 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() 73 if (top->evlist->nr_entries == 1) { in perf_top__header_snprintf() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/ |
D | t1decode.c | 393 decoder->top = decoder->stack; in t1_decoder_parse_charstrings() 432 FT_Long* top = decoder->top; in t1_decoder_parse_charstrings() local 443 FT_TRACE5(( " (%d)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings() 662 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings() 675 *top++ = value; in t1_decoder_parse_charstrings() 676 decoder->top = top; in t1_decoder_parse_charstrings() 689 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings() 692 top -= 2; in t1_decoder_parse_charstrings() 694 subr_no = Fix2Int( top[1] ); in t1_decoder_parse_charstrings() 695 arg_cnt = Fix2Int( top[0] ); in t1_decoder_parse_charstrings() [all …]
|
/external/freetype/src/psaux/ |
D | t1decode.c | 393 decoder->top = decoder->stack; in t1_decoder_parse_charstrings() 432 FT_Long* top = decoder->top; in t1_decoder_parse_charstrings() local 443 FT_TRACE5(( " (%d)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings() 662 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings() 675 *top++ = value; in t1_decoder_parse_charstrings() 676 decoder->top = top; in t1_decoder_parse_charstrings() 689 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings() 692 top -= 2; in t1_decoder_parse_charstrings() 694 subr_no = Fix2Int( top[1] ); in t1_decoder_parse_charstrings() 695 arg_cnt = Fix2Int( top[0] ); in t1_decoder_parse_charstrings() [all …]
|
/external/chromium_org/third_party/freetype/src/psaux/ |
D | t1decode.c | 393 decoder->top = decoder->stack; in t1_decoder_parse_charstrings() 432 FT_Long* top = decoder->top; in t1_decoder_parse_charstrings() local 443 FT_TRACE5(( " (%d)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings() 662 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings() 675 *top++ = value; in t1_decoder_parse_charstrings() 676 decoder->top = top; in t1_decoder_parse_charstrings() 689 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings() 692 top -= 2; in t1_decoder_parse_charstrings() 694 subr_no = Fix2Int( top[1] ); in t1_decoder_parse_charstrings() 695 arg_cnt = Fix2Int( top[0] ); in t1_decoder_parse_charstrings() [all …]
|
/external/chromium_org/third_party/bintrees/bintrees/ |
D | avltree.py | 159 top = 0 177 top = len(node_stack) - 1 178 while (top >= 0) and not done: 179 direction = dir_stack[top] 181 topnode = node_stack[top] 193 node_stack[top] = jsw_single(topnode, other_side) 195 node_stack[top] = jsw_double(topnode, other_side) 198 if top != 0: 199 node_stack[top - 1][dir_stack[top - 1]] = node_stack[top] 205 topnode = node_stack[top] [all …]
|
D | ctrees.c | 504 int upd[32], top = 0; in avl_insert() local 520 upd[top] = (cmp_res < 0); in avl_insert() 521 up[top++] = it; in avl_insert() 523 if (it->link[upd[top - 1]] == NULL) in avl_insert() 525 it = it->link[upd[top - 1]]; in avl_insert() 529 it->link[upd[top - 1]] = avl_new_node(key, value); in avl_insert() 530 if (it->link[upd[top - 1]] == NULL) in avl_insert() 534 while (--top >= 0 && !done) { in avl_insert() 538 cmp_res = ct_compare(KEY(up[top]), key); in avl_insert() 540 lh = height(up[top]->link[upd[top]]); in avl_insert() [all …]
|
/external/chromium_org/third_party/libwebp/dsp/ |
D | enc.c | 208 const uint8_t* top, int size) { in VerticalPred() argument 210 if (top) { in VerticalPred() 211 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred() 230 const uint8_t* top, int size) { in TrueMotion() argument 233 if (top) { in TrueMotion() 239 dst[x] = clip_table[top[x]]; in TrueMotion() 251 if (top) { in TrueMotion() 252 VerticalPred(dst, top, size); in TrueMotion() 260 const uint8_t* top, in DCMode() argument 264 if (top) { in DCMode() [all …]
|
/external/webp/src/dsp/ |
D | enc.c | 208 const uint8_t* top, int size) { in VerticalPred() argument 210 if (top) { in VerticalPred() 211 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred() 230 const uint8_t* top, int size) { in TrueMotion() argument 233 if (top) { in TrueMotion() 239 dst[x] = clip_table[top[x]]; in TrueMotion() 251 if (top) { in TrueMotion() 252 VerticalPred(dst, top, size); in TrueMotion() 260 const uint8_t* top, in DCMode() argument 264 if (top) { in DCMode() [all …]
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
D | accessibility_focus_ring.cc | 17 gfx::Rect top(bounds.x(), bounds.y(), in CreateWithRect() local 21 gfx::Rect body(bounds.x(), top.bottom(), in CreateWithRect() 22 bounds.width(), bottom.y() - top.bottom()); in CreateWithRect() 24 return CreateWithParagraphShape(top, body, bottom, margin); in CreateWithRect() 47 gfx::Rect top = orig_top_line; in CreateWithParagraphShape() local 51 int min_height = std::min(top.height(), bottom.height()); in CreateWithParagraphShape() 54 if (top.x() <= middle.x() + 2 * margin) { in CreateWithParagraphShape() 55 top.set_width(top.width() + top.x() - middle.x()); in CreateWithParagraphShape() 56 top.set_x(middle.x()); in CreateWithParagraphShape() 58 if (top.right() >= middle.right() - 2 * margin) { in CreateWithParagraphShape() [all …]
|
/external/freetype/src/cff/ |
D | cf2stack.c | 66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init() 90 return (CF2_UInt)( stack->top - &stack->buffer[0] ); in cf2_stack_count() 98 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushInt() 104 stack->top->u.i = val; in cf2_stack_pushInt() 105 stack->top->type = CF2_NumberInt; in cf2_stack_pushInt() 106 ++stack->top; in cf2_stack_pushInt() 114 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushFixed() 120 stack->top->u.r = val; in cf2_stack_pushFixed() 121 stack->top->type = CF2_NumberFixed; in cf2_stack_pushFixed() 122 ++stack->top; in cf2_stack_pushFixed() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
D | cf2stack.c | 66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init() 90 return (CF2_UInt)( stack->top - &stack->buffer[0] ); in cf2_stack_count() 98 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushInt() 104 stack->top->u.i = val; in cf2_stack_pushInt() 105 stack->top->type = CF2_NumberInt; in cf2_stack_pushInt() 106 ++stack->top; in cf2_stack_pushInt() 114 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushFixed() 120 stack->top->u.r = val; in cf2_stack_pushFixed() 121 stack->top->type = CF2_NumberFixed; in cf2_stack_pushFixed() 122 ++stack->top; in cf2_stack_pushFixed() [all …]
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cf2stack.c | 66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init() 90 return (CF2_UInt)( stack->top - &stack->buffer[0] ); in cf2_stack_count() 98 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushInt() 104 stack->top->u.i = val; in cf2_stack_pushInt() 105 stack->top->type = CF2_NumberInt; in cf2_stack_pushInt() 106 ++stack->top; in cf2_stack_pushInt() 114 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushFixed() 120 stack->top->u.r = val; in cf2_stack_pushFixed() 121 stack->top->type = CF2_NumberFixed; in cf2_stack_pushFixed() 122 ++stack->top; in cf2_stack_pushFixed() [all …]
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | desktop_region.cc | 23 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row() argument 24 : top(top), bottom(bottom) { in Row() 65 it1->second->top != it2->second->top || in Equals() 94 int top = rect.top(); in AddRect() local 98 Rows::iterator row = rows_.upper_bound(top); in AddRect() 99 while (top < rect.bottom()) { in AddRect() 100 if (row == rows_.end() || top < row->second->top) { in AddRect() 104 if (row != rows_.end() && row->second->top < bottom) in AddRect() 105 bottom = row->second->top; in AddRect() 107 row, Rows::value_type(bottom, new Row(top, bottom))); in AddRect() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewInnerTextTest.java | 27 LinearLayout top = new LinearLayout(activity); in testInnerText() local 28 top.addView(textView("blah")); in testInnerText() 29 top.addView(new View(activity)); in testInnerText() 30 top.addView(textView("a b c")); in testInnerText() 33 top.addView(innerLayout); in testInnerText() 41 top.addView(textView("mnop")); in testInnerText() 43 assertEquals("blah a b c d e f g h i jkl! mnop", shadowOf(top).innerText()); in testInnerText() 48 LinearLayout top = new LinearLayout(activity); in shouldOnlyIncludeViewTextViewsText() local 49 top.addView(textView("blah", View.VISIBLE)); in shouldOnlyIncludeViewTextViewsText() 50 top.addView(textView("blarg", View.GONE)); in shouldOnlyIncludeViewTextViewsText() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | CubicBezierClip.cpp | 32 double top = distance[0]; in bezier_clip() local 34 if (top > bottom) { in bezier_clip() 35 SkTSwap(top, bottom); in bezier_clip() 37 if (top * bottom >= 0) { in bezier_clip() 39 if (top < 0) { in bezier_clip() 40 top *= scale; in bezier_clip() 43 top = 0; in bezier_clip() 48 top *= scale; in bezier_clip() 57 if (approximately_lesser_or_equal(distance2y[0].y, top)) { in bezier_clip() 65 if (approximately_lesser_or_equal(distance2y[3].y, top)) { in bezier_clip() [all …]
|
/external/skia/experimental/Intersection/ |
D | CubicBezierClip.cpp | 32 double top = distance[0]; in bezier_clip() local 34 if (top > bottom) { in bezier_clip() 35 SkTSwap(top, bottom); in bezier_clip() 37 if (top * bottom >= 0) { in bezier_clip() 39 if (top < 0) { in bezier_clip() 40 top *= scale; in bezier_clip() 43 top = 0; in bezier_clip() 48 top *= scale; in bezier_clip() 57 if (approximately_lesser_or_equal(distance2y[0].y, top)) { in bezier_clip() 65 if (approximately_lesser_or_equal(distance2y[3].y, top)) { in bezier_clip() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowRect.java | 14 public void __constructor__(int left, int top, int right, int bottom) { in __constructor__() argument 16 realRect.top = top; in __constructor__() 23 realRect.top = otherRect.top; in __constructor__() 30 set(rect.left, rect.top, rect.right, rect.bottom); in set() 34 public void set(int left, int top, int right, int bottom) { in set() argument 36 realRect.top = top; in set() 48 return realRect.bottom - realRect.top; in height() 60 return realRect.left == r.left && realRect.top == r.top && realRect.right == r.right in equals() 70 sb.append(realRect.top); in toString() 82 && y >= realRect.top && y <= realRect.bottom; in contains() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
D | shift.c | 68 if (bn_wexpand(r, a->top + nw + 1) == NULL) { in BN_lshift() 75 t[a->top + nw] = 0; in BN_lshift() 77 for (i = a->top - 1; i >= 0; i--) { in BN_lshift() 81 for (i = a->top - 1; i >= 0; i--) { in BN_lshift() 88 r->top = a->top + nw + 1; in BN_lshift() 100 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1() 103 r->top = a->top; in BN_lshift1() 105 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1() 112 for (i = 0; i < a->top; i++) { in BN_lshift1() 119 r->top++; in BN_lshift1() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_coordinates.h | 235 void Set(baseType left, baseType top, baseType width, baseType height) in Set() argument 237 … FXT_RECT::left = left, FXT_RECT::top = top, FXT_RECT::width = width, FXT_RECT::height = height; in Set() 239 void Set(baseType left, baseType top, const FXT_SIZE &size) in Set() argument 241 FXT_RECT::left = left, FXT_RECT::top = top, FXT_RECT::Size(size); in Set() 257 FXT_RECT::left = FXT_RECT::top = FXT_RECT::width = FXT_RECT::height = 0; in Reset() 261 left += p.x, top += p.y; 266 left -= p.x, top -= p.y; 275 return top + height; in bottom() 284 top += height; in Normalize() 291 top += dy; in Offset() [all …]
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | image_util.js | 97 this.top = arguments[1]; 104 this.top = 0; 113 this.top = source.top; 116 this.height = source.bottom - source.top; 121 this.top = 0; 133 this.top = 0; 160 return this.top + this.height; 171 this.top * factor, 182 return new Rect(this.left + dx, this.top + dy, this.width, this.height); 201 this.left - dx, this.top - dy, this.width + 2 * dx, this.height + 2 * dy); [all …]
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_coords.cpp | 15 if (top > bottom) { in Normalize() 16 int temp = top; in Normalize() 17 top = bottom; in Normalize() 27 top = top > src_n.top ? top : src_n.top; in Intersect() 30 if (left > right || top > bottom) { in Intersect() 31 left = top = right = bottom = 0; in Intersect() 42 top = top < other.top ? top : other.top; in Union() 70 bottom = (FX_FLOAT)(rect.top); in CFX_FloatRect() 71 top = (FX_FLOAT)(rect.bottom); in CFX_FloatRect() 81 if (bottom > top) { in Normalize() [all …]
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
D | lapi.c | 59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr() 60 if (o >= L->top) return NONVALIDVALUE; in index2addr() 64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr() 65 return L->top + idx; in index2addr() 96 if (L->stack_last - L->top > size) /* stack large enough? */ in lua_checkstack() 99 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack() 105 if (res && ci->top < L->top + size) in lua_checkstack() 106 ci->top = L->top + size; /* adjust frame top */ in lua_checkstack() 118 api_check(from, to->ci->top - to->top >= n, "not enough elements to move"); in lua_xmove() 119 from->top -= n; in lua_xmove() [all …]
|
/external/openssl/crypto/bn/ |
D | bn_lib.c | 231 int i = a->top - 1; in BN_num_bits() 289 ret->top=0; in BN_new() 337 for (i=b->top>>2; i>0; i--,A+=4,B+=4) in bn_expand_internal() 352 switch (b->top&3) in bn_expand_internal() 366 memcpy(A,b->d,sizeof(b->d[0])*b->top); in bn_expand_internal() 405 r->top = b->top; in bn_dup_expand() 451 if (b->top < b->dmax) in bn_expand2() 454 BN_ULONG *A = &(b->d[b->top]); in bn_expand2() 455 for (i=(b->dmax - b->top)>>3; i>0; i--,A+=8) in bn_expand2() 460 for (i=(b->dmax - b->top)&7; i>0; i--,A++) in bn_expand2() [all …]
|