/external/sfntly/cpp/src/test/ |
D | hdmx_test.cc | 52 EXPECT_EQ(hdmx_table->Width(0, 0), HDMX_MAX_WIDTH[0]); in TestReadingHdmxTable() 53 EXPECT_EQ(hdmx_table->Width(0, 19), HDMX_MAX_WIDTH[0]); in TestReadingHdmxTable() 54 EXPECT_EQ(hdmx_table->Width(0, 623), HDMX_MAX_WIDTH[0]); in TestReadingHdmxTable() 55 EXPECT_EQ(hdmx_table->Width(1, 0), HDMX_MAX_WIDTH[1]); in TestReadingHdmxTable() 56 EXPECT_EQ(hdmx_table->Width(1, 19), HDMX_MAX_WIDTH[1]); in TestReadingHdmxTable() 57 EXPECT_EQ(hdmx_table->Width(1, 623), HDMX_MAX_WIDTH[1]); in TestReadingHdmxTable() 58 EXPECT_EQ(hdmx_table->Width(2, 0), HDMX_MAX_WIDTH[2]); in TestReadingHdmxTable() 59 EXPECT_EQ(hdmx_table->Width(2, 19), HDMX_MAX_WIDTH[2]); in TestReadingHdmxTable() 60 EXPECT_EQ(hdmx_table->Width(2, 623), HDMX_MAX_WIDTH[2]); in TestReadingHdmxTable() 61 EXPECT_EQ(hdmx_table->Width(3, 0), HDMX_MAX_WIDTH[3]); in TestReadingHdmxTable() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Format.h | 118 unsigned Width; variable 123 : Str(S), Width(W), RightJustify(R) { } in FormattedString() 129 inline FormattedString left_justify(StringRef Str, unsigned Width) { in left_justify() argument 130 return FormattedString(Str, Width, false); in left_justify() 136 inline FormattedString right_justify(StringRef Str, unsigned Width) { in right_justify() argument 137 return FormattedString(Str, Width, true); in right_justify() 144 unsigned Width; variable 152 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), in FormattedNumber() 162 inline FormattedNumber format_hex(uint64_t N, unsigned Width, 164 assert(Width <= 18 && "hex width must be <= 18"); [all …]
|
D | ScaledNumber.h | 84 const int Width = getWidth<DigitsT>(); variable 85 if (Width == 64 || Digits <= std::numeric_limits<DigitsT>::max()) 89 int Shift = 64 - Width - countLeadingZeros(Digits); 424 static void dump(uint64_t D, int16_t E, int Width); 425 static raw_ostream &print(raw_ostream &OS, uint64_t D, int16_t E, int Width, 427 static std::string toString(uint64_t D, int16_t E, int Width, 503 static const int Width = sizeof(DigitsType) * 8; variable 504 static_assert(Width <= 64, "invalid integer width for digits"); 546 if (Scale > 0 || Scale <= -Width) in isOne() 597 return ScaledNumberBase::toString(Digits, Scale, Width, Precision); [all …]
|
/external/llvm/tools/llvm-cov/ |
D | CoverageReport.cpp | 28 unsigned Width; member 32 Column(StringRef Str, unsigned Width) in Column() 33 : Str(Str), Width(Width), Trim(NoTrim), Alignment(LeftAlignment) {} in Column() 54 if (Str.size() <= Width) { in render() 56 OS.indent(Width - Str.size()); in render() 61 OS.indent(Width - Str.size()); in render() 67 OS << Str.substr(0, Width); in render() 70 OS << "..." << Str.substr(Str.size() - Width + 3); in render() 73 OS << Str.substr(0, Width - 3) << "..."; in render() 78 static Column column(StringRef Str, unsigned Width) { in column() argument [all …]
|
/external/llvm/test/TableGen/ |
D | TwoLevelName.td | 7 int Width = width; 26 // CHECK: Width = 8 30 // CHECK: Width = 8 34 // CHECK: Width = 8 38 // CHECK: Width = 8 42 // CHECK: Width = 8 46 // CHECK: Width = 8
|
/external/libcxxabi/test/ |
D | dynamic_cast_stress.pass.cpp | 44 template <std::size_t Width, std::size_t Depth> 46 : public makeB<typename std::__make_tuple_indices<Width>::type, Depth> 52 const std::size_t Width = 10; in test() local 54 A<Width, Depth> a; in test() 55 typedef B<Width/2, Depth> Destination; in test() 60 b = dynamic_cast<Destination*>((C<Width/2, 0>*)&a); in test()
|
/external/libvpx/libvpx/test/ |
D | convolve_test.cc | 198 int Width() const { return GET_PARAM(0); } in Width() function in __anonaf5c4fa70111::ConvolveTest 201 const int center = (kOuterBlockSize - Width()) / 2; in BorderLeft() 210 i % kOuterBlockSize >= (BorderLeft() + Width())); in IsIndexInBorder() 269 Width(), Height())); in TEST_P() 274 for (int x = 0; x < Width(); ++x) in TEST_P() 286 Width(), Height())); in TEST_P() 291 for (int x = 0; x < Width(); ++x) in TEST_P() 303 Width(), Height())); in TEST_P() 308 for (int x = 0; x < Width(); ++x) in TEST_P() 356 Width(), Height()); in TEST_P() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer() 80 swImg->RowStride = texImage->Width; in _swrast_alloc_texture_image_buffer() 91 swImg->ImageOffsets[i] = i * texImage->Width * texImage->Height; in _swrast_alloc_texture_image_buffer() 112 if ((texImage->Width == 1 || _mesa_is_pow_two(texImage->Width2)) && in _swrast_init_texture_image() 127 swImg->WidthScale = (GLfloat) texImage->Width; in _swrast_init_texture_image() 165 assert(x < texImage->Width || texImage->Width == 0); in _mesa_check_map_teximage() 167 assert(x + w <= texImage->Width); in _mesa_check_map_teximage() 200 stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); in _swrast_map_teximage() 217 texImage->Width, in _swrast_map_teximage() 224 texImage->Width, in _swrast_map_teximage()
|
D | s_lines.c | 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, in draw_wide_line() 133 if (ctx->Line.Width > 1.0) { \ 152 if (ctx->Line.Width > 1.0) { \ 245 || ctx->Line.Width != 1.0 in _swrast_choose_line() 256 ASSERT(ctx->Line.Width == 1.0); in _swrast_choose_line()
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.c | 292 if (rb->Width != width || rb->Height != height) { in _mesa_resize_framebuffer() 294 ASSERT(rb->Width == width); in _mesa_resize_framebuffer() 305 fb->Width = width; in _mesa_resize_framebuffer() 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers() 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers() 417 minWidth = MIN2(minWidth, rb->Width); in update_framebuffer_size() 423 fb->Width = minWidth; in update_framebuffer_size() 427 fb->Width = 0; in update_framebuffer_size() 454 buffer->_Xmax = buffer->Width; in _mesa_update_draw_buffer_bounds() 464 if (ctx->Scissor.X + ctx->Scissor.Width < buffer->_Xmax) { in _mesa_update_draw_buffer_bounds() [all …]
|
D | debug.c | 286 buffer = (GLubyte *) malloc(img->Width * img->Height in write_texture_image() 298 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE); in write_texture_image() 335 buffer = (GLubyte *) malloc(rb->Width * rb->Height * 4); in _mesa_write_renderbuffer_image() 337 ctx->Driver.ReadPixels(ctx, 0, 0, rb->Width, rb->Height, in _mesa_write_renderbuffer_image() 348 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); in _mesa_write_renderbuffer_image() 377 texImg->Width, texImg->Height, texImg->Depth, in dump_texture() 430 rb->Name, rb->Width, rb->Height, in dump_renderbuffer() 465 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_color_buffer() 495 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_depth_buffer() 531 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_stencil_buffer() [all …]
|
D | texgetimage.c | 79 const GLint width = texImage->Width; in get_tex_depth() 129 const GLint width = texImage->Width; in get_tex_depth_stencil() 174 const GLint width = texImage->Width; in get_tex_ycbcr() 234 const GLuint width = texImage->Width; in get_tex_rgba_compressed() 325 const GLuint width = texImage->Width; in get_tex_rgba_uncompressed() 487 const GLuint bytesPerRow = texImage->Width * bpp; in get_tex_memcpy() 489 _mesa_image_address2d(&ctx->Pack, pixels, texImage->Width, in get_tex_memcpy() 492 _mesa_image_row_stride(&ctx->Pack, texImage->Width, format, type); in get_tex_memcpy() 498 0, 0, texImage->Width, texImage->Height, in get_tex_memcpy() 605 _mesa_format_row_stride(texImage->TexFormat, texImage->Width); in _mesa_get_compressed_teximage() [all …]
|
D | scissor.c | 72 width == ctx->Scissor.Width && in _mesa_set_scissor() 79 ctx->Scissor.Width = width; in _mesa_set_scissor() 98 ctx->Scissor.Width = 0; in _mesa_init_scissor()
|
D | lines.c | 71 if (ctx->Line.Width == width) in _mesa_LineWidth() 75 ctx->Line.Width = width; in _mesa_LineWidth() 131 ctx->Line.Width = 1.0; in _mesa_init_line()
|
D | viewport.c | 81 ctx->Viewport.Width = width; in _mesa_set_viewport() 93 ctx->Viewport.Width, ctx->Viewport.Height, in _mesa_set_viewport() 139 ctx->Viewport.Width, ctx->Viewport.Height, in _mesa_DepthRange() 166 ctx->Viewport.Width = 0; in _mesa_init_viewport()
|
/external/mesa3d/src/egl/main/ |
D | eglmode.c | 93 mode->Width = EGL_DONT_CARE; in _eglParseModeAttribs() 110 mode->Width = attrib_list[++i]; in _eglParseModeAttribs() 111 if (mode->Width <= 0) { in _eglParseModeAttribs() 163 if (min->Width != EGL_DONT_CARE && c->Width < min->Width) in _eglModeQualifies() 188 return m->Width; in getModeAttrib()
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_image.c | 79 if (attrs.Width <= 0 || attrs.Height <= 0) { in egl_g3d_create_drm_buffer() 81 attrs.Width, attrs.Height); in egl_g3d_create_drm_buffer() 109 templ.width0 = attrs.Width; in egl_g3d_create_drm_buffer() 119 attrs.Width >= 640 && attrs.Height >= 480) in egl_g3d_create_drm_buffer() 124 if (attrs.Width != 64 || attrs.Height != 64) in egl_g3d_create_drm_buffer() 147 if (attrs.Width <= 0 || attrs.Height <= 0 || in egl_g3d_reference_drm_buffer() 150 attrs.Width, attrs.Height, attrs.DRMBufferStrideMESA); in egl_g3d_reference_drm_buffer() 170 nbuf.u.drm.templ.width0 = attrs.Width; in egl_g3d_reference_drm_buffer()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 237 bool isLegalInteger(unsigned Width) const { in isLegalInteger() argument 239 if (LegalIntWidth == Width) in isLegalInteger() 244 bool isIllegalInteger(unsigned Width) const { return !isLegalInteger(Width); } in isIllegalInteger() argument 302 bool fitsInLegalInteger(unsigned Width) const { in fitsInLegalInteger() argument 304 if (Width <= LegalIntWidth) in fitsInLegalInteger() 427 Type *getSmallestLegalIntType(LLVMContext &C, unsigned Width = 0) const;
|
/external/llvm/lib/Support/ |
D | Unicode.cpp | 356 int Width = charWidth(buf[0]); in columnWidthUTF8() local 357 if (Width < 0) in columnWidthUTF8() 359 ColumnWidth += Width; in columnWidthUTF8()
|
D | ScaledNumber.cpp | 201 std::string ScaledNumberBase::toString(uint64_t D, int16_t E, int Width, in toString() argument 253 uint64_t Error = UINT64_C(1) << (64 - Width); in toString() 316 int Width, unsigned Precision) { in print() argument 317 return OS << toString(D, E, Width, Precision); in print() 320 void ScaledNumberBase::dump(uint64_t D, int16_t E, int Width) { in dump() argument 321 print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E in dump()
|
D | TargetRegistry.cpp | 125 size_t Width = 0; in printRegisteredTargetsForVersion() local 130 Width = std::max(Width, Targets.back().first.size()); in printRegisteredTargetsForVersion() 138 OS.indent(Width - Targets[i].first.size()) << " - " in printRegisteredTargetsForVersion()
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Signature.cpp | 46 (FX_INT32)rcClient.Width(), (FX_INT32)rcClient.Height()); in DrawThisAppearance() 63 fHScale = rcClient.Width() / fImageW; in GetScale() 143 if (rcClient.Width() >= rcClient.Height()) in RePosChildWnd() 145 rcText.right = rcText.left + rcClient.Width() / 2.0f; in RePosChildWnd() 146 rcDescription.left = rcDescription.right - rcClient.Width() / 2.0f; in RePosChildWnd()
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 107 uint64_t Width = Target.getTypeWidth(PtrDiff); in getMemberPointerWidthAndAlign() local 110 Width = 2 * Width; in getMemberPointerWidthAndAlign() 111 return std::make_pair(Width, Align); in getMemberPointerWidthAndAlign()
|
/external/libvpx/libvpx/vp8/common/arm/ |
D | bilinearfilter_arm.c | 25 int Width, in vp8_filter_block2d_bil_armv6() argument 32 vp8_filter_block2d_bil_first_pass_armv6(src_ptr, FData, src_pitch, Height + 1, Width, HFilter); in vp8_filter_block2d_bil_armv6() 35 vp8_filter_block2d_bil_second_pass_armv6(FData, dst_ptr, dst_pitch, Height, Width, VFilter); in vp8_filter_block2d_bil_armv6()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 199 const GLfloat fb_width = (GLfloat) fb->Width; in clear_with_quad() 341 ctx->Scissor.Width < rb->Width || in check_clear_color_with_quad() 371 ctx->Scissor.Width < rb->Width || in check_clear_depth_stencil_with_quad() 395 ctx->Scissor.Width < rb->Width || in check_clear_depth_with_quad() 427 ctx->Scissor.Width < rb->Width || in check_clear_stencil_with_quad()
|