Searched refs:encoding (Results 1 - 17 of 17) sorted by relevance

/gem5/ext/libelf/
H A Dgelf_xlate.c35 elf32_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
37 return _libelf_xlate(dst, src, encoding, ELFCLASS32, ELF_TOFILE);
41 elf64_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
43 return _libelf_xlate(dst, src, encoding, ELFCLASS64, ELF_TOFILE);
47 elf32_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
49 return _libelf_xlate(dst, src, encoding, ELFCLASS32, ELF_TOMEMORY);
53 elf64_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
55 return _libelf_xlate(dst, src, encoding, ELFCLASS64, ELF_TOMEMORY);
59 gelf_xlatetom(Elf *e, Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
62 return (_libelf_xlate(dst, src, encoding,
69 gelf_xlatetof(Elf *e, Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
[all...]
H A Dlibelf_xlate.c45 _libelf_xlate(Elf_Data *dst, const Elf_Data *src, unsigned int encoding, argument
51 if (encoding == ELFDATANONE)
52 encoding = LIBELF_PRIVATE(byteorder);
54 if ((encoding != ELFDATA2LSB && encoding != ELFDATA2MSB) ||
133 if (db == sb && encoding == LIBELF_PRIVATE(byteorder) &&
138 src->d_buf, cnt, encoding != LIBELF_PRIVATE(byteorder));
/gem5/src/mem/cache/compressors/
H A Dbdi.hh66 * The possible encoding values. If modified, ENCODING_NAMES must be too.
72 * The respective encoding names. They are indexed by the ENCODING enum.
98 * Number of data entries that were compressed to each encoding.
130 * @param encoding Encoding value for given TB-TD combination.
135 const uint8_t encoding) const;
185 * Data encoding.
192 * Number of bits needed for the encoding field.
206 * @param encoding The encoding value.
208 BDICompData(const uint8_t encoding);
[all...]
H A Dbdi.cc48 // Declare BDI encoding names
53 BDI::BDICompData::BDICompData(const uint8_t encoding) argument
54 : CompressionData(), _encoding(encoding)
148 BDI::BDICompDataBaseDelta<TB, TD>::BDICompDataBaseDelta(const uint8_t encoding, argument
150 : BDICompData(encoding), maxNumBases(max_num_bases)
246 // limit, so line is uncompressible using the given encoding
322 BDI::tryCompress(const uint64_t* data, const uint8_t encoding) const
326 new BDICompDataBaseDelta<TB, TD>(encoding, blkSize));
450 DPRINTF(CacheComp, "BDI: Compressed cache line to encoding %s (%d bits)\n",
461 // We store the frequency of each encoding
[all...]
/gem5/src/base/vnc/
H A Dvncserver.cc510 warn("VNC client doesn't support true color raw encoding\n");
526 DPRINTF(VNC, " -- %d encoding present\n", pem.num_encodings);
530 int32_t encoding; local
531 if (!read(&encoding))
533 DPRINTF(VNC, " -- supports %d\n", betoh(encoding));
535 switch (betoh(encoding)) {
546 warn("VNC clients must always support raw encoding\n");
652 fbr.encoding = EncodingRaw;
660 fbr.encoding = htobe(fbr.encoding);
[all...]
H A Dvncserver.hh131 int32_t encoding; member in struct:VncServer::FrameBufferRect
/gem5/src/arch/arm/insts/
H A Dpred_inst.hh196 decode_fp_data_type(uint8_t encoding) argument
198 switch (encoding) {
H A Dmisc.cc327 return csprintf("%-10s (inst %#08x)", "unknown", encoding());
H A Dmisc64.cc83 return csprintf("%-10s (inst %#08x)", "unknown", encoding());
H A Dstatic_inst.hh527 * Returns the real encoding of the instruction:
533 encoding() const function in class:ArmISA::ArmStaticInst
/gem5/src/arch/arm/tracers/
H A Dtarmac_record.cc136 opcode = arm_inst->encoding();
H A Dtarmac_parser.cc812 if (arm_inst->encoding() != instRecord.opcode) {
816 << arm_inst->encoding()
/gem5/tests/testing/
H A Dresults.py299 et.write(self.fout, encoding="UTF-8")
/gem5/ext/mcpat/
H A DxmlParser.cc756 XMLError XMLNode::writeToFile(XMLCSTR filename, const char *encoding, char nFormat) const { argument
765 if (!fwrite(L"<?xml version=\"1.0\" encoding=\"utf-16\"?>\n",
776 encoding = "utf-8";
778 encoding = "SHIFT-JIS";
780 if (!encoding) encoding = "ISO-8859-1";
781 if (fprintf(f, "<?xml version=\"1.0\" encoding=\"%s\"?>\n", encoding)
3149 // if encoding is specified and different from utf-8 than it's non-utf8
3155 b = (unsigned char*)strstr(bb, "encoding");
[all...]
H A DxmlParser.h336 const char *encoding = NULL,
339 * If the global parameter "characterEncoding==encoding_UTF8", then the "encoding" parameter is ignored and always set to "utf-8".
340 * If the global parameter "characterEncoding==encoding_ShiftJIS", then the "encoding" parameter is ignored and always set to "SHIFT-JIS".
341 * If "_XMLWIDECHAR=1", then the "encoding" parameter is ignored and always set to "utf-16".
342 * If no "encoding" parameter is given the "ISO-8859-1" encoding is used. */
514 /// Enumeration for XML character encoding.
576 * \return "0" when there are no errors. If you try to set an unrecognized encoding then the return value will be "1" to signal an error.
581 /// Guess the character encoding of the string (ascii, utf8 or shift-JIS)
583 /**< The "guessCharEncoding" function try to guess the character encoding
[all...]
/gem5/src/arch/arm/
H A Dfaults.cc605 newPc, arm_inst ? csprintf("inst: %#x", arm_inst->encoding()) :
699 new_pc, arm_inst ? csprintf("inst: %#x", arm_inst->encoding()) :
783 "'%s' (inst 0x%08x)", mnemonic, arm_inst->encoding());
786 arm_inst->encoding());
789 "'%s' (inst 0x%08x)", mnemonic, arm_inst->encoding());
1076 // Get effective fault source encoding
H A Dtypes.hh100 Bitfield<27, 25> encoding; member in namespace:ArmISA

Completed in 57 milliseconds