| /freebsd/crypto/openssl/crypto/comp/ |
| H A D | c_brotli.c | 30 # include <brotli/encode.h> 401 } encode; member 461 ctx->encode.bufsize = BROTLI_DEFAULT_BUFSIZE; in bio_brotli_new() 462 ctx->encode.state = BrotliEncoderCreateInstance(brotli_alloc, brotli_free, NULL); in bio_brotli_new() 463 if (ctx->encode.state == NULL) in bio_brotli_new() 465 ctx->encode.mode = BROTLI_DEFAULT_MODE; in bio_brotli_new() 474 BrotliEncoderDestroyInstance(ctx->encode.state); in bio_brotli_new() 490 BrotliEncoderDestroyInstance(ctx->encode.state); in bio_brotli_free() 491 OPENSSL_free(ctx->encode.buf); in bio_brotli_free() 590 if (ctx->encode.done) in bio_brotli_write() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
| H A D | fastfind.c | 203 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); in findopen() 204 if (!eaccess(fp->encode.file, R_OK|W_OK)) in findopen() 206 path = fp->encode.file; in findopen() 209 if (strchr(findnames[k], '/') && (b = strrchr(fp->encode.file, '/'))) in findopen() 212 if (!stat(fp->encode.file, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) in findopen() 215 path = fp->encode.file; in findopen() 225 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen() 226 path = fp->encode.file; in findopen() 232 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen() 233 if (b = strrchr(fp->encode.file, '/')) in findopen() [all …]
|
| /freebsd/contrib/processor-trace/libipt/internal/include/ |
| H A D | pt_encoder.h | 57 /* Encode a Padding (pad) packet. */ 60 /* Encode a Packet Stream Boundary (psb) packet. */ 63 /* Encode an End PSB (psbend) packet. */ 66 /* Encode a Target Instruction Pointer (tip) packet. */ 70 /* Encode a Taken Not Taken (tnt) packet - 8-bit version. */ 73 /* Encode a Taken Not Taken (tnt) packet - 64-bit version. */ 76 /* Encode a Packet Generation Enable (tip.pge) packet. */ 80 /* Encode a Packet Generation Disable (tip.pgd) packet. */ 84 /* Encode a Flow Update Packet (fup). */ 88 /* Encode a Paging Information Packet (pip). */ [all …]
|
| /freebsd/crypto/heimdal/appl/gssmask/ |
| H A D | protocol.h | 158 * length-encode: plaintext 161 * length-encode: ciphertext 169 * length-encode: ciphertext 172 * length-encode: plaintext 182 * length-encode: message 183 * length-encode: signature 256 * length-encode: certificate (pkcs12 data) 268 * length-encode: protocol header 269 * length-encode: plaintext 270 * length-encode: protocol trailer [all …]
|
| /illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/ |
| H A D | test_mbmarshal.c | 52 printf("Fail: mbm_put_a0 encode\n"); in mbm_put_a0() 87 printf("Fail: mbm_put_a1 encode\n"); in mbm_put_a1() 117 /* Encode with wire length > strlen */ in mbm_put_apad() 120 printf("Fail: mbm_put_apad encode\n"); in mbm_put_apad() 150 /* Encode with wire length < strlen */ in mbm_put_atrunc1() 153 printf("Fail: mbm_put_atrunc1 encode\n"); in mbm_put_atrunc1() 184 /* Encode with wire length < strlen */ in mbm_put_atrunc2() 187 printf("Fail: mbm_put_atrunc2 encode rc=%d\n", rc); in mbm_put_atrunc2() 223 printf("Fail: mbm_put_u0 encode\n"); in mbm_put_u0() 258 printf("Fail: mbm_put_u1 encode\n"); in mbm_put_u1() [all …]
|
| H A D | test_msgbuf.c | 51 printf("Fail: msg_put_a0 encode\n"); in msg_put_a0() 83 printf("Fail: msg_put_a1 encode\n"); in msg_put_a1() 110 /* Encode with wire length > strlen */ in msg_put_apad() 113 printf("Fail: msg_put_apad encode\n"); in msg_put_apad() 140 /* Encode with wire length < strlen */ in msg_put_atrunc1() 144 printf("Fail: msg_put_atrunc1 encode\n"); in msg_put_atrunc1() 172 /* Encode with wire length < strlen */ in msg_put_atrunc2() 176 printf("Fail: msg_put_atrunc2 encode rc=%d\n", rc); in msg_put_atrunc2() 208 printf("Fail: msg_put_u0 encode\n"); in msg_put_u0() 240 printf("Fail: msg_put_u1 encode\n"); in msg_put_u1() [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | cms-examples.pl | 36 [ "3.2.bin" => "encode, dataout" ], 37 [ "4.1.bin" => "encode, verifyder, cont, dss" ], 38 [ "4.2.bin" => "encode, verifyder, cont, rsa" ], 39 [ "4.3.bin" => "encode, verifyder, cont_extern, dss" ], 40 [ "4.4.bin" => "encode, verifyder, cont, dss" ], 42 [ "4.6.bin" => "encode, verifyder, cont, dss" ], 43 [ "4.7.bin" => "encode, verifyder, cont, dss" ], 46 [ "4.10.bin" => "encode, verifyder, cont, dss" ], 47 [ "4.11.bin" => "encode, certsout" ], 48 [ "5.1.bin" => "encode, envelopeder, cont" ], [all …]
|
| /freebsd/contrib/libc-vis/ |
| H A D | vis.h | 46 * to alter set of characters encoded (default is to encode all 49 #define VIS_SP 0x0004 /* also encode space */ 50 #define VIS_TAB 0x0008 /* also encode tab */ 51 #define VIS_NL 0x0010 /* also encode newline */ 53 #define VIS_SAFE 0x0020 /* only encode "unsafe" characters */ 54 #define VIS_DQ 0x8000 /* also encode double quotes */ 62 #define VIS_GLOB 0x0100 /* encode glob(3) magic characters */ 67 #define VIS_SHELL 0x2000 /* encode shell special characters [not glob] */ 69 #define VIS_NOLOCALE 0x4000 /* encode using the C locale */
|
| H A D | vis.3 | 51 .Nd visually encode characters 131 functions encode characters from 140 functions encode exactly 246 Also encode double quotes 248 Also encode the magic characters 257 Also encode the meta characters used by shells (in addition to the glob 277 Also encode space. 279 Also encode tab. 281 Also encode newline. 289 Only encode
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | DataEncoder.h | 29 /// DataEncoder is a class that can encode binary data (swapping if needed) to 87 /// Encode an unsigned integer of size \a byte_size to \a offset. 89 /// Encode a single integer value at \a offset and return the offset that 99 /// The size in byte of the integer to encode. 111 /// Encode an unsigned integer at offset \a offset. 113 /// Encode a single unsigned integer value at \a offset and return the offset 177 /// Encode an arbitrary number of bytes. 184 /// The buffer that contains the bytes to encode. 187 /// The number of bytes to encode. 194 /// Encode a [all...] |
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | vis.h | 53 * to alter set of characters encoded (default is to encode all 56 #define VIS_SP 0x04 /* also encode space */ 57 #define VIS_TAB 0x08 /* also encode tab */ 58 #define VIS_NL 0x10 /* also encode newline */ 60 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */ 62 #define VIS_ALL 0x400 /* encode all characters */ 68 #define VIS_GLOB 0x100 /* encode glob(3) magics and '#' */
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | json_enc.h | 55 * Generally the caller should encode only a single output item (e.g. a JSON 188 * Encode a JSON key within an object. Pass a zero-terminated string, which can 193 /* Encode a JSON 'null' value. */ 196 /* Encode a JSON boolean value. */ 199 /* Encode a JSON integer from a uint64_t. */ 202 /* Encode a JSON integer from an int64_t. */ 206 * Encode a JSON UTF-8 string from a zero-terminated string. The string passed 212 * Encode a JSON UTF-8 string from a string with the given length. The string 218 * Encode binary data as a lowercase hex string. data_len is the data length in
|
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_srv_readdir.c | 67 * sizeof bitmap4_len (12 bytes) + NOTE: we always encode len=2 bm4 351 /* For use later on attr encode */ in rfs4_get_sb_encode() 606 /* ENCODE READDIR4res.cookieverf */ in rfs4_op_readdir() 659 /* encode the BOOLEAN marking no further entries */ in rfs4_op_readdir() 661 /* encode the BOOLEAN signifying end of directory */ in rfs4_op_readdir() 738 /* Remove attrs from encode */ in rfs4_op_readdir() 763 /* encode the BOOLEAN for the existence of the next entry */ in rfs4_op_readdir() 765 /* encode the COOKIE for the entry */ in rfs4_op_readdir() 786 /* encode the LENGTH of the name */ in rfs4_op_readdir() 788 /* encode the RNDUP FILL first */ in rfs4_op_readdir() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | SourceLocationEncoding.h | 9 // We wish to encode the SourceLocation from other module file not dependent 15 // To achieve this, we need to encode the index of the module file into the 28 // Specially, if the index of the module file is 0, we allow to encode a 62 static RawLocEncoding encode(SourceLocation Loc, UIntTy BaseOffset, 86 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq)); 92 /// Record.push_back(SourceLocationEncoding::encode(SomeLoc, Seq)); 139 EncodedTy encode(SourceLocation Loc) { in encode() function 162 SourceLocationEncoding::encode(SourceLocation Loc, UIntTy BaseOffset, in encode() function 168 return Seq ? Seq->encode(Loc) : encodeRaw(Loc.getRawEncoding()); in encode()
|
| /freebsd/contrib/openbsm/compat/ |
| H A D | vis.h | 45 * to alter set of characters encoded (default is to encode all 48 #define VIS_SP 0x04 /* also encode space */ 49 #define VIS_TAB 0x08 /* also encode tab */ 50 #define VIS_NL 0x10 /* also encode newline */ 52 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */ 59 #define VIS_GLOB 0x100 /* encode glob(3) magics */ 78 * vis - visually encode characters
|
| /illumos-gate/usr/src/man/man3elf/ |
| H A D | elf32_xlatetof.3elf | 17 \fBunsigned\fR \fIencode\fR); 23 \fBunsigned\fR \fIencode\fR); 29 \fBunsigned\fR \fIencode\fR); 35 \fBunsigned\fR \fIencode\fR); 46 destination buffer that will hold the translated copy. \fIencode\fR gives the
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FunctionInfo.h | 93 /// If we encode a FunctionInfo during segmenting so we know its size, we can 94 /// cache that encoding here so we don't need to re-encode it when saving the 115 /// tables that do not encode symbol sizes. In that case only the 138 /// Encode this object into FileWriter stream. 145 llvm::Expected<uint64_t> encode(FileWriter &O) const; 147 /// Encode this function info into the internal byte cache and return the size 151 /// encode into so we can generate segments of the right size. We don't want 152 /// to have to encode a FunctionInfo twice, so we can cache the encoded bytes 153 /// and re-use then when calling FunctionInfo::encode(...).
|
| /freebsd/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa.c | 211 * @brief Encode a message 217 * @param msg A message to encode 221 * @param encode Use the Pure signature encoding if this is 1, and dont encode 228 * otherwise it allocates memory which must be freed by the caller. If |encode| 232 const uint8_t *ctx, size_t ctx_len, int encode, in msg_encode() argument 238 if (encode == 0) { in msg_encode() 270 const uint8_t *add_rand, int encode, in ossl_slh_dsa_sign() argument 278 m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp), in ossl_slh_dsa_sign() 295 const uint8_t *ctx, size_t ctx_len, int encode, in ossl_slh_dsa_verify() argument 303 m = msg_encode(msg, msg_len, ctx, ctx_len, encode, m_tmp, sizeof(m_tmp), in ossl_slh_dsa_verify()
|
| /freebsd/contrib/wpa/wpa_supplicant/examples/ |
| H A D | p2p-nfc.py | 81 cmd = "WPS_NFC_TAG_READ " + str(message).encode("hex") 136 …cmd = "NFC_REPORT_HANDOVER " + type + " P2P " + str(req).encode("hex") + " " + str(sel).encode("he… 147 …cmd = "NFC_REPORT_HANDOVER " + type + " WPS " + str(req).encode("hex") + " " + str(sel).encode("he… 163 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex")) 186 print(str(message).encode("hex")) 225 print(str(message).encode("hex")) 312 print(data.encode("hex")) 342 print(data.encode("hex")) 360 print(str(sel).encode("hex")) 448 print(str(p2p_sel_data).encode("hex"))
|
| /freebsd/crypto/openssl/crypto/ml_dsa/ |
| H A D | ml_dsa_sign.c | 308 * @brief Encode a message 316 * @param msg A message to encode 320 * @param encode Use the Pure signature encoding if this is 1, and dont encode 327 * otherwise it allocates memory which must be freed by the caller. If |encode| 331 const uint8_t *ctx, size_t ctx_len, int encode, in msg_encode() argument 337 if (encode == 0) { in msg_encode() 370 const uint8_t *rand, size_t rand_len, int encode, in ossl_ml_dsa_sign() argument 386 m = msg_encode(msg, msg_len, context, context_len, encode, in ossl_ml_dsa_sign() 407 const uint8_t *context, size_t context_len, int encode, in ossl_ml_dsa_verify() argument 422 m = msg_encode(msg, msg_len, context, context_len, encode, in ossl_ml_dsa_verify()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | ManualDWARFIndex.cpp | 611 void ManualDWARFIndex::IndexSet::Encode(DataEncoder &encoder) const { in Encode() function in ManualDWARFIndex::IndexSet 621 // Encode the data version. in Encode() 626 function_basenames.Encode(index_encoder, strtab); in Encode() 630 function_fullnames.Encode(index_encoder, strtab); in Encode() 634 function_methods.Encode(index_encoder, strtab); in Encode() 638 function_selectors.Encode(index_encoder, strtab); in Encode() 642 objc_class_selectors.Encode(index_encoder, strtab); in Encode() 646 globals.Encode(index_encoder, strtab); in Encode() 650 types.Encode(index_encoder, strtab); in Encode() 654 namespaces.Encode(index_encoder, strtab); in Encode() [all …]
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
| H A D | token.c | 168 /* Encode the tag */ in __make_ap_token() 170 /* Encode the app length */ in __make_ap_token() 173 /* Encode the OID tag */ in __make_ap_token() 175 /* Encode the OID length */ in __make_ap_token() 177 /* Encode the OID elemeents */ in __make_ap_token() 180 /* Encode the Diffie-Hellmam token */ in __make_ap_token() 212 dh_token_t token, /* The token to encode */ in __make_token() 243 /* Encode the token */ in __make_token() 324 * tag (0x60) and the bytes necessary to encode the length of the in __get_ap_token() 333 /* Get OID length and the number of bytes that to encode it */ in __get_ap_token() [all …]
|
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | vis.hin | 58 * to alter set of characters encoded (default is to encode all 61 #define VIS_SP 0x04 /* also encode space */ 62 #define VIS_TAB 0x08 /* also encode tab */ 63 #define VIS_NL 0x10 /* also encode newline */ 65 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */
|
| /illumos-gate/usr/src/cmd/sgs/libelf/common/ |
| H A D | update.c | 467 unsigned encode; in wrt() local 472 * If this is an ELF_C_WRIMAGE write, then we encode into the in wrt() 482 encode = (update_cmd == ELF_C_WRIMAGE) ? _elf_sys_encoding() : in wrt() 541 if (elf_xlatetof(&dst, &src, encode) == 0) in wrt() 566 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt() 656 if (elf_xlatetof(&dst, &d->db_data, encode) == 0) { in wrt() 685 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt() 815 unsigned encode; in _elfxx_update() local 817 ELFACCESSDATA(encode, _elf_encode) in _elfxx_update() 818 if (encode == ELFDATANONE) { in _elfxx_update() [all …]
|
| /freebsd/contrib/bc/manuals/ |
| H A D | bcl.3 | 570 All functions that can return a \f[B]BclNumber\f[R] can encode an error 590 bcl(3) will encode an error in the return value, if there was one. 657 bcl(3) will encode an error in the return value, if there was one. 728 bcl(3) will encode an error in the return value, if there was one. 764 bcl(3) will encode an error in the return value, if there was one. 783 bcl(3) will encode an error in the return value, if there was one. 806 bcl(3) will encode an error in the return value, if there was one. 825 bcl(3) will encode an error in the return value, if there was one. 851 bcl(3) will encode an error in the return value, if there was one. 873 bcl(3) will encode an error in the return value, if there was one. [all …]
|