Home
last modified time | relevance | path

Searched refs:_encoding (Results 1 – 25 of 38) sorted by relevance

12

/third_party/python/Lib/
Dsunau.py192 self._encoding = int(_read_u32(file))
193 if self._encoding not in _simple_encodings:
195 if self._encoding in (AUDIO_FILE_ENCODING_MULAW_8,
199 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_8:
201 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_16:
203 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_24:
205 elif self._encoding == AUDIO_FILE_ENCODING_LINEAR_32:
239 if self._encoding in _simple_encodings:
244 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8:
246 elif self._encoding == AUDIO_FILE_ENCODING_ALAW_8:
[all …]
Dimaplib.py215 self._encoding = 'ascii'
222 self._encoding = 'utf-8'
961 raise self.abort(bye[-1].decode(self._encoding, 'replace'))
982 name = bytes(name, self._encoding)
987 arg = bytes(arg, self._encoding)
997 data = data + bytes(' {%s}' % len(literal), self._encoding)
1063 dat = str(dat[-1], self._encoding)
1085 typ = str(typ, self._encoding)
1107 typ = str(typ, self._encoding)
1138 typ = str(typ, self._encoding)
[all …]
Dfileinput.py208 self._encoding = encoding
337 encoding = self._encoding or "locale"
381 if self._encoding is None:
385 … self._filename, self._mode, encoding=self._encoding, errors=self._errors)
D_pyio.py2081 self._encoding = encoding
2134 return self._encoding
2175 encoding = self._encoding
2253 make_encoder = codecs.getincrementalencoder(self._encoding)
2258 make_decoder = codecs.getincrementaldecoder(self._encoding)
/third_party/icu/icu4c/source/test/intltest/
Dtextfile.cpp23 TextFile::TextFile(const char* _name, const char* _encoding, UErrorCode& ec) : in TextFile() argument
30 if (U_FAILURE(ec) || _name == 0 || _encoding == 0) { in TextFile()
39 encoding = uprv_malloc(uprv_strlen(_encoding) + 1); in TextFile()
45 uprv_strcpy(encoding, _encoding); in TextFile()
48 encoding = (char*) _encoding; in TextFile()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp1572 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding in Parse() argument
1574 p = SkipWhiteSpace( p, _encoding ); in Parse()
1578 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) in Parse()
1580 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); in Parse()
1585 data->Stamp( p, _encoding ); in Parse()
1602 p = SkipWhiteSpace( p, _encoding ); in Parse()
1603 if ( StringEqual( p, "version", true, _encoding ) ) in Parse()
1606 p = attrib.Parse( p, data, _encoding ); in Parse()
1609 else if ( StringEqual( p, "encoding", true, _encoding ) ) in Parse()
1612 p = attrib.Parse( p, data, _encoding ); in Parse()
[all …]
Dtinyxml.cpp1380 const char * _encoding, in TiXmlDeclaration() argument
1385 encoding = _encoding; in TiXmlDeclaration()
1392 const std::string& _encoding, in TiXmlDeclaration() argument
1397 encoding = _encoding; in TiXmlDeclaration()
Dtinyxml.h1294 const std::string& _encoding,
1300 const char* _encoding,
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp1572 const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding _encoding in Parse() argument
1574 p = SkipWhiteSpace( p, _encoding ); in Parse()
1578 if ( !p || !*p || !StringEqual( p, "<?xml", true, _encoding ) ) in Parse()
1580 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding ); in Parse()
1585 data->Stamp( p, _encoding ); in Parse()
1602 p = SkipWhiteSpace( p, _encoding ); in Parse()
1603 if ( StringEqual( p, "version", true, _encoding ) ) in Parse()
1606 p = attrib.Parse( p, data, _encoding ); in Parse()
1609 else if ( StringEqual( p, "encoding", true, _encoding ) ) in Parse()
1612 p = attrib.Parse( p, data, _encoding ); in Parse()
[all …]
Dtinyxml.cpp1380 const char * _encoding, in TiXmlDeclaration() argument
1385 encoding = _encoding; in TiXmlDeclaration()
1392 const std::string& _encoding, in TiXmlDeclaration() argument
1397 encoding = _encoding; in TiXmlDeclaration()
/third_party/node/deps/npm/node_modules/smart-buffer/build/
Dsmartbuffer.js16 this._encoding = DEFAULT_SMARTBUFFER_ENCODING;
23 this._encoding = options.encoding;
701 …s._buff.slice(this._readOffset, this._readOffset + lengthVal).toString(encoding || this._encoding);
754 return value.toString(encoding || this._encoding);
945 return this._encoding;
954 this._encoding = encoding;
978 const encodingVal = typeof encoding === 'string' ? encoding : this._encoding;
1000 let encodingVal = this._encoding;
/third_party/python/Lib/multiprocessing/
Dshared_memory.py245 _encoding = "utf8" variable
277 1: lambda value: value.rstrip(b'\x00').decode(_encoding), # str
332 _enc = _encoding
381 fmt_as_str = fmt.decode(_encoding)
411 fmt_as_str.encode(_encoding)
454 encoded_value = (value.encode(_encoding)
/third_party/python/Lib/xml/sax/
Dsaxutils.py122 self._encoding = encoding
152 self._encoding)
212 content = str(content, self._encoding)
219 content = str(content, self._encoding)
/third_party/parse5/packages/parse5-sax-parser/lib/
Ddev-null-stream.ts4 override _write(_chunk: string, _encoding: string, cb: () => void): void {
Dindex.ts73 _encoding: string,
/third_party/node/deps/npm/node_modules/iconv-lite/lib/
Dextend-node.js128 var _offset = offset, _length = length, _encoding = encoding;
147 return original.BufferWrite.call(this, string, _offset, _length, _encoding);
/third_party/python/Lib/xmlrpc/
Dclient.py658 self._encoding = "utf-8"
678 self._encoding = encoding
766 if self._encoding:
767 data = data.decode(self._encoding)
824 if self._encoding:
825 data = data.decode(self._encoding)
/third_party/python/Lib/test/
Dtest_uu.py36 self._encoding = encoding
46 return self.buffer.getvalue().decode(self._encoding, self._errors)
Dtest_imaplib.py316 self.assertEqual(client._encoding, 'ascii')
322 self.assertEqual(client._encoding, 'utf-8')
774 self.assertEqual(client._encoding, 'ascii')
781 self.assertEqual(client._encoding, 'utf-8')
Dtest_ossaudiodev.py32 encoding = au._encoding
/third_party/parse5/packages/parse5-parser-stream/lib/
Dindex.ts86 override _write(chunk: string, _encoding: string, callback: () => void): void {
/third_party/parse5/test/utils/
Dcommon.ts56 override _write(chunk: string, _encoding: string, callback: () => void): void {
/third_party/node/deps/npm/node_modules/smart-buffer/typings/
Dsmartbuffer.d.ts12 private _encoding; property in SmartBuffer
/third_party/python/Lib/idlelib/
Drun.py438 self._encoding = encoding
443 return self._encoding
/third_party/typescript/src/compiler/
Dsys.ts1604 function readFileWorker(fileName: string, _encoding?: string): string | undefined {
1636 function readFile(fileName: string, _encoding?: string): string | undefined {
1638 const file = readFileWorker(fileName, _encoding);

12