/third_party/mesa3d/src/imagination/vulkan/pds/ |
H A D | pvr_rogue_pds_encode.h | 71 uint32_t encoded = 0; in pvr_pds_inst_encode_stflp64() local 73 encoded |= PVR_ROGUE_PDSINST_OPCODEC_SFTLP64 in pvr_pds_inst_encode_stflp64() 75 encoded |= ((dst & PVR_ROGUE_PDSINST_REGS64TP_MASK) in pvr_pds_inst_encode_stflp64() 77 encoded |= ((src2 & PVR_ROGUE_PDSINST_REGS32_MASK) in pvr_pds_inst_encode_stflp64() 79 encoded |= ((src1 & PVR_ROGUE_PDSINST_REGS64TP_MASK) in pvr_pds_inst_encode_stflp64() 81 encoded |= ((src0 & PVR_ROGUE_PDSINST_REGS64TP_MASK) in pvr_pds_inst_encode_stflp64() 83 encoded |= ((im & 1U) << PVR_ROGUE_PDSINST_SFTLP64_IM_SHIFT); in pvr_pds_inst_encode_stflp64() 84 encoded |= ((lop & PVR_ROGUE_PDSINST_LOP_MASK) in pvr_pds_inst_encode_stflp64() 86 encoded |= ((cc & 1U) << PVR_ROGUE_PDSINST_SFTLP64_CC_SHIFT); in pvr_pds_inst_encode_stflp64() 88 PVR_PDS_PRINT_INST(encoded); in pvr_pds_inst_encode_stflp64() 123 uint32_t encoded = 0; pvr_pds_inst_encode_stflp32() local 155 uint32_t encoded = 0; pvr_pds_inst_encode_stm() local 205 uint32_t encoded = 0; pvr_rogue_inst_encode_mad() local 233 uint32_t encoded = 0; pvr_pds_inst_encode_add64() local 259 uint32_t encoded = 0; pvr_pds_inst_encode_add32() local 283 uint32_t encoded = 0; pvr_pds_inst_encode_cmp() local 307 uint32_t encoded = 0; pvr_pds_inst_encode_cmpi() local 331 uint32_t encoded = 0; pvr_pds_inst_encode_bra() local 350 uint32_t encoded = 0; pvr_pds_inst_encode_ld() local 365 uint32_t encoded = 0; pvr_pds_inst_encode_st() local 380 uint32_t encoded = 0; pvr_pds_inst_encode_wdf() local 397 uint32_t encoded = 0; pvr_pds_inst_encode_limm() local 417 uint32_t encoded = 0; pvr_pds_inst_encode_lock() local 432 uint32_t encoded = 0; pvr_pds_inst_encode_release() local 447 uint32_t encoded = 0; pvr_pds_inst_encode_halt() local 463 uint32_t encoded = 0; pvr_pds_inst_encode_stmc() local 494 uint32_t encoded = 0; pvr_pds_inst_encode_ddmad() local 520 uint32_t encoded = 0; pvr_pds_inst_encode_dout() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | lcldec.c | 172 unsigned char *encoded = avpkt->data, *outptr; in decode_frame() local 217 encoded = c->decomp_buf; in decode_frame() 226 encoded = c->decomp_buf; in decode_frame() 270 encoded = c->decomp_buf; in decode_frame() 290 encoded = c->decomp_buf; in decode_frame() 306 yq = encoded[pixel_ptr++]; in decode_frame() 307 uqvq = AV_RL16(encoded+pixel_ptr); in decode_frame() 310 encoded[pixel_ptr] = yq -= encoded[pixel_ptr]; in decode_frame() 311 uqvq -= AV_RL16(encoded in decode_frame() [all...] |
/third_party/node/test/parallel/ |
H A D | test-punycode.js | 72 encoded: 'egbpdaj6bu4bxfgehfvwxn', 79 encoded: 'ihqwcrb4cv8a8dqg056pqjye', 85 encoded: 'ihqwctvzc91f659drss3x8bo0yb', 91 encoded: 'Proprostnemluvesky-uyb24dma41a', 98 encoded: '4dbcagdahymbxekheh6e0a7fei0b', 105 encoded: 'i1baa7eci9glrd9b2ae1bj0hfcgg6iyaf8o0a1dig0cd', 113 encoded: 'n8jok5ay5dzabd5bym9f0cm5685rrjetr6pdxa', 120 encoded: '989aomsvi5e83db1d2a355cv1e0vak1dwrv93d5xbh15a0dt30a5jpsd879' + 129 encoded: 'b1abfaaepdrnnbgefbadotcwatmq2g4l', 137 encoded [all...] |
H A D | test-whatwg-encoding-custom-textdecoder-streaming.js | 26 const encoded = octets[encoding]; 29 for (let i = 0; i < encoded.length; i += len) { 31 for (let j = i; j < encoded.length && j < i + len; ++j) 32 sub.push(encoded[j]);
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | base64.c | 35 char encoded[MAX_ENCODED_SIZE]; in test_encode_decode() local 39 if (!av_base64_encode(encoded, MAX_ENCODED_SIZE, data, data_size)) { in test_encode_decode() 43 if (encoded_ref && strcmp(encoded, encoded_ref)) { in test_encode_decode() 44 printf("Failed: encoded string differs from reference\n" in test_encode_decode() 45 "Encoded:\n%s\nReference:\n%s\n", encoded, encoded_ref); in test_encode_decode() 49 if ((data2_size = av_base64_decode(data2, encoded, max_data2_size)) != data_size) { in test_encode_decode() 50 printf("Failed: cannot decode the encoded string\n" in test_encode_decode() 51 "Encoded:\n%s\n", encoded); in test_encode_decode() 54 if ((data2_size = av_base64_decode(data2, encoded, data_size)) != data_size) { in test_encode_decode() 56 "Encoded:\n%s\n", encoded); in test_encode_decode() [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | cbor_test.cc | 54 // the encoded unsigned int 7 (CBOR really encodes it as a single byte with in TEST() 120 // CBORTokenizer; this is interesting since 23 is encoded as a single byte. in TEST() 121 std::vector<uint8_t> encoded; in TEST() local 122 EncodeInt32(23, &encoded); in TEST() 125 EXPECT_THAT(encoded, ElementsAreArray(std::array<uint8_t, 1>{{23}})); in TEST() 128 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST() 137 // CBORTokenizer. This is different from Roundtrip23 because 42 is encoded in TEST() 139 std::vector<uint8_t> encoded; in TEST() local 140 EncodeInt32(42, &encoded); in TEST() 143 EXPECT_THAT(encoded, ElementsAreArra in TEST() 155 std::vector<uint8_t> encoded; TEST() local 175 std::vector<uint8_t> encoded; TEST() local 176 EncodeInt32(std::numeric_limits<int32_t>::max(), &encoded); TEST() local 196 std::vector<uint8_t> encoded; TEST() local 197 EncodeInt32(std::numeric_limits<int32_t>::min(), &encoded); TEST() local 222 std::vector<uint8_t> encoded; TEST() local 272 std::vector<uint8_t> encoded; TEST() local 299 std::vector<uint8_t> encoded; TEST() local 315 std::vector<uint8_t> encoded; TEST() local 316 EncodeString16(span<uint16_t>(), &encoded); TEST() local 350 std::vector<uint8_t> encoded; TEST() local 351 EncodeString16(span<uint16_t>(msg.data(), msg.size()), &encoded); TEST() local 385 std::vector<uint8_t> encoded; TEST() local 386 EncodeString16(span<uint16_t>(two_fifty.data(), two_fifty.size()), &encoded); TEST() local 436 std::vector<uint8_t> encoded; TEST() local 437 EncodeString8(SpanFrom(utf8_msg), &encoded); TEST() local 489 std::vector<uint8_t> encoded; TEST() local 490 EncodeFromLatin1(SpanFrom(latin1), &encoded); TEST() local 502 std::vector<uint8_t> encoded; TEST() local 503 EncodeFromUTF16(span<uint16_t>(ascii.data(), ascii.size()), &encoded); TEST() local 519 std::vector<uint8_t> encoded; TEST() local 520 EncodeFromUTF16(span<uint16_t>(msg.data(), msg.size()), &encoded); TEST() local 536 std::vector<uint8_t> encoded; TEST() local 537 EncodeBinary(span<uint8_t>(binary.data(), binary.size()), &encoded); TEST() local 583 std::vector<uint8_t> encoded; TEST() local 611 std::vector<uint8_t> encoded; TEST() local 697 std::vector<uint8_t> encoded; TEST() local 723 std::vector<uint8_t> encoded; TEST() local 784 std::vector<uint8_t> encoded; TEST() local 806 std::vector<uint8_t> encoded; TEST() local 1284 std::vector<uint8_t> encoded = { TYPED_TEST() local [all...] |
/third_party/python/Lib/email/ |
H A D | _encoded_words.py | 1 """ Routines for manipulating RFC2047 encoded words. 24 # cte_decoded_string is the original binary that was encoded using the 33 # sequence as its argument and returns the length of the resulting encoded 38 # RFC 2047 "chrome" to the encoded string, and can optionally automatically 67 def decode_q(encoded): 68 encoded = encoded.replace(b'_', b' ') 69 return _q_byte_subber(encoded), [] 72 # dict mapping bytes to their encoded form 100 def decode_b(encoded) [all...] |
H A D | quoprimime.py | 20 `encoded-word' in a header. This method is commonly used for 8-bit real names 91 :return: The length in bytes of the byte array when it is encoded with 101 :return: The length in bytes of the byte array when it is encoded with 142 encoded = header_bytes.decode('latin1').translate(_QUOPRI_HEADER_MAP) 143 # Now add the RFC chrome to each encoded chunk and glue the chunks 145 return '=?%s?q?%s?=' % (charset, encoded) 156 Each line of encoded text will end with eol, which defaults to "\\n". Set 232 def decode(encoded, eol=NL): 237 if not encoded: 238 return encoded [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_expand_name.c | 39 ares_status_t ares__expand_name_validated(const unsigned char *encoded, in ares__expand_name_validated() argument 48 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares__expand_name_validated() 52 if (encoded < abuf || encoded >= abuf + alen) { in ares__expand_name_validated() 69 status = ares__buf_set_position(buf, (size_t)(encoded - abuf)); in ares__expand_name_validated() 87 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, in ares_expand_name() argument 98 status = ares__expand_name_validated(encoded, abuf, (size_t)alen, s, in ares_expand_name() 106 ares_status_t ares__expand_name_for_response(const unsigned char *encoded, in ares__expand_name_for_response() argument 113 ares__expand_name_validated(encoded, abuf, alen, s, enclen, is_hostname); in ares__expand_name_for_response()
|
H A D | ares_expand_string.c | 39 /* Simply decodes a length-encoded character string. The first byte of the 44 ares_status_t ares_expand_string_ex(const unsigned char *encoded, in ares_expand_string_ex() argument 53 if (encoded == NULL || abuf == NULL || alen == 0 || enclen == NULL) { in ares_expand_string_ex() 57 if (encoded < abuf || encoded >= abuf + alen) { in ares_expand_string_ex() 74 status = ares__buf_set_position(buf, (size_t)(encoded - abuf)); in ares_expand_string_ex() 97 int ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, in ares_expand_string() argument 107 status = ares_expand_string_ex(encoded, abuf, (size_t)alen, s, &temp_enclen); in ares_expand_string()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | asm.py | 63 # Check the encoded slots 144 encoded = 0 208 encoded |= ((sr.encoded_flags | base) << sr.start) 212 encoded |= encode_dest(op) << 40 217 encoded |= (0xC0 << 40) 234 encoded |= (1 << src.offset[mod]) 239 encoded |= (val << src.offset['widen']) 244 encoded |= (val << src.offset['widen']) 249 encoded |= (val << src.offset['lane']) 254 encoded | [all...] |
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding_test.cc | 165 // CBORTokenizer; this is interesting since 23 is encoded as a single byte. in TEST() 166 std::vector<uint8_t> encoded; in TEST() local 167 EncodeInt32(23, &encoded); in TEST() 170 EXPECT_THAT(encoded, ElementsAreArray(std::array<uint8_t, 1>{{23}})); in TEST() 173 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST() 182 // CBORTokenizer. This is different from Roundtrip23 because 42 is encoded in TEST() 184 std::vector<uint8_t> encoded; in TEST() local 185 EncodeInt32(42, &encoded); in TEST() 188 EXPECT_THAT(encoded, ElementsAreArray(std::array<uint8_t, 2>{{24, 42}})); in TEST() 191 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST() 200 std::vector<uint8_t> encoded; TEST() local 220 std::vector<uint8_t> encoded; TEST() local 221 EncodeInt32(std::numeric_limits<int32_t>::max(), &encoded); TEST() local 241 std::vector<uint8_t> encoded; TEST() local 242 EncodeInt32(std::numeric_limits<int32_t>::min(), &encoded); TEST() local 267 std::vector<uint8_t> encoded; TEST() local 317 std::vector<uint8_t> encoded; TEST() local 344 std::vector<uint8_t> encoded; TEST() local 360 std::vector<uint8_t> encoded; TEST() local 361 EncodeString16(span<uint16_t>(), &encoded); TEST() local 395 std::vector<uint8_t> encoded; TEST() local 396 EncodeString16(span<uint16_t>(msg.data(), msg.size()), &encoded); TEST() local 430 std::vector<uint8_t> encoded; TEST() local 431 EncodeString16(span<uint16_t>(two_fifty.data(), two_fifty.size()), &encoded); TEST() local 481 std::vector<uint8_t> encoded; TEST() local 482 EncodeString8(SpanFrom(utf8_msg), &encoded); TEST() local 534 std::vector<uint8_t> encoded; TEST() local 535 EncodeFromLatin1(SpanFrom(latin1), &encoded); TEST() local 547 std::vector<uint8_t> encoded; TEST() local 548 EncodeFromUTF16(span<uint16_t>(ascii.data(), ascii.size()), &encoded); TEST() local 564 std::vector<uint8_t> encoded; TEST() local 565 EncodeFromUTF16(span<uint16_t>(msg.data(), msg.size()), &encoded); TEST() local 581 std::vector<uint8_t> encoded; TEST() local 582 EncodeBinary(span<uint8_t>(binary.data(), binary.size()), &encoded); TEST() local 628 std::vector<uint8_t> encoded; TEST() local 656 std::vector<uint8_t> encoded; TEST() local 680 std::vector<uint8_t> encoded; TEST() local 707 std::vector<uint8_t> encoded; TEST() local 769 std::vector<uint8_t> encoded; TEST() local 792 std::vector<uint8_t> encoded; TEST() local 1234 std::vector<uint8_t> encoded = { TYPED_TEST() local [all...] |
/third_party/python/Modules/ |
H A D | readline.c | 197 PyObject *encoded = encode(string); in readline_parse_and_bind() local 198 if (encoded == NULL) { in readline_parse_and_bind() 203 copy = PyMem_Malloc(1 + PyBytes_GET_SIZE(encoded)); in readline_parse_and_bind() 205 Py_DECREF(encoded); in readline_parse_and_bind() 208 strcpy(copy, PyBytes_AS_STRING(encoded)); in readline_parse_and_bind() 209 Py_DECREF(encoded); in readline_parse_and_bind() 563 PyObject *encoded = encode(string); in readline_set_completer_delims() local 564 if (encoded == NULL) { in readline_set_completer_delims() 570 break_chars = strdup(PyBytes_AS_STRING(encoded)); in readline_set_completer_delims() 571 Py_DECREF(encoded); in readline_set_completer_delims() 663 PyObject *encoded; readline_replace_history_item_impl() local 705 PyObject *encoded = encode(string); readline_add_history() local 918 PyObject *encoded = encode(string); readline_insert_text() local 1126 PyObject *encoded = encode(r); on_completion() local [all...] |
/third_party/rust/crates/rustix/tests/net/ |
H A D | addr.rs | 11 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode() variables 12 let len = SocketAddrAny::V4(orig).write(encoded.as_mut_ptr()); in encode_decode() 13 let decoded = SocketAddrAny::read(encoded.as_ptr(), len).unwrap(); in encode_decode() 17 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode() variables 18 let len = SocketAddrAny::V6(orig).write(encoded.as_mut_ptr()); in encode_decode() 19 let decoded = SocketAddrAny::read(encoded.as_ptr(), len).unwrap(); in encode_decode() 25 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode() variables 26 let len = SocketAddrAny::Unix(orig.clone()).write(encoded.as_mut_ptr()); in encode_decode() 27 let decoded = SocketAddrAny::read(encoded.as_ptr(), len).unwrap(); in encode_decode()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | encrypt.rs | 191 /// Note that the length of the output buffer can be greater of the length of the encoded data. 209 /// let mut encoded = vec![0u8; buffer_len]; 212 /// let encoded_len = encrypter.encrypt(&input, &mut encoded).unwrap(); 214 /// // Use only the part of the buffer with the encoded data 215 /// let encoded = &encoded[..encoded_len]; 501 let mut encoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt() variables 502 let encoded_len = encrypter.encrypt(&input, &mut encoded).unwrap(); in rsa_encrypt_decrypt() 503 let encoded = &encoded[ in rsa_encrypt_decrypt() 530 let mut encoded = vec![0u8; buffer_len]; rsa_encrypt_decrypt_with_sha256() variables 558 let mut encoded = vec![0u8; buffer_len]; rsa_encrypt_decrypt_oaep_label() variables [all...] |
/third_party/python/Python/ |
H A D | importdl.c | 34 * encoded as per PEP 489. 41 PyObject *encoded = NULL; in get_encoded_name() local 64 encoded = PyUnicode_AsEncodedString(name, "ascii", NULL); in get_encoded_name() 65 if (encoded != NULL) { in get_encoded_name() 70 encoded = PyUnicode_AsEncodedString(name, "punycode", NULL); in get_encoded_name() 71 if (encoded == NULL) { in get_encoded_name() 81 modname = _PyObject_CallMethod(encoded, &_Py_ID(replace), "cc", '-', '_'); in get_encoded_name() 86 Py_DECREF(encoded); in get_encoded_name() 90 Py_XDECREF(encoded); in get_encoded_name()
|
/third_party/openssl/test/ |
H A D | pemtest.c | 19 const char *encoded; member 41 const char *encoded = b64_pem_data[idx].encoded; in test_b64() local 45 || !TEST_true(BIO_printf(b, "%s\n", encoded)) in test_b64() 69 const char *encoded = b64_pem_data[0].encoded; in test_invalid() local 73 || !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded)) in test_invalid()
|
/third_party/mesa3d/src/asahi/lib/tests/ |
H A D | test-lod-clamps.cpp | 30 uint16_t encoded; member 54 ASSERT_EQ(__float_to_lod(lod_cases[i].f), lod_cases[i].encoded); in TEST_F() 64 memcpy(cl, &lod_cases[i].encoded, sizeof(lod_cases[i].encoded)); in TEST_F()
|
/third_party/skia/third_party/externals/brotli/go/cbrotli/ |
H A D | cbrotli_test.go | 259 encoded, _ := Encode(content, WriterOptions{Quality: 5}) 260 r := NewReader(bytes.NewReader(encoded)) 285 encoded, _ := Encode(content, WriterOptions{Quality: 5}) 286 decoded, err := Decode(encoded) 304 encoded, err := Encode(content, WriterOptions{Quality: 5}) 308 if len(encoded) == 0 { 312 enc := append([]byte{}, encoded...) 322 encoded, _ := Encode(content, WriterOptions{Quality: 5}) 323 _, err := Decode(append(encoded, 0)) 341 encoded, er [all...] |
/third_party/python/Lib/test/test_json/ |
H A D | test_dump.py | 74 encoded = self.dumps(l) 75 self.assertEqual(len(encoded), N * 3) 76 self.assertEqual(encoded[:1], "[") 77 self.assertEqual(encoded[-2:], "1]") 78 self.assertEqual(encoded[1:-2], "1, " * (N - 1))
|
/third_party/mesa3d/src/compiler/ |
H A D | glsl_types.cpp | 3112 union packed_type encoded; in encode_type_to_blob() local 3113 encoded.u32 = 0; in encode_type_to_blob() 3114 encoded.basic.base_type = type->base_type; in encode_type_to_blob() 3129 encoded.basic.interface_row_major = type->interface_row_major; in encode_type_to_blob() 3132 encoded.basic.vector_elements = type->vector_elements; in encode_type_to_blob() 3134 encoded.basic.vector_elements = 6; in encode_type_to_blob() 3136 encoded.basic.vector_elements = 7; in encode_type_to_blob() 3137 encoded.basic.matrix_columns = type->matrix_columns; in encode_type_to_blob() 3138 encoded.basic.explicit_stride = MIN2(type->explicit_stride, 0xffff); in encode_type_to_blob() 3139 encoded in encode_type_to_blob() 3218 union packed_type encoded; decode_type_from_blob() local [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | source-position-table.cc | 33 // Each byte is encoded as MoreBit | ValueBits. 63 unsigned_type encoded = static_cast<unsigned_type>(value); in EncodeInt() local 66 more = encoded > ValueBits::kMax; in EncodeInt() 68 MoreBit::encode(more) | ValueBits::encode(encoded & ValueBits::kMask); in EncodeInt() 70 encoded >>= ValueBits::kSize; in EncodeInt() 128 SourcePositionTableIterator* encoded) { in CheckTableEquals() 132 for (; !encoded->done(); encoded->Advance(), raw++) { in CheckTableEquals() 134 DCHECK_EQ(encoded->code_offset(), raw->code_offset); in CheckTableEquals() 135 DCHECK_EQ(encoded in CheckTableEquals() 127 CheckTableEquals(const ZoneVector<PositionTableEntry>& raw_entries, SourcePositionTableIterator* encoded) CheckTableEquals() argument [all...] |
/third_party/rust/crates/os_str_bytes/src/ |
H A D | pattern.rs | 48 let mut encoded = EncodedChar { in __encode() variables 52 encoded.length = self.encode_utf8(&mut encoded.buffer).len(); in __encode() 53 encoded in __encode()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | test_utils_test.cc | 41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]); in TestEncoding() local 42 for (; encoded; encoded <<= 8) { in TestEncoding() 43 uint8_t b = (encoded & 0xff000000) >> 24; in TestEncoding()
|
/third_party/python/Tools/scripts/ |
H A D | highlight.py | 249 encoded = raw_highlight(classified_text) variable 251 encoded = build_html_page(classified_text, title=sourcefile) variable 253 encoded = html_highlight(classified_text) variable 255 encoded = latex_highlight(classified_text, title=sourcefile) variable 257 encoded = ansi_highlight(classified_text) variable 262 f.write(encoded) 265 sys.stdout.write(encoded)
|