Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/third_party/rust/crates/os_str_bytes/src/windows/
Dtests.rs5 use EncodingError::Byte; in test_invalid()
14 test(Byte(b'\x83'), b"\x0C\x83\xD7\x3E"); in test_invalid()
15 test(Byte(b'\x52'), b"\x19\xF7\x52\x84"); in test_invalid()
16 test(Byte(b'\xB8'), b"\x70\xB8\x1F\x66"); in test_invalid()
18 test(Byte(b'\x80'), b"\x80"); in test_invalid()
19 test(Byte(b'\x80'), b"\x80\x80"); in test_invalid()
20 test(Byte(b'\x80'), b"\x80\x80\x80"); in test_invalid()
21 test(Byte(b'\x81'), b"\x81"); in test_invalid()
22 test(Byte(b'\x88'), b"\x88\xB4\xC7\x46"); in test_invalid()
23 test(Byte(b'\x97'), b"\x97\xCE\x06"); in test_invalid()
[all …]
/third_party/lzma/C/
DDelta.c8 void Delta_Init(Byte *state) in Delta_Init()
16 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Encode()
18 Byte temp[DELTA_STATE_SIZE]; in Delta_Encode()
35 Byte b = *data; in Delta_Encode()
36 *data++ = (Byte)(b - temp[i]); in Delta_Encode()
55 Byte *p = data + size - delta; in Delta_Encode()
63 const Byte *lim = data + delta; in Delta_Encode()
68 --p; *p = (Byte)(*p - p[dif]); in Delta_Encode()
73 --p; *p = (Byte)(*p - p[dif]); in Delta_Encode()
74 --p; *p = (Byte)(*p - p[dif]); in Delta_Encode()
[all …]
DCpuArch.h283 ((const Byte *)(p))[0] | \
284 ((UInt16)((const Byte *)(p))[1] << 8) ))
287 ((const Byte *)(p))[0] | \
288 ((UInt32)((const Byte *)(p))[1] << 8) | \
289 ((UInt32)((const Byte *)(p))[2] << 16) | \
290 ((UInt32)((const Byte *)(p))[3] << 24))
292 #define SetUi16(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
293 _ppp_[0] = (Byte)_vvv_; \
294 _ppp_[1] = (Byte)(_vvv_ >> 8); }
296 #define SetUi32(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
[all …]
DLzmaDec.h30 Byte lc;
31 Byte lp;
32 Byte pb;
33 Byte _pad_;
43 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size);
59 Byte *dic;
62 const Byte *buf;
73 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX];
139 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
142 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
[all …]
DBra.c9 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARM_Convert()
11 Byte *p; in ARM_Convert()
12 const Byte *lim; in ARM_Convert()
64 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARMT_Convert()
66 Byte *p; in ARMT_Convert()
67 const Byte *lim; in ARMT_Convert()
102 p[-4] = (Byte)(v >> 11); in ARMT_Convert()
103 p[-3] = (Byte)(0xF0 | ((v >> 19) & 0x7)); in ARMT_Convert()
104 p[-2] = (Byte)v; in ARMT_Convert()
105 p[-1] = (Byte)(0xF8 | (v >> 8)); in ARMT_Convert()
[all …]
DXz.h21 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value);
22 unsigned Xz_WriteVarInt(Byte *buf, UInt64 v);
39 Byte props[XZ_FILTER_PROPS_SIZE_MAX];
46 Byte flags;
55 SRes XzBlock_Parse(CXzBlock *p, const Byte *header);
63 extern const Byte XZ_SIG[XZ_SIG_SIZE];
94 int XzCheck_Final(CXzCheck *p, Byte *digest);
103 SRes Xz_ParseHeader(CXzStreamFlags *p, const Byte *buf);
167 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAllocPtr alloc);
169 SRes (*Code2)(void *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
[all …]
DLzma2Dec.h16 Byte control;
17 Byte needInitLevel;
18 Byte isExtraMode;
19 Byte _pad_;
29 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
30 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
49 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
51 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen,
52 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
80 const Byte *src, SizeT *srcLen,
[all …]
DBcj2.h64 const Byte *bufs[BCJ2_NUM_STREAMS];
65 const Byte *lims[BCJ2_NUM_STREAMS];
66 Byte *dest;
67 const Byte *destLim;
72 Byte temp[4];
96 Byte *bufs[BCJ2_NUM_STREAMS];
97 const Byte *lims[BCJ2_NUM_STREAMS];
98 const Byte *src;
99 const Byte *srcLim;
104 Byte prevByte;
[all …]
D7zCrc.c62 const Byte *p = (const Byte *)data; in CrcUpdateT1()
63 const Byte *pEnd = p + size; in CrcUpdateT1()
112 v = CRC_UPDATE_BYTE_2(v, (Byte)data); in __crc32b()
120 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32w()
121 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32w()
122 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32w()
123 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32w()
131 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32d()
132 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32d()
133 v = CRC_UPDATE_BYTE_2(v, (Byte)data); data >>= 8; in __crc32d()
[all …]
DBcj2.c61 Byte *dest = p->dest; in Bcj2Dec_Decode()
123 const Byte *src = p->bufs[BCJ2_STREAM_MAIN]; in Bcj2Dec_Decode()
124 const Byte *srcLim; in Bcj2Dec_Decode()
125 Byte *dest; in Bcj2Dec_Decode()
151 Byte b = *src; in Bcj2Dec_Decode()
190 Byte b = src[0]; in Bcj2Dec_Decode()
191 Byte prev = (Byte)(num == 0 ? p->temp[3] : src[-1]); in Bcj2Dec_Decode()
215 const Byte *cur = p->bufs[cj]; in Bcj2Dec_Decode()
216 Byte *dest; in Bcj2Dec_Decode()
235 p->temp[0] = (Byte)val; if (rem > 0) dest[0] = (Byte)val; val >>= 8; in Bcj2Dec_Decode()
[all …]
D7z.h14 extern const Byte k7zSignature[k7zSignatureSize];
18 const Byte *Data;
28 Byte NumStreams;
29 Byte PropsSize;
64 Byte *Defs; /* MSB 0 bit numbering */
70 Byte *Defs; /* MSB 0 bit numbering */
90 Byte *FoToMainUnpackSizeIndex; // NumFolders
93 Byte *CodersData;
102 Byte *outBuffer, size_t outSize,
116 Byte *IsDirs;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLEB128.h28 uint8_t Byte = Value & 0x7f; variable
31 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
32 ((Value == -1) && ((Byte & 0x40) != 0))));
35 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
36 OS << char(Byte);
57 uint8_t Byte = Value & 0x7f; variable
60 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
61 ((Value == -1) && ((Byte & 0x40) != 0))));
64 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
65 *p++ = Byte;
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexRoutine.hpp25 …rtexRoutinePrototype : public Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<B…
32 Pointer<Byte> vertex;
33 Pointer<Byte> batch;
34 Pointer<Byte> task;
35 Pointer<Byte> data;
47 Pointer<Byte> constants;
61 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, const UInt &index);
65 void writeCache(Pointer<Byte> &cacheLine);
66 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheLine);
67 …void transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, const UInt &index…
DSamplerCore.hpp51 SamplerCore(Pointer<Byte> &constants, const Sampler::State &state);
53 …Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
54 …Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod);
58 …Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
62 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa…
63 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
64 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Fl…
65 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Flo…
66 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
[all …]
DSetupRoutine.hpp36 …adient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Pointer<By…
37 …void edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Ya, const Int &…
38 void conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
39 void conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
DPixelRoutine.hpp48 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
50 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM…
58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s &current, Int &sMask, Int &zMa…
61 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x);
62 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I…
69 …Float4 interpolateCentroid(Float4 &x, Float4 &y, Float4 &rhw, Pointer<Byte> planeEquation, bool fl…
70 void stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask);
74 …Bool depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMas…
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.hpp62 SamplerCore(Pointer<Byte> &constants, const Sampler &state);
64 …Vector4f sampleTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &q, Float &&lodOrBias, Float…
68 …Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Floa…
69 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
70 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vec…
71 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vect…
72 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
73 …Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4i &offset, const…
74 …Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &…
75 …Vector4f sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a…
[all …]
DSetupRoutine.hpp36 …adient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Pointer<By…
37 …void edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Ya, const Int &…
38 void conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
39 void conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer<Byte> &v2);
DPixelRoutine.hpp50 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]…
52 …void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], …
57 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int …
58 …Vector4f alphaBlend(int index, const Pointer<Byte> &cBuffer, const Vector4f &sourceColor, const In…
59 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const In…
68 …void stencilTest(const Pointer<Byte> &sBuffer, const Int &x, Int sMask[4], const SampleSet &sample…
73 …Bool depthTest(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMas…
74 void depthBoundsTest(const Pointer<Byte> &zBuffer, int q, const Int &x, Int &zMask, Int &cMask);
76 void readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel);
95 …void writeStencil(Pointer<Byte> &sBuffer, const Int &x, const Int sMask[4], const Int zMask[4], co…
[all …]
DVertexRoutine.hpp41 Pointer<Byte> device;
42 Pointer<Byte> vertex;
44 Pointer<Byte> task;
45 Pointer<Byte> data;
60 Pointer<Byte> constants;
75 …Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, Pointer<UInt> &batc…
80 void writeCache(Pointer<Byte> &vertexCache, Pointer<UInt> &tagCache, Pointer<UInt> &batch);
81 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheEntry);
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBuffer.cpp171 Function<Void(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in copyRoutine()
173 Pointer<Byte> dst(function.Arg<0>()); in copyRoutine()
174 Pointer<Byte> src(function.Arg<1>()); in copyRoutine()
175 Pointer<Byte> cursor(function.Arg<2>()); in copyRoutine()
179 Pointer<Byte> d = dst + y * dStride; in copyRoutine()
180 Pointer<Byte> s = src + y * sStride; in copyRoutine()
408 *Pointer<Byte>(d + 0) = *Pointer<Byte>(s + 0); in copyRoutine()
409 *Pointer<Byte>(d + 1) = *Pointer<Byte>(s + 1); in copyRoutine()
410 *Pointer<Byte>(d + 2) = *Pointer<Byte>(s + 2); in copyRoutine()
414 *Pointer<Byte>(d + 0) = *Pointer<Byte>(s + 2); in copyRoutine()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.cpp224 bool Blitter::read(Float4 &c, Pointer<Byte> element, const State &state) in read()
231 c.xyz = Float(Int(*Pointer<Byte>(element))); in read()
235 c.w = Float(Int(*Pointer<Byte>(element))); in read()
244 c.x = Float(Int(*Pointer<Byte>(element))); in read()
280 c.z = Float(Int(*Pointer<Byte>(element + 0))); in read()
281 c.y = Float(Int(*Pointer<Byte>(element + 1))); in read()
282 c.x = Float(Int(*Pointer<Byte>(element + 2))); in read()
286 c.x = Float(Int(*Pointer<Byte>(element + 0))); in read()
287 c.y = Float(Int(*Pointer<Byte>(element + 1))); in read()
288 c.z = Float(Int(*Pointer<Byte>(element + 2))); in read()
[all …]
/third_party/lzma/CPP/Common/
DMyBuffer2.h12 Byte *_data;
24 operator Byte *() { return _data; }
25 operator const Byte *() const { return _data; }
35 _data = (Byte *)::MidAlloc(size); in Alloc()
51 _data = (Byte *)::MidAlloc(size); in AllocAtLeast()
61 Byte *_data;
76 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size); in CAlignedBuffer()
90 operator Byte *() { return _data; }
91 operator const Byte *() const { return _data; }
101 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size); in Alloc()
[all …]
/third_party/lzma/CPP/7zip/Common/
DInBuffer.h19 Byte *_buf;
20 Byte *_bufLim;
21 Byte *_bufBase;
30 bool ReadByte_FromNewBlock(Byte &b);
31 Byte ReadByte_FromNewBlock();
55 void SetBuf(Byte *buf, size_t bufSize, size_t end, size_t pos) in SetBuf()
72 bool ReadByte(Byte &b) in ReadByte()
81 bool ReadByte_FromBuf(Byte &b) in ReadByte_FromBuf()
90 Byte ReadByte() in ReadByte()
97 size_t ReadBytes(Byte *buf, size_t size);
/third_party/zlib/test/
Dexample.c37 void test_deflate OF((Byte *compr, uLong comprLen));
38 void test_inflate OF((Byte *compr, uLong comprLen,
39 Byte *uncompr, uLong uncomprLen));
40 void test_large_deflate OF((Byte *compr, uLong comprLen,
41 Byte *uncompr, uLong uncomprLen));
42 void test_large_inflate OF((Byte *compr, uLong comprLen,
43 Byte *uncompr, uLong uncomprLen));
44 void test_flush OF((Byte *compr, uLong *comprLen));
45 void test_sync OF((Byte *compr, uLong comprLen,
46 Byte *uncompr, uLong uncomprLen));
[all …]

12345678910>>...24