Home
last modified time | relevance | path

Searched refs:inscode (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Modules/
Derrnomodule.c68 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code) in initerrno() macro
76 inscode(d, ds, de, "ENODEV", ENODEV, "No such device"); in initerrno()
79 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available"); in initerrno()
82 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host"); in initerrno()
85 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host"); in initerrno()
89 inscode(d, ds, de, "ENOMSG", ENOMSG, "No message of desired type"); in initerrno()
92 inscode(d, ds, de, "EUCLEAN", EUCLEAN, "Structure needs cleaning"); in initerrno()
95 inscode(d, ds, de, "EL2NSYNC", EL2NSYNC, "Level 2 not synchronized"); in initerrno()
98 inscode(d, ds, de, "EL2HLT", EL2HLT, "Level 2 halted"); in initerrno()
101 inscode(d, ds, de, "ENODATA", ENODATA, "No data available"); in initerrno()
[all …]
/external/brotli/enc/
Dcommand.h62 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes() argument
64 (uint16_t)((copycode & 0x7u) | ((inscode & 0x7u) << 3)); in CombineLengthCodes()
65 if (use_last_distance && inscode < 8 && copycode < 16) { in CombineLengthCodes()
70 int offset = 2 * ((copycode >> 3) + 3 * (inscode >> 3)); in CombineLengthCodes()
85 uint16_t inscode = GetInsertLengthCode(insertlen); in GetLengthCode() local
87 *code = CombineLengthCodes(inscode, copycode, use_last_distance); in GetLengthCode()
90 static BROTLI_INLINE uint32_t GetInsertBase(uint16_t inscode) { in GetInsertBase() argument
91 return kInsBase[inscode]; in GetInsertBase()
94 static BROTLI_INLINE uint32_t GetInsertExtra(uint16_t inscode) { in GetInsertExtra() argument
95 return kInsExtra[inscode]; in GetInsertExtra()
Dcompress_fragment.c192 const size_t inscode = (nbits << 1) + prefix + 42; in EmitInsertLen() local
193 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage); in EmitInsertLen()
195 ++histo[inscode]; in EmitInsertLen()
Dbackward_references_hq.c404 const uint16_t inscode = GetInsertLengthCode(pos - start); in UpdateNodes() local
406 const float base_cost = start_costdiff + (float)GetInsertExtra(inscode) + in UpdateNodes()
443 CombineLengthCodes(inscode, copycode, j == 0); in UpdateNodes()
493 const uint16_t cmdcode = CombineLengthCodes(inscode, copycode, 0); in UpdateNodes()
Dcompress_fragment_two_pass.c124 const uint32_t inscode = (nbits << 1) + prefix + 2; in EmitInsertLen() local
126 **commands = inscode | (extra << 8); in EmitInsertLen()
Dbrotli_bit_stream.c103 uint16_t inscode = GetInsertLengthCode(cmd->insert_len_); in StoreCommandExtra() local
105 uint32_t insnumextra = GetInsertExtra(inscode); in StoreCommandExtra()
106 uint64_t insextraval = cmd->insert_len_ - GetInsertBase(inscode); in StoreCommandExtra()