/external/chromium_org/third_party/libxml/src/include/libxml/ |
parser.h | 73 const xmlChar *encoding; /* the encoding string for entity */ member in struct:_xmlParserInput 191 const xmlChar *encoding; /* the declared encoding, if any */ member in struct:_xmlParserCtxt 251 int charset; /* encoding of the in-memory content 807 #include <libxml/encoding.h> [all...] |
/external/clang/lib/Format/ |
BreakableToken.cpp | 46 encoding::Encoding Encoding) { 56 encoding::getCodePointNumBytes(Text[MaxSplitBytes], Encoding); 58 encoding::columnWidthWithTabs(Text.substr(MaxSplitBytes, BytesInChar), 59 ContentStartColumn, TabWidth, Encoding); 87 unsigned TabWidth, encoding::Encoding Encoding) { [all...] |
/external/google-tv-pairing-protocol/cpp/ |
Makefile.am | 36 polo_encoding_includedir = $(includedir)/polo/encoding 38 src/polo/encoding/encodingoption.h \ 39 src/polo/encoding/hexadecimalencoder.h \ 40 src/polo/encoding/secretencoder.h 118 src/polo/encoding/encodingoption.cc \ 119 src/polo/encoding/hexadecimalencoder.cc \ 143 tests/polo/encoding/hexadecimalencodertest.cc \
|
/external/libxml2/include/libxml/ |
parser.h | 73 const xmlChar *encoding; /* the encoding string for entity */ member in struct:_xmlParserInput 191 const xmlChar *encoding; /* the declared encoding, if any */ member in struct:_xmlParserCtxt 251 int charset; /* encoding of the in-memory content 810 #include <libxml/encoding.h> [all...] |
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
StringEncoding.py | 2 # Cython -- encoding related tools 79 s.encoding = self.target_encoding 113 # unicode string subclass to keep track of the original encoding. 114 # 'encoding' is None for unicode strings and the source encoding 116 encoding = None variable in class:EncodedString 122 assert self.encoding is not None 123 return self.encode(self.encoding) 126 assert self.encoding is None 131 return self.encoding is Non 154 encoding = None variable in class:BytesLiteral [all...] |
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
bytes.pxd | 83 # object, this function computes the default encoding of string 106 # object, this function computes the default encoding of string 162 object PyBytes_Decode(char *s, Py_ssize_t size, char *encoding, char *errors) 165 # using the codec registered for encoding. encoding and errors 171 object PyBytes_AsDecodedObject(object str, char *encoding, char *errors) 174 # encoding and return the result as Python object. encoding and 180 object PyBytes_Encode(char *s, Py_ssize_t size, char *encoding, char *errors) 183 # codec registered for encoding and return a Pytho [all...] |
string.pxd | 83 # object, this function computes the default encoding of string 106 # object, this function computes the default encoding of string 162 object PyString_Decode(char *s, Py_ssize_t size, char *encoding, char *errors) 165 # using the codec registered for encoding. encoding and errors 171 object PyString_AsDecodedObject(object str, char *encoding, char *errors) 174 # encoding and return the result as Python object. encoding and 180 object PyString_Encode(char *s, Py_ssize_t size, char *encoding, char *errors) 183 # codec registered for encoding and return a Pytho [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_mux.py | 227 def _create_add_channel_request_frame(channel_id, encoding, encoded_handshake): 228 if encoding != 0 and encoding != 1: 229 raise ValueError('Invalid encoding') 231 channel_id, mux._MUX_OPCODE_ADD_CHANNEL_REQUEST, encoding, 325 self.assertEqual(0, blocks[0].encoding) 333 self.assertEqual(2, blocks[2].encoding) 345 encoding=0, 351 encoding=1, 399 channel_id=2, encoding=0 [all...] |
/external/libxml2/ |
HTMLparser.c | 41 #include <libxml/encoding.h> 279 * running with UTF-8 encoding. 287 * Clean macros, not dependent of an ASCII context, expect UTF-8 encoding 352 * Ty to find and encoding in the current data available in the input 353 * buffer this is needed to try to switch to the proper encoding when 359 * Returns an encoding string or NULL if not found, the string need to 367 (ctxt->input->encoding != NULL) || (ctxt->input->buf == NULL) || 408 * If the encoding is unspecified, in the case we find an ISO-Latin-1 409 * char, then the encoding converter is plugged in automatically. 426 * From rfc2044: encoding of the Unicode values on UTF-8 3587 const xmlChar *encoding; local [all...] |
/external/chromium_org/third_party/libxslt/libxslt/ |
xsltutils.c | 1441 const xmlChar *encoding; local 1603 const xmlChar *encoding; local 1646 const xmlChar *encoding; local 1690 const xmlChar *encoding; local 1734 const xmlChar *encoding; local [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
id3_parser.js | 63 * Reads string from reader with specified encoding 66 * @param {number} encoding String encoding. 71 Id3Parser.prototype.readString_ = function(reader, encoding, size) { 72 switch (encoding) { 73 case Id3Parser.v2.ENCODING.ISO_8859_1: 76 case Id3Parser.v2.ENCODING.UTF_16: 79 case Id3Parser.v2.ENCODING.UTF_16BE: 82 case Id3Parser.v2.ENCODING.UTF_8: 84 this.log('UTF8 encoding not supported, used ISO_8859_1 instead') [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
PairingSession.java | 19 import com.google.polo.encoding.HexadecimalEncoder; 20 import com.google.polo.encoding.SecretEncoder; 149 * Encoding scheme used for the session. 304 * Adds an encoding to the supported input role encodings. This method can 310 * @param encoding the {@link EncodingOption} to add 312 public void addInputEncoding(EncodingOption encoding) { 320 if ((encoding.getSymbolLength() < 2) || 321 ((encoding.getSymbolLength() % 2) != 0)) { 323 encoding.getSymbolLength()); 325 mLocalOptions.addInputEncoding(encoding); [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
GeneralNameTest.java | 66 byte[] encoding = GeneralNames.ASN1.encode(sans_1); 67 GeneralNames.ASN1.decode(encoding); 78 byte[] encoding = OtherName.ASN1.encode(on); 79 new GeneralName(0, encoding); 80 OtherName.ASN1.decode(encoding);
|
EDIPartyNameTest.java | 133 * EDIPartyName(String nameAssigner, String partyName, byte[] encoding) 138 byte[] encoding = EDIPartyName.ASN1.encode(ediName); 139 EDIPartyName.ASN1.decode(encoding); 140 new GeneralName(5, encoding); 190 * getValue(byte[] encoding) method testing.
|
/external/chromium_org/device/nfc/ |
nfc_ndef_record.cc | 98 // Verify that the "Encoding" property has valid values. 99 std::string encoding; local 100 if (!data->GetString(NfcNdefRecord::kFieldEncoding, &encoding)) { 101 if (encoding != NfcNdefRecord::kEncodingUtf8 || 102 encoding != NfcNdefRecord::kEncodingUtf16) { 103 VLOG(1) << "Invalid \"Encoding\" value:" << encoding; 174 const char NfcNdefRecord::kFieldEncoding[] = "encoding";
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
TextResourceDecoder.cpp | 132 void TextResourceDecoder::setEncoding(const WTF::TextEncoding& encoding, EncodingSource source) 134 // In case the encoding didn't exist, we keep the old one (helps some sites specifying invalid encodings). 135 if (!encoding.isValid()) 138 // When encoding comes from meta tag (i.e. it cannot be XML files sent via XHR), 140 if (source == EncodingFromMetaTag && !strcasecmp(encoding.name(), "x-user-defined")) 143 m_encoding = encoding.closestByteBasedEquivalent(); 145 m_encoding = encoding; 151 // Returns the position of the encoding string. 154 int pos = find(str, len, "encoding"); 193 // Check for UTF-16/32 or UTF-8 BOM mark at the beginning, which is a sure sign of a Unicode encoding [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
FormDataBuilder.cpp | 56 // so we should test popular servers to find out if there is an encoding form they can handle. 85 WTF::TextEncoding encoding; local 89 if ((encoding = WTF::TextEncoding(*it)).isValid()) 90 return encoding; 166 void FormDataBuilder::addFilenameToMultiPartHeader(Vector<char>& buffer, const WTF::TextEncoding& encoding, const String& filename) 171 appendQuotedString(buffer, encoding.normalizeAndEncode(filename, WTF::QuestionMarksForUnencodables));
|
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-objc.h | 93 - (id)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding; 94 - (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)freeBuffer; 128 extern CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
|
/external/chromium_org/third_party/libxml/src/ |
HTMLparser.c | 41 #include <libxml/encoding.h> 276 * running with UTF-8 encoding. 284 * Clean macros, not dependent of an ASCII context, expect UTF-8 encoding 349 * Ty to find and encoding in the current data available in the input 350 * buffer this is needed to try to switch to the proper encoding when 356 * Returns an encoding string or NULL if not found, the string need to 364 (ctxt->input->encoding != NULL) || (ctxt->input->buf == NULL) || 405 * If the encoding is unspecified, in the case we find an ISO-Latin-1 406 * char, then the encoding converter is plugged in automatically. 423 * From rfc2044: encoding of the Unicode values on UTF-8 3447 const xmlChar *encoding; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1StreamParser.java | 30 byte[] encoding) 32 this(new ByteArrayInputStream(encoding), encoding.length); 61 throw new IOException("indefinite length primitive encoding encountered"); 84 throw new ASN1Exception("sequences must use constructed encoding (see X.690 8.9.1/8.10.1)"); 86 throw new ASN1Exception("sets must use constructed encoding (see X.690 8.11.1/8.12.1)"); 149 throw new IOException("indefinite length primitive encoding encountered");
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
V8StringResource.cpp | 108 v8::String::Encoding encoding; local 109 v8::String::ExternalStringResourceBase* resource = v8String->GetExternalStringResourceBase(&encoding); 112 if (encoding == v8::String::ONE_BYTE_ENCODING)
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
DocumentLoader.h | 115 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncoding = encoding; } 139 static PassRefPtrWillBeRawPtr<DocumentWriter> createWriterFor(const Document* ownerDocument, const DocumentInit&, const AtomicString& mimeType, const AtomicString& encoding, bool dispatch);
|
/external/chromium_org/third_party/freetype/src/cff/ |
cffcmap.c | 30 /***** CFF STANDARD (AND EXPERT) ENCODING CMAPS *****/ 40 CFF_Encoding encoding = &cff->encoding; local 43 cmap->gids = encoding->codes; 119 /***** CFF SYNTHETIC UNICODE ENCODING CMAP *****/
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
cmaps.cpp | 98 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; local 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups));
|
/external/chromium_org/tools/grit/grit/gather/ |
interface.py | 21 def __init__(self, rc_file, extkey=None, encoding='cp1252', is_skeleton=False): 29 encoding: e.g. 'utf-8' 36 self.encoding = encoding 84 def GetData(self, lang, encoding): 169 return util.ReadFile(path, self.encoding)
|