Home
last modified time | relevance | path

Searched defs:byte (Results 1 – 25 of 2899) sorted by relevance

12345678910>>...116

/aosp_15_r20/prebuilts/go/linux-x86/test/codegen/
Dmemcombine.go18 func load_le64(b []byte) uint64 {
27 func load_le64_idx(b []byte, idx int) uint64 {
36 func load_le32(b []byte) uint32 {
46 func load_le32_idx(b []byte, idx int) uint32 {
56 func load_le16(b []byte) uint16 {
65 func load_le16_idx(b []byte, idx int) uint16 {
74 func load_be64(b []byte) uint64 {
84 func load_be64_idx(b []byte, idx int) uint64 {
94 func load_be32(b []byte) uint32 {
104 func load_be32_idx(b []byte, idx int) uint32 {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/bytes/
Dbytes.go19 func Equal(a, b []byte) bool {
27 func Compare(a, b []byte) int {
33 func explode(s []byte, n int) [][]byte {
56 func Count(s, sep []byte) int {
76 func Contains(b, subslice []byte) bool {
81 func ContainsAny(b []byte, chars string) bool {
86 func ContainsRune(b []byte, r rune) bool {
91 func ContainsFunc(b []byte, f func(rune) bool) bool {
96 func IndexByte(b []byte, c byte) int {
100 func indexBytePortable(s []byte, c byte) int {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/types/testdata/fixedbugs/
Dissue51229.go12 func f00[S1 ~[]E1, S2 ~[]E2, E1 ~byte, E2 ~byte](S1, S2) {} argument
13 func f01[S2 ~[]E2, S1 ~[]E1, E1 ~byte, E2 ~byte](S1, S2) {} argument
14 func f02[E1 ~byte, S1 ~[]E1, S2 ~[]E2, E2 ~byte](S1, S2) {} argument
15 func f03[S1 ~[]E1, E1 ~byte, S2 ~[]E2, E2 ~byte](S1, S2) {} argument
16 func f04[S2 ~[]E2, E1 ~byte, S1 ~[]E1, E2 ~byte](S1, S2) {} argument
17 func f05[E1 ~byte, S2 ~[]E2, S1 ~[]E1, E2 ~byte](S1, S2) {} argument
18 func f06[E2 ~byte, S2 ~[]E2, S1 ~[]E1, E1 ~byte](S1, S2) {} argument
19 func f07[S2 ~[]E2, E2 ~byte, S1 ~[]E1, E1 ~byte](S1, S2) {} argument
20 func f08[S1 ~[]E1, E2 ~byte, S2 ~[]E2, E1 ~byte](S1, S2) {} argument
21 func f09[E2 ~byte, S1 ~[]E1, S2 ~[]E2, E1 ~byte](S1, S2) {} argument
[all …]
/aosp_15_r20/external/tink/testing/go/
H A Dservices_test.go40 func genKeyset(ctx context.Context, keysetService *services.KeysetService, template []byte) ([]byte…
56 func pubKeyset(ctx context.Context, keysetService *services.KeysetService, privateKeyset []byte) ([…
88 func keysetToJSON(ctx context.Context, keysetService *services.KeysetService, keyset []byte) (strin…
178 …Context, keysetService *services.KeysetService, keyset []byte, masterKeyset []byte, associatedData…
208 …xt, keysetService *services.KeysetService, encryptedKeyset []byte, masterKeyset []byte, associated…
371 …text.Context, aeadService *services.AEADService, keyset []byte, plaintext []byte, associatedData […
391 …text.Context, aeadService *services.AEADService, keyset []byte, ciphertext []byte, associatedData …
488 …daeadService *services.DeterministicAEADService, keyset []byte, plaintext []byte, associatedData […
508 …daeadService *services.DeterministicAEADService, keyset []byte, ciphertext []byte, associatedData …
616 …amingAEADService *services.StreamingAEADService, keyset []byte, plaintext []byte, associatedData […
[all …]
/aosp_15_r20/external/flatbuffers/go/
H A Dencode.go22 func GetByte(buf []byte) byte {
27 func GetBool(buf []byte) bool {
32 func GetUint8(buf []byte) (n uint8) {
38 func GetUint16(buf []byte) (n uint16) {
46 func GetUint32(buf []byte) (n uint32) {
56 func GetUint64(buf []byte) (n uint64) {
70 func GetInt8(buf []byte) (n int8) {
76 func GetInt16(buf []byte) (n int16) {
84 func GetInt32(buf []byte) (n int32) {
94 func GetInt64(buf []byte) (n int64) {
[all …]
/aosp_15_r20/external/golang-protobuf/internal/impl/
H A Dcodec_gen.go24 func appendBool(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
32 func consumeBool(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions…
74 func appendBoolNoZero(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
100 func appendBoolPtr(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
108 func consumeBoolPtr(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOpti…
152 func appendBoolSlice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
162 func consumeBoolSlice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOp…
235 func appendBoolPackedSlice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, er…
265 func appendBoolValue(b []byte, v protoreflect.Value, wiretag uint64, opts marshalOptions) ([]byte, …
272 func consumeBoolValue(b []byte, _ protoreflect.Value, _ protowire.Number, wtyp protowire.Type, opts…
[all …]
H A Dcodec_field.go235 func appendMessageInfo(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error)…
241 func consumeMessageInfo(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshal…
269 func appendMessage(b []byte, m proto.Message, wiretag uint64, opts marshalOptions) ([]byte, error) {
275 func consumeMessage(b []byte, m proto.Message, wtyp protowire.Type, opts unmarshalOptions) (out unm…
300 func appendMessageValue(b []byte, v protoreflect.Value, wiretag uint64, opts marshalOptions) ([]byt…
305 func consumeMessageValue(b []byte, v protoreflect.Value, _ protowire.Number, wtyp protowire.Type, o…
329 func appendGroupValue(b []byte, v protoreflect.Value, wiretag uint64, opts marshalOptions) ([]byte,…
334 func consumeGroupValue(b []byte, v protoreflect.Value, num protowire.Number, wtyp protowire.Type, o…
391 func appendGroupType(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
398 func consumeGroupType(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOp…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/json/
Dscanner.go22 func Valid(data []byte) bool {
31 func checkValid(data []byte, scan *scanner) error {
199 func isSpace(c byte) bool {
204 func stateBeginValueOrEmpty(s *scanner, c byte) int {
215 func stateBeginValue(s *scanner, c byte) int {
253 func stateBeginStringOrEmpty(s *scanner, c byte) int {
266 func stateBeginString(s *scanner, c byte) int {
279 func stateEndValue(s *scanner, c byte) int {
328 func stateEndTop(s *scanner, c byte) int {
337 func stateInString(s *scanner, c byte) int {
[all …]
/aosp_15_r20/external/golang-protobuf/reflect/protoreflect/
H A Dsource_gen.go9 func (p *SourcePath) appendFileDescriptorProto(b []byte) []byte {
44 func (p *SourcePath) appendDescriptorProto(b []byte) []byte {
73 func (p *SourcePath) appendEnumDescriptorProto(b []byte) []byte {
92 func (p *SourcePath) appendServiceDescriptorProto(b []byte) []byte {
107 func (p *SourcePath) appendFieldDescriptorProto(b []byte) []byte {
138 func (p *SourcePath) appendFileOptions(b []byte) []byte {
189 func (p *SourcePath) appendSourceCodeInfo(b []byte) []byte {
200 func (p *SourcePath) appendDescriptorProto_ExtensionRange(b []byte) []byte {
215 func (p *SourcePath) appendOneofDescriptorProto(b []byte) []byte {
228 func (p *SourcePath) appendMessageOptions(b []byte) []byte {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/html/template/
Dtransition.go51 func tText(c context, s []byte) (context, int) {
89 func tTag(c context, s []byte) (context, int) {
138 func tAttrName(c context, s []byte) (context, int) {
149 func tAfterName(c context, s []byte) (context, int) {
174 func tBeforeValue(c context, s []byte) (context, int) {
192 func tHTMLCmt(c context, s []byte) (context, int) {
215 func tSpecialTagEnd(c context, s []byte) (context, int) {
230 func indexTagEnd(s []byte, tag []byte) int {
255 func tAttr(c context, s []byte) (context, int) {
260 func tURL(c context, s []byte) (context, int) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/internal/mlkem768/
Dmlkem768.go128 func NewKeyFromSeed(seed []byte) (*DecapsulationKey, error) {
134 func newKeyFromSeed(dk *DecapsulationKey, seed []byte) (*DecapsulationKey, error) {
145 func NewKeyFromExtendedEncoding(decapsulationKey []byte) (*DecapsulationKey, error) {
151 func newKeyFromExtendedEncoding(dk *DecapsulationKey, dkBytes []byte) (*DecapsulationKey, error) {
179 func kemKeyGen(dk *DecapsulationKey, d, z *[32]byte) *DecapsulationKey {
250 func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
256 func encapsulate(cc *[CiphertextSize]byte, encapsulationKey []byte) (ciphertext, sharedKey []byte, …
270 func kemEncaps(cc *[CiphertextSize]byte, ek []byte, m *[messageSize]byte) (c, K []byte, err error) {
293 func parseEK(ex *encryptionKey, ekPKE []byte) error {
323 func pkeEncrypt(cc *[CiphertextSize]byte, ex *encryptionKey, m *[messageSize]byte, rnd []byte) []by…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/typecheck/_builtin/
Druntime.go18 func newobject(typ *byte) *any
19 func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer
68 func concatstring2(*[32]byte, string, string) string
69 func concatstring3(*[32]byte, string, string, string) string
70 func concatstring4(*[32]byte, string, string, string, string) string
71 func concatstring5(*[32]byte, string, string, string, string, string) string
72 func concatstrings(*[32]byte, []string) string
75 func intstring(*[4]byte, int64) string
76 func slicebytetostring(buf *[32]byte, ptr *byte, n int) string
77 func slicebytetostringtmp(ptr *byte, n int) string
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/byteorder/
Dbyteorder.go9 func LeUint16(b []byte) uint16 {
14 func LePutUint16(b []byte, v uint16) {
20 func LeAppendUint16(b []byte, v uint16) []byte {
27 func LeUint32(b []byte) uint32 {
32 func LePutUint32(b []byte, v uint32) {
40 func LeAppendUint32(b []byte, v uint32) []byte {
49 func LeUint64(b []byte) uint64 {
55 func LePutUint64(b []byte, v uint64) {
67 func LeAppendUint64(b []byte, v uint64) []byte {
80 func BeUint16(b []byte) uint16 {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/fuzz/
Dmutators_byteslice.go8 func byteSliceRemoveBytes(m *mutator, b []byte) []byte {
21 func byteSliceInsertRandomBytes(m *mutator, b []byte) []byte {
37 func byteSliceDuplicateBytes(m *mutator, b []byte) []byte {
70 func byteSliceOverwriteBytes(m *mutator, b []byte) []byte {
85 func byteSliceBitFlip(m *mutator, b []byte) []byte {
95 func byteSliceXORByte(m *mutator, b []byte) []byte {
108 func byteSliceSwapByte(m *mutator, b []byte) []byte {
122 func byteSliceArithmeticUint8(m *mutator, b []byte) []byte {
137 func byteSliceArithmeticUint16(m *mutator, b []byte) []byte {
152 func byteSliceArithmeticUint32(m *mutator, b []byte) []byte {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/asn1/
Dasn1.go54 func parseBool(bytes []byte) (ret bool, err error) {
79 func checkInteger(bytes []byte) error {
94 func parseInt64(bytes []byte) (ret int64, err error) {
117 func parseInt32(bytes []byte) (int32, error) {
135 func parseBigInt(bytes []byte) (*big.Int, error) {
195 func parseBitString(bytes []byte) (ret BitString, err error) {
257 func parseObjectIdentifier(bytes []byte) (s ObjectIdentifier, err error) {
307 func parseBase128Int(bytes []byte, initOffset int) (ret, offset int, err error) {
342 func parseUTCTime(bytes []byte) (ret time.Time, err error) {
370 func parseGeneralizedTime(bytes []byte) (ret time.Time, err error) {
[all …]
Dmarshal.go28 Encode(dst []byte)
37 func (c byteEncoder) Encode(dst []byte) {
47 func (b bytesEncoder) Encode(dst []byte) {
59 func (s stringEncoder) Encode(dst []byte) {
75 func (m multiEncoder) Encode(dst []byte) {
93 func (s setEncoder) Encode(dst []byte) {
158 func (i int64Encoder) Encode(dst []byte) {
179 func appendBase128Int(dst []byte, n int64) []byte {
229 func appendLength(dst []byte, i int) []byte {
248 func appendTagAndLength(dst []byte, t tagAndLength) []byte {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/internal/boring/
Dnotboring.go33 func (randReader) Read(b []byte) (int, error) { panic("boringcrypto: not available") }
43 func SHA1([]byte) [20]byte { panic("boringcrypto: not available") }
44 func SHA224([]byte) [28]byte { panic("boringcrypto: not available") }
45 func SHA256([]byte) [32]byte { panic("boringcrypto: not available") }
46 func SHA384([]byte) [48]byte { panic("boringcrypto: not available") }
47 func SHA512([]byte) [64]byte { panic("boringcrypto: not available") }
49 func NewHMAC(h func() hash.Hash, key []byte) hash.Hash { panic("boringcrypto: not available") }
51 func NewAESCipher(key []byte) (cipher.Block, error) { panic("boringcrypto: not available") }
66 func SignMarshalECDSA(priv *PrivateKeyECDSA, hash []byte) ([]byte, error) {
69 func VerifyECDSA(pub *PublicKeyECDSA, hash []byte, sig []byte) bool {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/test/testdata/
Dcopy_test.go14 func t1copy_ssa(y, x *[1]byte) {
34 func t2copy_ssa(y, x *[2]byte) {
54 func t3copy_ssa(y, x *[3]byte) {
74 func t4copy_ssa(y, x *[4]byte) {
94 func t5copy_ssa(y, x *[5]byte) {
114 func t6copy_ssa(y, x *[6]byte) {
134 func t7copy_ssa(y, x *[7]byte) {
154 func t8copy_ssa(y, x *[8]byte) {
174 func t9copy_ssa(y, x *[9]byte) {
194 func t10copy_ssa(y, x *[10]byte) {
[all …]
/aosp_15_r20/external/golang-protobuf/encoding/protowire/
H A Dwire.go94 func ConsumeField(b []byte) (Number, Type, int) {
112 func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) {
116 func consumeFieldValueD(num Number, typ Type, b []byte, depth int) (n int) {
162 func AppendTag(b []byte, num Number, typ Type) []byte {
168 func ConsumeTag(b []byte) (Number, Type, int) {
185 func AppendVarint(b []byte, v uint64) []byte {
267 func ConsumeVarint(b []byte) (v uint64, n int) {
378 func AppendFixed32(b []byte, v uint32) []byte {
388 func ConsumeFixed32(b []byte) (v uint32, n int) {
402 func AppendFixed64(b []byte, v uint64) []byte {
[all …]
/aosp_15_r20/external/golang-protobuf/internal/filedesc/
H A Ddesc_lazy.go131 func (fd *File) unmarshalFull(b []byte) {
185 func (ed *Enum) unmarshalFull(b []byte, sb *strs.Builder) {
222 func unmarshalEnumReservedRange(b []byte) (r [2]protoreflect.EnumNumber) {
244 func (vd *EnumValue) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor…
279 func (md *Message) unmarshalFull(b []byte, sb *strs.Builder) {
341 func (md *Message) unmarshalOptions(b []byte) {
362 func unmarshalMessageReservedRange(b []byte) (r [2]protoreflect.FieldNumber) {
384 func unmarshalMessageExtensionRange(b []byte) (r [2]protoreflect.FieldNumber, rawOptions []byte) {
413 func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i …
480 func (fd *Field) unmarshalOptions(b []byte) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/hash/fnv/
Dfnv.go100 func (s *sum32) Write(data []byte) (int, error) {
110 func (s *sum32a) Write(data []byte) (int, error) {
120 func (s *sum64) Write(data []byte) (int, error) {
130 func (s *sum64a) Write(data []byte) (int, error) {
140 func (s *sum128) Write(data []byte) (int, error) {
153 func (s *sum128a) Write(data []byte) (int, error) {
180 func (s *sum32) Sum(in []byte) []byte {
185 func (s *sum32a) Sum(in []byte) []byte {
190 func (s *sum64) Sum(in []byte) []byte {
195 func (s *sum64a) Sum(in []byte) []byte {
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/
H A Dtestmodulewrapper.go56 func flush(args [][]byte) error {
69 func getConfig(args [][]byte) error {
178 func kdfCounter(args [][]byte) error {
224 func reply(responses ...[]byte) error {
249 func xtsEncrypt(args [][]byte) error {
253 func xtsDecrypt(args [][]byte) error {
257 func doXTS(args [][]byte, decrypt bool) error {
293 func hkdfMAC(args [][]byte) error {
316 func hmacDRBGReseed(args [][]byte) error {
337 func hmacDRBGPredictionResistance(args [][]byte) error {
[all …]
/aosp_15_r20/external/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/
H A Dtestmodulewrapper.go56 func flush(args [][]byte) error {
69 func getConfig(args [][]byte) error {
178 func kdfCounter(args [][]byte) error {
224 func reply(responses ...[]byte) error {
249 func xtsEncrypt(args [][]byte) error {
253 func xtsDecrypt(args [][]byte) error {
257 func doXTS(args [][]byte, decrypt bool) error {
293 func hkdfMAC(args [][]byte) error {
316 func hmacDRBGReseed(args [][]byte) error {
337 func hmacDRBGPredictionResistance(args [][]byte) error {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/strconv/
Dquote.go19 func contains(s string, c byte) bool {
23 func quoteWith(s string, quote byte, ASCIIonly, graphicOnly bool) string {
27 func quoteRuneWith(r rune, quote byte, ASCIIonly, graphicOnly bool) string {
31 func appendQuotedWith(buf []byte, s string, quote byte, ASCIIonly, graphicOnly bool) []byte {
58 func appendQuotedRuneWith(buf []byte, r rune, quote byte, ASCIIonly, graphicOnly bool) []byte {
68 func appendEscapedRune(buf []byte, r rune, quote byte, ASCIIonly, graphicOnly bool) []byte {
131 func AppendQuote(dst []byte, s string) []byte {
144 func AppendQuoteToASCII(dst []byte, s string) []byte {
158 func AppendQuoteToGraphic(dst []byte, s string) []byte {
173 func AppendQuoteRune(dst []byte, r rune) []byte {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/test/
Dmethod5.go14 M(int, byte) (byte, int) argument
19 func (v Tsmallv) M(x int, b byte) (byte, int) { return b, x+int(v) }
23 func (p *Tsmallp) M(x int, b byte) (byte, int) { return b, x+int(*p) }
27 func (v Twordv) M(x int, b byte) (byte, int) { return b, x+int(v) }
31 func (p *Twordp) M(x int, b byte) (byte, int) { return b, x+int(*p) }
35 func (v Tbigv) M(x int, b byte) (byte, int) { return b, x+int(v[0])+int(v[1]) }
39 func (p *Tbigp) M(x int, b byte) (byte, int) { return b, x+int(p[0])+int(p[1]) }
45 func (v tsmallv) m(x int, b byte) (byte, int) { return b, x+int(v) }
49 func (p *tsmallp) m(x int, b byte) (byte, int) { return b, x+int(*p) }
53 func (v twordv) m(x int, b byte) (byte, int) { return b, x+int(v) }
[all …]

12345678910>>...116