Home
last modified time | relevance | path

Searched refs:Width (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/external/sfntly/cpp/src/test/
Dhdmx_test.cc52 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/
DFormat.h118 unsigned Width; variable
124 : Str(S), Width(W), RightJustify(R) { } in FormattedString()
130 inline FormattedString left_justify(StringRef Str, unsigned Width) { in left_justify() argument
131 return FormattedString(Str, Width, false); in left_justify()
137 inline FormattedString right_justify(StringRef Str, unsigned Width) { in right_justify() argument
138 return FormattedString(Str, Width, true); in right_justify()
145 unsigned Width; variable
154 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), in FormattedNumber()
164 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
166 assert(Width <= 18 && "hex width must be <= 18");
[all …]
DScaledNumber.h84 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h131 unsigned Width;
137 : Str(S), Width(W), RightJustify(R) { }
143 inline FormattedString left_justify(StringRef Str, unsigned Width) {
144 return FormattedString(Str, Width, false);
150 inline FormattedString right_justify(StringRef Str, unsigned Width) {
151 return FormattedString(Str, Width, true);
158 unsigned Width;
167 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
177 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
179 assert(Width <= 18 && "hex width must be <= 18");
[all …]
/external/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp326 unsigned AMDGPUDisassembler::getVgprClassId(const OpWidthTy Width) const { in getVgprClassId()
328 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getVgprClassId()
329 switch (Width) { in getVgprClassId()
337 unsigned AMDGPUDisassembler::getSgprClassId(const OpWidthTy Width) const { in getSgprClassId()
339 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getSgprClassId()
340 switch (Width) { in getSgprClassId()
348 unsigned AMDGPUDisassembler::getTtmpClassId(const OpWidthTy Width) const { in getTtmpClassId()
350 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getTtmpClassId()
351 switch (Width) { in getTtmpClassId()
359 MCOperand AMDGPUDisassembler::decodeSrcOp(const OpWidthTy Width, unsigned Val) const { in decodeSrcOp() argument
[all …]
DAMDGPUDisassembler.h79 unsigned getVgprClassId(const OpWidthTy Width) const;
80 unsigned getSgprClassId(const OpWidthTy Width) const;
81 unsigned getTtmpClassId(const OpWidthTy Width) const;
87 MCOperand decodeSrcOp(const OpWidthTy Width, unsigned Val) const;
/external/llvm/test/TableGen/
DTwoLevelName.td7 int Width = width;
41 // CHECK: Width = 8
45 // CHECK: Width = 8
49 // CHECK: Width = 8
53 // CHECK: Width = 16
57 // CHECK: Width = 8
61 // CHECK: Width = 8
65 // CHECK: Width = 16
69 // CHECK: Width = 8
/external/capstone/bindings/vb6/
DForm1.frm19 Width = 1455
28 Width = 1455
37 Width = 1455
46 Width = 1455
55 Width = 1455
64 Width = 1455
71 Width = 10095
95 Object.Width = 2540
112 Width = 10095
131 Width = 10095
[all …]
/external/llvm/tools/llvm-cov/
DCoverageReport.cpp28 unsigned Width; member
32 Column(StringRef Str, unsigned Width) in Column()
33 : Str(Str), Width(Width), Trim(WidthTrim), Alignment(LeftAlignment) {} in Column()
55 if (Str.size() <= Width) { in render()
57 OS.indent(Width - Str.size()); in render()
62 OS.indent(Width - Str.size()); in render()
71 OS << Str.substr(0, Width); in render()
74 OS << "..." << Str.substr(Str.size() - Width + 3); in render()
77 OS << Str.substr(0, Width - 3) << "..."; in render()
82 static Column column(StringRef Str, unsigned Width) { in column() argument
[all …]
/external/gemmlowp/internal/
Dpack_neon.h254 template <int Width>
256 KernelSideFormatInt8<CellFormat<Width, 16, CellOrder::WidthMajor>, 1>;
258 template <int Width>
260 PackedSideBlock<Int8FastKernelFormat<Width>>>
263 PackedSideBlock<Int8FastKernelFormat<Width>>> {
265 static_assert(Width == 2 || Width == 4, "");
266 typedef Int8FastKernelFormat<Width> KernelSideFormat;
280 uint8x16_t src_lines[Width]; in Pack()
281 for (int i = 0; i < Width; i++) { in Pack()
285 for (int i = 0; i < Width; i++) { in Pack()
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/
Dhw.c74 IN EFI_IO_WIDTH Width, in ReadPort() argument
81 … Status = uefi_call_wrapper(GlobalIoFncs->Io.Read, 5, GlobalIoFncs, Width, (UINT64)Port, 1, &Data); in ReadPort()
89 IN EFI_IO_WIDTH Width, in WritePort() argument
96 …Status = uefi_call_wrapper(GlobalIoFncs->Io.Write, 5, GlobalIoFncs, Width, (UINT64)Port, 1, &Data); in WritePort()
104 IN EFI_IO_WIDTH Width, in ReadPciConfig() argument
111 …Status = uefi_call_wrapper(GlobalIoFncs->Pci.Read, 5, GlobalIoFncs, Width, (UINT64)Address, 1, &Da… in ReadPciConfig()
119 IN EFI_IO_WIDTH Width, in WritePciConfig() argument
126 …Status = uefi_call_wrapper(GlobalIoFncs->Pci.Write, 5, GlobalIoFncs, Width, (UINT64)Address, 1, &D… in WritePciConfig()
/external/libcxxabi/test/
Ddynamic_cast_stress.pass.cpp46 template <std::size_t Width, std::size_t Depth>
48 : public makeB<typename std::__make_tuple_indices<Width>::type, Depth>
54 const std::size_t Width = 10; in test() local
56 A<Width, Depth> a; in test()
57 typedef B<Width/2, Depth> Destination; in test()
62 b = dynamic_cast<Destination*>((C<Width/2, 0>*)&a); in test()
/external/mesa3d/src/gallium/state_trackers/nine/
Dtexture9.c43 UINT Width, UINT Height, UINT Levels, in NineTexture9_ctor() argument
59 "pSharedHandle=%p\n", This, Width, Height, Levels, in NineTexture9_ctor()
63 user_assert(Width && Height, D3DERR_INVALIDCALL); in NineTexture9_ctor()
119 user_assert(!(Width % w) && !(Height % h), D3DERR_INVALIDCALL); in NineTexture9_ctor()
125 info->width0 = Width; in NineTexture9_ctor()
131 info->last_level = util_logbase2(MAX2(Width, Height)); in NineTexture9_ctor()
155 Width, Height, in NineTexture9_ctor()
166 Width, Height, in NineTexture9_ctor()
194 sfdesc.Width = u_minify(Width, l); in NineTexture9_ctor()
210 This->dirty_rect.width = Width; in NineTexture9_ctor()
[all …]
Dvolumetexture9.c33 UINT Width, UINT Height, UINT Depth, UINT Levels, in NineVolumeTexture9_ctor() argument
48 This, pParams, Width, Height, Depth, Levels, in NineVolumeTexture9_ctor()
51 user_assert(Width && Height && Depth, D3DERR_INVALIDCALL); in NineVolumeTexture9_ctor()
76 user_assert(!(Width % w) && !(Height % h), D3DERR_INVALIDCALL); in NineVolumeTexture9_ctor()
82 info->width0 = Width; in NineVolumeTexture9_ctor()
88 info->last_level = util_logbase2(MAX2(MAX2(Width, Height), Depth)); in NineVolumeTexture9_ctor()
117 voldesc.Width = u_minify(Width, l); in NineVolumeTexture9_ctor()
280 UINT Width, UINT Height, UINT Depth, UINT Levels, in NineVolumeTexture9_new() argument
288 Width, Height, Depth, Levels, in NineVolumeTexture9_new()
Dsurface9.c101 This->base.info.width0 = pDesc->Width; in NineSurface9_ctor()
135 user_assert(!(pDesc->Width % w) && !(pDesc->Height % h), D3DERR_INVALIDCALL); in NineSurface9_ctor()
149 pDesc->Width, in NineSurface9_ctor()
155 pDesc->Width); in NineSurface9_ctor()
163 pDesc->Width, in NineSurface9_ctor()
185 This->stride = nine_format_get_stride(This->base.info.format, pDesc->Width); in NineSurface9_ctor()
195 … nine_context_clear_render_target(pParams->device, This, 0, 0, 0, pDesc->Width, pDesc->Height); in NineSurface9_ctor()
286 This->desc.Width, This->desc.Height, in NineSurface9_Dump()
451 user_assert((pRect->left == 0 && pRect->right == This->desc.Width && in NineSurface9_LockRect()
472 u_box_origin_2d(This->desc.Width, This->desc.Height, &box); in NineSurface9_LockRect()
[all …]
/external/giflib/
Dgif_font.c165 base = Image->ImageDesc.Width * (y + i) + x; in GifDrawText8x8()
182 int j, base = Image->ImageDesc.Width * y + x; in GifDrawBox()
186 Image->RasterBits[base + (d * Image->ImageDesc.Width) + j] = color; in GifDrawBox()
189 Image->RasterBits[base + j * Image->ImageDesc.Width] = in GifDrawBox()
190 Image->RasterBits[base + j * Image->ImageDesc.Width + w] = color; in GifDrawBox()
199 unsigned char *bp = Image->RasterBits + Image->ImageDesc.Width * y + x; in GifDrawRectangle()
203 memset(bp + (i * Image->ImageDesc.Width), color, (size_t)w); in GifDrawRectangle()
/external/libvpx/libvpx/test/
Dconvolve_test.cc387 int Width() const { return GET_PARAM(0); } in Width() function in __anon44feeae40111::ConvolveTest
390 const int center = (kOuterBlockSize - Width()) / 2; in BorderLeft()
399 i % kOuterBlockSize >= (BorderLeft() + Width())); in IsIndexInBorder()
547 const int width = Width(); in TEST_P()
567 const int width = Width(); in TEST_P()
588 const int width = Width(); in TEST_P()
611 const int width = Width(); in TEST_P()
634 const int width = Width(); in TEST_P()
657 const int width = Width(); in TEST_P()
680 const int width = Width(); in TEST_P()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texture.c98 bytesPerSlice = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer()
108 texImage->Width); in _swrast_alloc_texture_image_buffer()
130 if ((texImage->Width == 1 || _mesa_is_pow_two(texImage->Width2)) && in _swrast_init_texture_image()
145 swImg->WidthScale = (GLfloat) texImage->Width; in _swrast_init_texture_image()
187 assert(x < texImage->Width || texImage->Width == 0); in check_map_teximage()
189 assert(x + w <= texImage->Width); in check_map_teximage()
232 stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); in _swrast_map_teximage()
303 texImage->Width, texImage->Height, in _swrast_map_texture()
/external/mesa3d/src/mesa/main/
Ddebug.c270 buffer = malloc(img->Width * img->Height in write_texture_image()
277 0, 0, 0, img->Width, img->Height, img->Depth, in write_texture_image()
284 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE); in write_texture_image()
321 buffer = malloc(rb->Width * rb->Height * 4); in _mesa_write_renderbuffer_image()
323 ctx->Driver.ReadPixels(ctx, 0, 0, rb->Width, rb->Height, in _mesa_write_renderbuffer_image()
334 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); in _mesa_write_renderbuffer_image()
363 texImg->Width, texImg->Height, texImg->Depth, in dump_texture()
416 rb->Name, rb->Width, rb->Height, in dump_renderbuffer()
451 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_color_buffer()
481 const GLuint w = ctx->DrawBuffer->Width; in _mesa_dump_depth_buffer()
[all …]
Dframebuffer.c296 if (rb->Width != width || rb->Height != height) { in _mesa_resize_framebuffer()
298 assert(rb->Width == width); in _mesa_resize_framebuffer()
309 fb->Width = width; in _mesa_resize_framebuffer()
342 minWidth = MIN2(minWidth, rb->Width); in update_framebuffer_size()
348 fb->Width = minWidth; in update_framebuffer_size()
352 fb->Width = 0; in update_framebuffer_size()
379 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { in _mesa_intersect_scissor_bounding_box()
380 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; in _mesa_intersect_scissor_bounding_box()
416 bbox[1] = buffer->Width; in _mesa_scissor_bounding_box()
635 fb->Width == 0 || in update_color_read_buffer()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h163 bool isLegalInteger(unsigned Width) const { in isLegalInteger() argument
165 if (LegalIntWidths[i] == Width) in isLegalInteger()
170 bool isIllegalInteger(unsigned Width) const { in isIllegalInteger() argument
171 return !isLegalInteger(Width); in isIllegalInteger()
183 bool fitsInLegalInteger(unsigned Width) const { in fitsInLegalInteger() argument
185 if (Width <= LegalIntWidths[i]) in fitsInLegalInteger()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h46 unsigned getNextPhysReg(unsigned PReg, unsigned Width) const;
53 uint16_t Width; member
54 ExtType() : Type(0), Width(0) {} in ExtType()
55 ExtType(char t, uint16_t w) : Type(t), Width(w) {} in ExtType()
DBitTracker.h250 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits()
281 static RegisterCell self(unsigned Reg, uint16_t Width);
283 static RegisterCell top(uint16_t Width);
312 BitTracker::RegisterCell::self(unsigned Reg, uint16_t Width) { in self() argument
313 RegisterCell RC(Width); in self()
314 for (uint16_t i = 0; i < Width; ++i) in self()
321 BitTracker::RegisterCell::top(uint16_t Width) { in top() argument
322 RegisterCell RC(Width); in top()
323 for (uint16_t i = 0; i < Width; ++i) in top()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DFixedLenDecoderEmitter.h26 unsigned Base, Width, Offset; member
28 : Base(B), Width(W), Offset(O) { } in EncodingField()
38 void addField(unsigned Base, unsigned Width, unsigned Offset) { in addField()
39 Fields.push_back(EncodingField(Base, Width, Offset)); in addField()
/external/pdfium/core/fxge/dib/
Dcfx_imagestretcher.cpp88 if (!m_pDest->SetInfo(m_ClipRect.Width(), m_ClipRect.Height(), m_DestFormat, in Start()
112 if (!m_pDest->SetInfo(m_ClipRect.Width(), m_ClipRect.Height(), m_DestFormat, in Start()
116 } else if (!m_pDest->SetInfo(m_ClipRect.Width(), m_ClipRect.Height(), in Start()
158 uint32_t size = m_ClipRect.Width(); in StartQuickStretch()
165 m_pMaskScanline.reset(FX_Alloc(uint8_t, (m_ClipRect.Width() + 3) / 4 * 4)); in StartQuickStretch()
178 int result_width = m_ClipRect.Width(); in ContinueQuickStretch()

12345678910>>...29