Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/chromium_org/google_apis/gaia/
Doauth_request_signer_unittest.cc14 TEST(OAuthRequestSignerTest, Encode) { in TEST() argument
15 ASSERT_EQ(OAuthRequestSigner::Encode("ABCDEFGHIJKLMNOPQRSTUVWXYZ" in TEST()
23 ASSERT_EQ(OAuthRequestSigner::Encode( in TEST()
26 ASSERT_EQ(OAuthRequestSigner::Encode("%"), "%25"); in TEST()
27 ASSERT_EQ(OAuthRequestSigner::Encode("%25"), "%2525"); in TEST()
28 ASSERT_EQ(OAuthRequestSigner::Encode( in TEST()
47 ASSERT_EQ(OAuthRequestSigner::Encode("!5}&QF~0R-Ecy[?2Cig>6g=;hH!\\Ju4K%UK;"), in TEST()
49 ASSERT_EQ(OAuthRequestSigner::Encode("1UgHf(r)SkMRS`fRZ/8PsTcXT0:\\<9I=6{|:"), in TEST()
51 ASSERT_EQ(OAuthRequestSigner::Encode("|<XIy1?o`r\"RuGSX#!:MeP&RLZQM@:\\';2X"), in TEST()
53 ASSERT_EQ(OAuthRequestSigner::Encode("#a@A>ZtcQ/yb.~^Q_]daRT?ffK>@A:afWuZL"), in TEST()
[all …]
Doauth_request_signer.cc82 OAuthRequestSigner::Encode( in BuildBaseString()
84 OAuthRequestSigner::Encode( in BuildBaseString()
101 result += OAuthRequestSigner::Encode(cursor->first); in BuildBaseStringParameters()
103 result += OAuthRequestSigner::Encode(cursor->second); in BuildBaseStringParameters()
337 std::string OAuthRequestSigner::Encode(const std::string& text) { in Encode() function in OAuthRequestSigner
453 OAuthRequestSigner::Encode(param->first).c_str(), in SignAuthHeader()
454 OAuthRequestSigner::Encode(param->second).c_str()); in SignAuthHeader()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_leveldb_coding_unittest.cc819 keys.push_back(SchemaVersionKey::Encode()); in TEST()
820 keys.push_back(MaxDatabaseIdKey::Encode()); in TEST()
821 keys.push_back(DatabaseFreeListKey::Encode(0)); in TEST()
823 keys.push_back(DatabaseNameKey::Encode("", ASCIIToUTF16(""))); in TEST()
824 keys.push_back(DatabaseNameKey::Encode("", ASCIIToUTF16("a"))); in TEST()
825 keys.push_back(DatabaseNameKey::Encode("a", ASCIIToUTF16("a"))); in TEST()
827 DatabaseMetaDataKey::Encode(1, DatabaseMetaDataKey::ORIGIN_NAME)); in TEST()
829 DatabaseMetaDataKey::Encode(1, DatabaseMetaDataKey::DATABASE_NAME)); in TEST()
831 DatabaseMetaDataKey::Encode(1, DatabaseMetaDataKey::USER_VERSION)); in TEST()
833 DatabaseMetaDataKey::Encode(1, DatabaseMetaDataKey::MAX_OBJECT_STORE_ID)); in TEST()
[all …]
Dindexed_db_leveldb_coding.h91 std::string Encode() const;
162 CONTENT_EXPORT static std::string Encode();
167 CONTENT_EXPORT static std::string Encode();
172 static std::string Encode();
179 CONTENT_EXPORT static std::string Encode(int64 database_id);
191 CONTENT_EXPORT static std::string Encode(const std::string& origin_identifier,
218 CONTENT_EXPORT static std::string Encode(int64 database_id,
237 CONTENT_EXPORT static std::string Encode(int64 database_id,
263 CONTENT_EXPORT static std::string Encode(int64 database_id,
286 CONTENT_EXPORT static std::string Encode(int64 database_id,
[all …]
Dindexed_db_backing_store.cc213 bool ok = GetInt(db, SchemaVersionKey::Encode(), &db_schema_version, &found); in IsSchemaKnown()
228 ok = GetInt(db, DataVersionKey::Encode(), &db_data_version, &found); in IsSchemaKnown()
250 const std::string schema_version_key = SchemaVersionKey::Encode(); in SetUpMetadata()
251 const std::string data_version_key = DataVersionKey::Encode(); in SetUpMetadata()
295 std::string int_version_key = DatabaseMetaDataKey::Encode( in SetUpMetadata()
340 const std::string max_object_store_id_key = DatabaseMetaDataKey::Encode( in GetMaxObjectStoreId()
684 const std::string key = DatabaseNameKey::Encode(origin_identifier_, name); in GetIDBDatabaseMetaData()
696 DatabaseMetaDataKey::Encode(metadata->id, in GetIDBDatabaseMetaData()
710 DatabaseMetaDataKey::Encode( in GetIDBDatabaseMetaData()
742 GetInt(transaction, MaxDatabaseIdKey::Encode(), &max_database_id, &found); in GetNewDatabaseId()
[all …]
Dindexed_db_leveldb_coding.cc1173 std::string KeyPrefix::Encode() const { in Encode() function in content::KeyPrefix
1249 std::string SchemaVersionKey::Encode() { in Encode() function in content::SchemaVersionKey
1255 std::string MaxDatabaseIdKey::Encode() { in Encode() function in content::MaxDatabaseIdKey
1261 std::string DataVersionKey::Encode() { in Encode() function in content::DataVersionKey
1286 std::string DatabaseFreeListKey::Encode(int64 database_id) { in Encode() function in content::DatabaseFreeListKey
1294 return Encode(std::numeric_limits<int64>::max()); in EncodeMaxKey()
1325 std::string DatabaseNameKey::Encode(const std::string& origin_identifier, in Encode() function in content::DatabaseNameKey
1336 return Encode(origin_identifier, base::string16()); in EncodeMinKeyForOrigin()
1351 std::string DatabaseMetaDataKey::Encode(int64 database_id, in Encode() function in content::DatabaseMetaDataKey
1354 std::string ret = prefix.Encode(); in Encode()
[all …]
/external/openfst/src/script/
Dencode.cc25 void Encode(MutableFstClass *ofst, uint32 flags, bool reuse_encoder, in Encode() function
32 REGISTER_FST_OPERATION(Encode, StdArc, EncodeArgs);
33 REGISTER_FST_OPERATION(Encode, LogArc, EncodeArgs);
34 REGISTER_FST_OPERATION(Encode, Log64Arc, EncodeArgs);
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java78 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte symbol) throws IOExc… in Encode() method in Encoder.LiteralEncoder.Encoder2
84 rangeEncoder.Encode(m_Encoders, context, bit); in Encode()
103 rangeEncoder.Encode(m_Encoders, state, bit); in EncodeMatched()
196 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode() method in Encoder.LenEncoder
200 rangeEncoder.Encode(_choice, 0, 0); in Encode()
201 _lowCoder[posState].Encode(rangeEncoder, symbol); in Encode()
206 rangeEncoder.Encode(_choice, 0, 1); in Encode()
209 rangeEncoder.Encode(_choice, 1, 0); in Encode()
210 _midCoder[posState].Encode(rangeEncoder, symbol); in Encode()
214 rangeEncoder.Encode(_choice, 1, 1); in Encode()
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java20 public void Encode(Encoder rangeEncoder, int symbol) throws IOException in Encode() method in BitTreeEncoder
27 rangeEncoder.Encode(Models, m, bit); in Encode()
38 rangeEncoder.Encode(Models, m, bit); in ReverseEncode()
94 rangeEncoder.Encode(Models, startIndex + m, bit); in ReverseEncode()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs78 public void Encode(RangeCoder.Encoder rangeEncoder, byte symbol) in Encode() method
84 m_Encoders[context].Encode(rangeEncoder, bit); in Encode()
103 m_Encoders[state].Encode(rangeEncoder, bit); in EncodeMatched()
196 public void Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState) in Encode() method in SevenZip.Compression.LZMA.Encoder.LenEncoder
200 _choice.Encode(rangeEncoder, 0); in Encode()
201 _lowCoder[posState].Encode(rangeEncoder, symbol); in Encode()
206 _choice.Encode(rangeEncoder, 1); in Encode()
209 _choice2.Encode(rangeEncoder, 0); in Encode()
210 _midCoder[posState].Encode(rangeEncoder, symbol); in Encode()
214 _choice2.Encode(rangeEncoder, 1); in Encode()
[all …]
/external/openfst/src/include/fst/script/
Dencode.h33 void Encode(EncodeArgs *args) { in Encode() function
43 Encode(ofst, encoder); in Encode()
50 void Encode(MutableFstClass *fst, uint32 flags, bool reuse_encoder,
/external/chromium_org/remoting/codec/
Dvideo_encoder_vpx_unittest.cc40 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); in TEST()
46 packet = encoder->Encode(*frame); in TEST()
61 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); in TEST()
/external/open-vcdiff/src/
Dvcdiffengine_test.cc322 engine_.Encode("", 0, target_matching, &diff_output_string_, &coder); in EncodeNothing()
331 engine_.Encode(text, in EncodeText()
338 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anonabb2a00d0111::VCDiffEngineTest
416 Encode(/* interleaved = */ false, /* target matching = */ false); in TEST_F()
447 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
482 Encode(/* interleaved = */ false, /* target matching = */ true); in TEST_F()
513 Encode(/* interleaved = */ true, /* target matching = */ true); in TEST_F()
619 engine_.Encode(text, in EncodeText()
626 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anonabb2a00d0111::WeaselsToMoonpiesTest
876 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Dvcdiffengine_test.cc322 engine_.Encode("", 0, target_matching, &diff_output_string_, &coder); in EncodeNothing()
331 engine_.Encode(text, in EncodeText()
338 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anone28e7c780111::VCDiffEngineTest
416 Encode(/* interleaved = */ false, /* target matching = */ false); in TEST_F()
447 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
482 Encode(/* interleaved = */ false, /* target matching = */ true); in TEST_F()
513 Encode(/* interleaved = */ true, /* target matching = */ true); in TEST_F()
619 engine_.Encode(text, in EncodeText()
626 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anone28e7c780111::WeaselsToMoonpiesTest
876 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
[all …]
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs22 public void Encode(Encoder rangeEncoder, UInt32 symbol) in Encode() method
29 Models[m].Encode(rangeEncoder, bit); in Encode()
40 Models[m].Encode(rangeEncoder, bit); in ReverseEncode()
96 Models[startIndex + m].Encode(rangeEncoder, bit); in ReverseEncode()
/external/chromium/net/tools/flip_server/
Dspdy_util.cc25 filename = UrlToFilenameEncoder::Encode( in EncodeURL()
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false); in EncodeURL()
/external/chromium_org/net/tools/flip_server/
Dspdy_util.cc25 filename = UrlToFilenameEncoder::Encode( in EncodeURL()
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false); in EncodeURL()
/external/chromium_org/content/browser/speech/
Daudio_encoder.cc28 virtual void Encode(const AudioChunk& raw_audio) OVERRIDE;
79 void FLACEncoder::Encode(const AudioChunk& raw_audio) { in Encode() function in content::__anona6d5865e0111::FLACEncoder
117 virtual void Encode(const AudioChunk& raw_audio) OVERRIDE;
151 void SpeexEncoder::Encode(const AudioChunk& raw_audio) { in Encode() function in content::__anona6d5865e0111::SpeexEncoder
/external/chromium/sdch/open-vcdiff/src/
Dvcdiffengine_test.cc343 engine_.Encode("", 0, target_matching, &diff_output_string_, &coder); in EncodeNothing()
353 engine_.Encode(text, in EncodeText()
361 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anon7e6464f10111::VCDiffEngineTest
439 Encode(/* interleaved = */ false, /* target matching = */ false); in TEST_F()
470 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
505 Encode(/* interleaved = */ false, /* target matching = */ true); in TEST_F()
536 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
642 engine_.Encode(text, in EncodeText()
650 void Encode(bool interleaved, bool target_matching) { in Encode() function in open_vcdiff::__anon7e6464f10111::WeaselsToMoonpiesTest
900 Encode(/* interleaved = */ true, /* target matching = */ false); in TEST_F()
[all …]
/external/v8/test/cctest/
Dtest-serialize.cc91 static uint32_t Encode(const ExternalReferenceEncoder& encoder, T id) { in Encode() function
92 return encoder.Encode(AddressOf(id)); in Encode()
108 Encode(encoder, Builtins::kArrayCode)); in TEST()
110 Encode(encoder, Runtime::kAbort)); in TEST()
112 Encode(encoder, IC_Utility(IC::kLoadCallbackProperty))); in TEST()
116 encoder.Encode(keyed_load_function_prototype.address())); in TEST()
120 encoder.Encode(stack_limit_address.address())); in TEST()
124 encoder.Encode(real_stack_limit_address.address())); in TEST()
127 encoder.Encode(ExternalReference::debug_break(isolate).address())); in TEST()
130 encoder.Encode( in TEST()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-serialize.cc92 static uint32_t Encode(const ExternalReferenceEncoder& encoder, T id) { in Encode() function
93 return encoder.Encode(AddressOf(id)); in Encode()
109 Encode(encoder, Builtins::kArrayCode)); in TEST()
111 Encode(encoder, Runtime::kAbort)); in TEST()
115 encoder.Encode(total_compile_size.address())); in TEST()
119 encoder.Encode(stack_limit_address.address())); in TEST()
123 encoder.Encode(real_stack_limit_address.address())); in TEST()
126 encoder.Encode(ExternalReference::debug_break(isolate).address())); in TEST()
129 encoder.Encode( in TEST()
132 encoder.Encode( in TEST()
[all …]
/external/chromium/chrome/browser/custom_handlers/
Dprotocol_handler_registry.cc60 scoped_ptr<Value> value(Encode()); in Save()
109 Value* ProtocolHandlerRegistry::Encode() { in Encode() function in ProtocolHandlerRegistry
114 protocolHandlers->Append(i->second->Encode()); in Encode()
/external/chromium_org/chrome/browser/net/
Dprobe_message.cc27 std::string input_decoded = Encode(input); in ParseInput()
104 std::string ProbeMessage::Encode(const std::string& input) const { in Encode() function in chrome_browser_net::ProbeMessage
123 return Encode(output); in MakeEncodedPacket()
/external/chromium_org/ui/gfx/codec/
Djpeg_codec_unittest.cc110 EXPECT_TRUE(JPEGCodec::Encode(&original[0], JPEGCodec::FORMAT_RGB, w, h, in TEST()
148 EXPECT_TRUE(JPEGCodec::Encode(&original[0], JPEGCodec::FORMAT_RGBA, w, h, in TEST()
184 ASSERT_TRUE(JPEGCodec::Encode(&original[0], JPEGCodec::FORMAT_RGB, w, h, in TEST()
/external/skia/src/utils/
DSkBase64.cpp112 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { in Encode() function in SkBase64
173 size_t encodeLength = Encode(all + offset, length, NULL); in UnitTest()
175 Encode(all + offset, length, src); in UnitTest()

1234567891011