Searched defs:encoding (Results 226 - 250 of 516) sorted by path

1234567891011>>

/external/chromium_org/third_party/sqlite/src/src/
H A Dprepare.c238 ** meta[4] Db text encoding. 1:UTF-8 2:UTF-16LE 3:UTF-16BE
253 /* If opening a non-empty database, check the text encoding. For the
254 ** main database, set sqlite3.enc to the encoding of the main database.
255 ** For an attached db, it is an error if the encoding is not the same
258 if( meta[BTREE_TEXT_ENCODING-1] ){ /* text encoding */
260 u8 encoding; local
262 encoding = (u8)meta[BTREE_TEXT_ENCODING-1] & 3;
263 if( encoding==0 ) encoding = SQLITE_UTF8;
264 ENC(db) = encoding;
[all...]
H A Dvdbe.c288 u8 enc /* Use this text encoding */
555 u8 encoding = ENC(db); /* The database encoding */ local
918 if( encoding!=SQLITE_UTF8 ){
921 if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem;
950 pOut->enc = encoding;
973 pOut->enc = encoding;
1171 Stringify(pIn1, encoding);
1172 Stringify(pIn2, encoding);
1189 pOut->enc = encoding;
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dhttpbase.cc417 std::string encoding; local
418 if (data_->hasHeader(HH_TRANSFER_ENCODING, &encoding)
419 && (encoding == "chunked")) {
/external/chromium_org/tools/relocation_packer/src/
H A Dleb128.cc18 // Add a single value to the encoding. Values are encoded with variable
29 // Add a vector of values to the encoding.
36 Leb128Decoder::Leb128Decoder(const std::vector<uint8_t>& encoding) { argument
37 encoding_ = encoding;
44 // Decode and retrieve a single value from the encoding. Read forwards until
63 // Decode and retrieve all remaining values from the encoding.
H A Dleb128.h30 // Add a value to the encoding stream.
34 // Add a vector of values to the encoding stream.
39 // |encoding| is the returned vector of encoded data.
40 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; } argument
51 // |encoding| is the vector of encoded data.
52 explicit Leb128Decoder(const std::vector<uint8_t>& encoding);
H A Dleb128_unittest.cc26 std::vector<uint8_t> encoding; local
27 encoder.GetEncoding(&encoding);
29 EXPECT_EQ(23, encoding.size());
31 EXPECT_EQ(0xe5, encoding[0]);
32 EXPECT_EQ(0x8e, encoding[1]);
33 EXPECT_EQ(0x26, encoding[2]);
35 EXPECT_EQ(0x00, encoding[3]);
37 EXPECT_EQ(0x01, encoding[4]);
39 EXPECT_EQ(0x7f, encoding[5]);
41 EXPECT_EQ(0x80, encoding[
63 std::vector<uint8_t> encoding; local
[all...]
H A Dsleb128.cc19 // Add a single value to the encoding. Values are encoded with variable
35 // Sign extend if encoding a -ve value.
49 // Add a vector of values to the encoding.
56 Sleb128Decoder::Sleb128Decoder(const std::vector<uint8_t>& encoding) { argument
57 encoding_ = encoding;
64 // Decode and retrieve a single value from the encoding. Consume bytes
89 // Decode and retrieve all remaining values from the encoding.
H A Dsleb128.h31 // Add a value to the encoding stream.
35 // Add a vector of values to the encoding stream.
40 // |encoding| is the returned vector of encoded data.
41 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; } argument
52 // |encoding| is the vector of encoded data.
53 explicit Sleb128Decoder(const std::vector<uint8_t>& encoding);
H A Dsleb128_unittest.cc31 std::vector<uint8_t> encoding; local
32 encoder.GetEncoding(&encoding);
34 EXPECT_EQ(42u, encoding.size());
36 EXPECT_EQ(0xe5, encoding[0]);
37 EXPECT_EQ(0x8e, encoding[1]);
38 EXPECT_EQ(0x26, encoding[2]);
40 EXPECT_EQ(0x00, encoding[3]);
42 EXPECT_EQ(0x01, encoding[4]);
44 EXPECT_EQ(0x3f, encoding[5]);
46 EXPECT_EQ(0xc0, encoding[
91 std::vector<uint8_t> encoding; local
[all...]
/external/chromium_org/ui/base/resource/
H A Dresource_bundle.cc513 ResourceHandle::TextEncodingType encoding = local
515 DCHECK(encoding == ResourceHandle::UTF16 || encoding == ResourceHandle::UTF8)
520 if (encoding == ResourceHandle::UTF16) {
523 } else if (encoding == ResourceHandle::UTF8) {
/external/chromium_org/url/
H A Durl_canon_icu_unittest.cc49 const char* encoding; member in struct:url::__anon17213::ICUCase
65 UConvScoper conv(icu_cases[i].encoding);
103 const char* encoding; member in struct:url::__anon17213::QueryCase
124 UConvScoper conv(query_cases[i].encoding);
125 ASSERT_TRUE(!query_cases[i].encoding || conv.converter());
/external/chromium_org/v8/src/
H A Dapi.cc1570 Encoding encoding)
1571 : impl_(new i::StreamedSource(stream, encoding)) {}
4883 v8::String::ExternalStringResourceBase* value, Encoding encoding) const {
4903 CHECK_EQ(expectedEncoding, encoding);
1569 StreamedSource(ExternalSourceStream* stream, Encoding encoding) argument
H A Dbackground-parsing-task.h24 ScriptCompiler::StreamedSource::Encoding encoding)
26 encoding(encoding),
32 ScriptCompiler::StreamedSource::Encoding encoding; member in struct:v8::internal::StreamedSource
23 StreamedSource(ScriptCompiler::ExternalSourceStream* source_stream, ScriptCompiler::StreamedSource::Encoding encoding) argument
H A Dcompiler.cc125 ScriptCompiler::StreamedSource::Encoding encoding, Isolate* isolate,
129 source_stream_encoding_(encoding),
353 // Due to an encoding limit on LUnallocated operands in the Lithium
358 // The encoding is as a signed value, with parameters and receiver using
123 CompilationInfo( ScriptCompiler::ExternalSourceStream* stream, ScriptCompiler::StreamedSource::Encoding encoding, Isolate* isolate, Zone* zone) argument
H A Dcompiler.h400 ScriptCompiler::StreamedSource::Encoding encoding,
537 ScriptCompiler::StreamedSource::Encoding encoding,
539 : CompilationInfo(stream, encoding, isolate, &zone_), zone_(isolate) {}
536 CompilationInfoWithZone(ScriptCompiler::ExternalSourceStream* stream, ScriptCompiler::StreamedSource::Encoding encoding, Isolate* isolate) argument
H A Dhydrogen-instructions.cc4412 String::Encoding encoding,
4426 return new(zone) HSeqStringGetChar(encoding, string, index);
4410 New(Zone* zone, HValue* context, String::Encoding encoding, HValue* string, HValue* index) argument
H A Dhydrogen-instructions.h417 // This class encapsulates encoding and decoding of sources positions from
7615 String::Encoding encoding,
7624 String::Encoding encoding() const { return encoding_; } function in class:v8::FINAL::FINAL
7632 return encoding() == HSeqStringGetChar::cast(other)->encoding();
7636 if (encoding() == String::ONE_BYTE_ENCODING) {
7639 DCHECK_EQ(String::TWO_BYTE_ENCODING, encoding());
7645 HSeqStringGetChar(String::Encoding encoding, argument
7647 HValue* index) : encoding_(encoding) {
7667 String::Encoding encoding() { retur function in class:v8::FINAL::FINAL
7681 HSeqStringSetChar(HValue* context, String::Encoding encoding, HValue* string, HValue* index, HValue* value) argument
[all...]
/external/chromium_org/v8/src/arm/
H A Dassembler-arm.cc2432 static bool FitsVMOVDoubleImmediate(double d, uint32_t *encoding) { argument
2473 *encoding = (hi >> 16) & 0xf; // Low nybble.
2474 *encoding |= (hi >> 4) & 0x70000; // Low three bits of the high nybble.
2475 *encoding |= (hi >> 12) & 0x80000; // Top bit of the high nybble.
H A Dcode-stubs-arm.cc1995 // Handle subject string according to its encoding and representation:
2001 // (5) Sequential string. Load regexp code according to encoding.
2052 // (5) Sequential string. Load regexp code according to encoding.
2077 // encoding. If it has, the field contains a code object otherwise it contains
2082 // r3: encoding of subject string (1 if one_byte, 0 if two_byte);
2893 String::Encoding encoding) {
2903 if (encoding == String::TWO_BYTE_ENCODING) {
3037 // type including the string encoding because we simply rely on the info
3039 // string's encoding is wrong because we always have to recheck encoding o
2888 GenerateCopyCharacters(MacroAssembler* masm, Register dest, Register src, Register count, Register scratch, String::Encoding encoding) argument
[all...]
H A Dlithium-codegen-arm.cc1972 String::Encoding encoding) {
1975 if (encoding == String::TWO_BYTE_ENCODING) {
1984 if (encoding == String::ONE_BYTE_ENCODING) {
1995 String::Encoding encoding = instr->hydrogen()->encoding(); local
2008 __ cmp(scratch, Operand(encoding == String::ONE_BYTE_ENCODING
2013 MemOperand operand = BuildSeqStringOperand(string, instr->index(), encoding);
2014 if (encoding == String::ONE_BYTE_ENCODING) {
2023 String::Encoding encoding = instr->hydrogen()->encoding(); local
1970 BuildSeqStringOperand(Register string, LOperand* index, String::Encoding encoding) argument
[all...]
/external/chromium_org/v8/src/arm64/
H A Dlithium-codegen-arm64.cc4783 String::Encoding encoding) {
4786 if (encoding == String::TWO_BYTE_ENCODING) {
4794 if (encoding == String::ONE_BYTE_ENCODING) {
4804 String::Encoding encoding = instr->hydrogen()->encoding(); local
4823 __ Cmp(dbg_temp, Operand(encoding == String::ONE_BYTE_ENCODING
4829 BuildSeqStringOperand(string, temp, instr->index(), encoding);
4830 if (encoding == String::ONE_BYTE_ENCODING) {
4839 String::Encoding encoding = instr->hydrogen()->encoding(); local
4780 BuildSeqStringOperand(Register string, Register temp, LOperand* index, String::Encoding encoding) argument
[all...]
/external/chromium_org/v8/src/ia32/
H A Dcode-stubs-ia32.cc1183 // Handle subject string according to its encoding and representation:
1272 // encoding. If it has, the field contains a code object otherwise it contains
1279 // ecx: encoding of subject string (1 if one_byte, 0 if two_byte);
1324 // ecx: encoding of subject string (1 if one_byte 0 if two_byte);
2888 String::Encoding encoding) {
2899 if (encoding == String::TWO_BYTE_ENCODING) {
3009 // type including the string encoding because we simply rely on the info
3011 // string's encoding is wrong because we always have to recheck encoding of
3039 // encoding a
2883 GenerateCopyCharacters(MacroAssembler* masm, Register dest, Register src, Register count, Register scratch, String::Encoding encoding) argument
[all...]
H A Dlithium-codegen-ia32.cc1808 String::Encoding encoding) {
1812 if (encoding == String::TWO_BYTE_ENCODING) {
1820 encoding == String::ONE_BYTE_ENCODING ? times_1 : times_2,
1826 String::Encoding encoding = instr->hydrogen()->encoding(); local
1838 __ cmp(string, Immediate(encoding == String::ONE_BYTE_ENCODING
1844 Operand operand = BuildSeqStringOperand(string, instr->index(), encoding);
1845 if (encoding == String::ONE_BYTE_ENCODING) {
1854 String::Encoding encoding = instr->hydrogen()->encoding(); local
1806 BuildSeqStringOperand(Register string, LOperand* index, String::Encoding encoding) argument
[all...]
/external/chromium_org/v8/src/mips/
H A Dcode-stubs-mips.cc2117 // Handle subject string according to its encoding and representation:
2123 // (5) Sequential string. Load regexp code according to encoding.
2173 // (5) Sequential string. Load regexp code according to encoding.
2198 // encoding. If it has, the field contains a code object otherwise it contains
2203 // a3: encoding of subject string (1 if one_byte, 0 if two_byte);
3044 String::Encoding encoding) {
3058 if (encoding == String::TWO_BYTE_ENCODING) {
3191 // type including the string encoding because we simply rely on the info
3193 // string's encoding is wrong because we always have to recheck encoding o
3039 GenerateCopyCharacters(MacroAssembler* masm, Register dest, Register src, Register count, Register scratch, String::Encoding encoding) argument
[all...]
H A Dlithium-codegen-mips.cc1811 String::Encoding encoding) {
1814 if (encoding == String::TWO_BYTE_ENCODING) {
1823 if (encoding == String::ONE_BYTE_ENCODING) {
1835 String::Encoding encoding = instr->hydrogen()->encoding(); local
1848 __ Subu(at, scratch, Operand(encoding == String::ONE_BYTE_ENCODING
1853 MemOperand operand = BuildSeqStringOperand(string, instr->index(), encoding);
1854 if (encoding == String::ONE_BYTE_ENCODING) {
1863 String::Encoding encoding = instr->hydrogen()->encoding(); local
1809 BuildSeqStringOperand(Register string, LOperand* index, String::Encoding encoding) argument
[all...]

Completed in 699 milliseconds

1234567891011>>