/external/open-vcdiff/src/google/ |
vcencoder.h | 152 // This convention differs from the non-streaming Encode/Decode 222 // can be used before calling Encode(), to specify that interleaved format 228 // calling Encode(), to specify whether or not target matching should be 237 bool Encode(const char* target_data,
|
/external/open-vcdiff/src/ |
varint_bigendian.cc | 84 int VarintBE<SignedIntegerType>::Encode(SignedIntegerType v, char* ptr) {
|
decodetable_test.cc | 172 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); 182 VarintBE<VCDAddress>::Encode(111, &instructions_and_sizes_[1]); 232 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); 398 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, 405 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode,
|
varint_bigendian_test.cc | 69 EXPECT_EQ(expected_length, VarintType::Encode(v, &varint_buf_[0])); 76 EXPECT_DEATH(VarintType::Encode(v, &varint_buf_[0]), "v >= 0"); 128 // Encoding tests: Length(), Encode(), AppendToString(), AppendToBuffer() 311 const int test_size = 1024; // 1K random encode/decode operations 316 int length = VarintType::Encode(value, encode_buffer);
|
vcdiff_main.cc | 47 "Target file (default is stdin for encode, stdout for decode"); 49 "Encoded delta file (default is stdout for encode, " 71 " {encode | delta | decode | patch }[ <options> ]\n" 72 "encode or delta: create delta file from dictionary and target file\n" 83 // will use the supplied options to carry out a file-based encode 85 bool Encode(); 370 bool VCDiffFileBasedCoder::Encode() { 423 std::cerr << "Error trying to encode data chunk of length " 608 if ((strcmp(command_option, "encode") == 0) || 611 if (!coder.Encode()) { [all...] |
vcencoder.cc | 132 engine_->Encode(data, len, look_for_target_matches_, out, coder_.get());
|
vcencoder_test.cc | 229 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 241 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 253 EXPECT_TRUE(simple_encoder_.Encode(kTarget, 637 // Now perform the encode operation, which will cause a segmentation fault 669 // Now perform the encode operation, which will cause a segmentation fault 725 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); [all...] |
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 92 string encoded_filename = UrlToFilenameEncoder::Encode( 114 string filename1 = UrlToFilenameEncoder::Encode(url1, "", false); 115 string filename2 = UrlToFilenameEncoder::Encode(url2, "", false);
|
url_to_filename_encoder.h | 98 static std::string Encode(const std::string& url, std::string base_path,
|
/external/chromium/sdch/open-vcdiff/src/ |
decodetable_test.cc | 172 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); 182 VarintBE<VCDAddress>::Encode(111, &instructions_and_sizes_[1]); 232 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); 398 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, 405 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode,
|
varint_bigendian_test.cc | 69 EXPECT_EQ(expected_length, VarintType::Encode(v, &varint_buf_[0])); 76 EXPECT_DEATH(VarintType::Encode(v, &varint_buf_[0]), "v >= 0"); 128 // Encoding tests: Length(), Encode(), AppendToString(), AppendToBuffer() 311 const int test_size = 1024; // 1K random encode/decode operations 316 int length = VarintType::Encode(value, encode_buffer);
|
vcdiff_main.cc | 47 "Target file (default is stdin for encode, stdout for decode"); 49 "Encoded delta file (default is stdout for encode, " 70 " {encode | delta | decode | patch }[ <options> ]\n" 71 "encode or delta: create delta file from dictionary and target file\n" 82 // will use the supplied options to carry out a file-based encode 84 bool Encode(); 369 bool VCDiffFileBasedCoder::Encode() { 419 std::cerr << "Error trying to encode data chunk of length " 604 if ((strcmp(command_option, "encode") == 0) || 607 if (!coder.Encode()) { [all...] |
vcencoder_test.cc | 203 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 215 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 227 EXPECT_TRUE(simple_encoder_.Encode(kTarget, 572 // Now perform the encode operation, which will cause a segmentation fault 604 // Now perform the encode operation, which will cause a segmentation fault 682 EXPECT_TRUE(simple_encoder_.Encode(kTarget, strlen(kTarget), delta())); 777 EXPECT_TRUE(simple_encoder_.Encode(kRedundantTarget, [all...] |
vcdecoder_test.cc | 81 VarintBE<int32_t>::Encode(static_cast<int32_t>(strlen(s)), varint_buf);
|
vcdiffengine.cc | 111 // Create an ADD instruction to encode all target bytes 122 // this function creates an ADD instruction to encode all target bytes 143 LOG(DFATAL) << "Internal error in VCDiffEngine::Encode: " 157 LOG(DFATAL) << "Internal error: VCDiffEngine::Encode() " 237 void VCDiffEngine::Encode(const char* target_data,
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_codec.cc | 45 Value* BookmarkCodec::Encode(BookmarkModel* model) { 46 return Encode(model->GetBookmarkBarNode(), model->other_node()); 49 Value* BookmarkCodec::Encode(const BookmarkNode* bookmark_bar_node,
|
bookmark_codec_unittest.cc | 97 scoped_ptr<Value> value(encoder.Encode(model)); 180 // Encode two identical models and make sure the check-sums are same as long 260 scoped_ptr<Value> model_value(encoder.Encode(model_to_encode.get())); 281 scoped_ptr<Value> model_value2(encoder2.Encode(&decoded_model));
|
/external/chromium/chrome/browser/net/ |
quoted_printable_unittest.cc | 167 TEST(QuotedPrintableTest, Encode) {
|
/external/chromium/sdch/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 50 rem vcdiff with three arguments but without "encode" or "decode" 60 encode -dictionary %DICTIONARY_FILE% ^ 63 || ( echo Encode with three arguments failed ^ 82 encode -dictionary %DICTIONARY_FILE% ^ 85 || ( echo Encode using stdin/stdout failed ^ 102 encode -dictionary %DICTIONARY_FILE% ^ 105 || ( echo Encode with mixed arguments failed ^ 121 encode -dictionary %DICTIONARY_FILE% ^ 124 || ( echo Encode with mixed arguments failed ^ 165 encode -dictionary %TEMP%\nonexistent_file [all...] |
/external/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 50 rem vcdiff with three arguments but without "encode" or "decode" 60 encode -dictionary %DICTIONARY_FILE% ^ 63 || ( echo Encode with three arguments failed ^ 82 encode -dictionary %DICTIONARY_FILE% ^ 85 || ( echo Encode using stdin/stdout failed ^ 102 encode -dictionary %DICTIONARY_FILE% ^ 105 || ( echo Encode with mixed arguments failed ^ 121 encode -dictionary %DICTIONARY_FILE% ^ 124 || ( echo Encode with mixed arguments failed ^ 165 encode -dictionary %TEMP%\nonexistent_file [all...] |
/external/quake/quake/src/QW/client/ |
md4.c | 92 static void Encode (unsigned char *, UINT4 *, unsigned int); 170 Encode (bits, context->count, 8); 181 Encode (digest, context->state, 16); 260 static void Encode (unsigned char *output, UINT4 *input, unsigned int len)
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
cvei.h | 31 by PV and encode it to an MPEG4 bitstream. It will also return a reconstructed 117 /** Targeted profile and level to encode. */ 249 /** Specifies the profile and level used to encode the bitstream. When present, 356 virtual TCVEI_RETVAL Encode(TPVVideoInputData *aVidIn) = 0;
|
/external/v8/src/ |
unicode-inl.h | 81 unsigned Utf8::Encode(char* str, uchar c, int previous) { 94 return Encode(str - kUnmatchedSize,
|
/external/chromium/chrome/browser/policy/ |
device_management_backend_impl.cc | 84 std::string Encode(); 98 std::string URLQueryParameters::Encode() { 260 return GURL(server_url + '?' + query_params_.Encode());
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
encode.h | 0 // encode.h 17 // Class to encode and decoder an fst. 30 enum EncodeType { ENCODE = 1, DECODE = 2 }; 32 // Identifies stream data as an encode table (and its endianity) 39 // stores both the Tuple of encode labels and weights to a unique 69 // Hash function for EncodeTabe Tuples. Based on the encode flags 111 // Given an arc encode either input/ouptut labels or input/costs or both 112 Label Encode(const A &arc) { 126 // Given an encode arc Label decode back to input/output labels and costs 154 LOG(ERROR) << "EncodeTable::Read: Bad encode table header: " << source [all...] |