Searched refs:Truncate (Results 1 - 25 of 33) sorted by relevance

12

/external/pdfium/core/fxcrt/
H A Dfxcrt_posix.h34 bool Truncate(FX_FILESIZE szFile) override;
H A Dfxcrt_windows.h32 bool Truncate(FX_FILESIZE szFile) override;
H A Dextension.h34 virtual bool Truncate(FX_FILESIZE szFile) = 0;
H A Dfxcrt_posix.cpp130 bool CFXCRT_FileAccess_Posix::Truncate(FX_FILESIZE szFile) { function in class:CFXCRT_FileAccess_Posix
H A Dfxcrt_windows.cpp182 bool CFXCRT_FileAccess_Win64::Truncate(FX_FILESIZE szFile) { function in class:CFXCRT_FileAccess_Win64
/external/llvm/lib/Support/
H A DScaledNumber.cpp286 size_t Truncate =
290 if (Truncate >= Str.size())
293 bool Carry = doesRoundUp(Str[Truncate]);
295 return stripTrailingZeros(Str.substr(0, Truncate));
298 for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend();
313 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
/external/dng_sdk/source/
H A Ddng_string.h81 void Truncate (uint32 maxBytes);
H A Ddng_camera_profile.cpp1268 baseName.Truncate (len - 5);
1284 temp.Truncate (len - 1);
1289 baseName.Truncate (len - 7);
1311 temp.Truncate (len - 1);
1316 baseName.Truncate (len - 3);
H A Ddng_iptc.cpp653 ss.Truncate (maxChars);
686 sss.Truncate (middle);
706 ss.Truncate (lower);
H A Ddng_string.cpp1328 void dng_string::Truncate (uint32 maxBytes) function in class:dng_string
H A Ddng_xmp.cpp346 ss.Truncate (ss.Length () - 1);
/external/libbrillo/brillo/streams/
H A Dfile_stream.h46 virtual int Truncate(off64_t length) const = 0;
H A Dfile_stream.cc67 int Truncate(off64_t length) const override {
384 if (fd_interface_->Truncate(size) >= 0)
H A Dfile_stream_unittest.cc130 MOCK_CONST_METHOD1(Truncate, int(off64_t));
272 EXPECT_CALL(fd_mock(), Truncate(0)).WillOnce(Return(0));
275 EXPECT_CALL(fd_mock(), Truncate(123)).WillOnce(Return(0));
278 EXPECT_CALL(fd_mock(), Truncate(kMaxSize)).WillOnce(Return(0));
285 EXPECT_CALL(fd_mock(), Truncate(1235)).WillOnce(SetErrnoAndReturn(EIO, -1));
/external/v8/src/interpreter/
H A Dbytecode-register.h113 const RegisterList Truncate(int new_count) { function in class:v8::internal::interpreter::RegisterList
H A Dbytecode-generator.cc1248 builder()->ForInNext(receiver, index, triple.Truncate(2),
1490 args.Truncate(4));
1495 args.Truncate(4));
2132 super_property_args.Truncate(3))
2139 super_property_args.Truncate(3))
2695 RegisterList load_super_args = super_property_args.Truncate(3);
2708 RegisterList load_super_args = super_property_args.Truncate(3);
/external/v8/tools/testrunner/local/
H A Dprogress.py215 def Truncate(self, string, length): member in class:CompactProgressIndicator
235 status = self.Truncate(status, 78)
/external/v8/src/
H A Dstring-builder.h361 Handle<String> result = SeqString::Truncate(string, length);
411 set_current_part(SeqString::Truncate(
H A Dvector.h104 void Truncate(int length) {
H A Djson-parser.cc705 return SeqString::Truncate(seq_string, count);
/external/pdfium/public/
H A Dfpdfview.h399 FPDF_RESULT (*Truncate)(FPDF_LPVOID clientData, FPDF_DWORD size); member in struct:_FPDF_FILEHANDLER
/external/protobuf/src/google/protobuf/
H A Drepeated_field_unittest.cc400 TEST(RepeatedField, Truncate) {
409 field.Truncate(3);
418 field.Truncate(field.size());
420 EXPECT_DEBUG_DEATH(field.Truncate(field.size() + 1), "new_size");
H A Drepeated_field.h144 void Truncate(int new_size);
151 // Like Truncate() if new_size <= size(), otherwise this is
1133 this->Truncate(this->current_size_ - num);
1171 Truncate(std::copy(last, cend(), begin() + first_offset) - cbegin());
1305 inline void RepeatedField<Element>::Truncate(int new_size) { function in class:google::protobuf::RepeatedField
H A Dwire_format_lite_inl.h379 values->Truncate(old_entries);
/external/v8/src/runtime/
H A Druntime-i18n.cc980 SeqString::Truncate(result, dest_length));

Completed in 629 milliseconds

12