Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DScaledNumber.cpp285 size_t Truncate =
289 if (Truncate >= Str.size())
292 bool Carry = doesRoundUp(Str[Truncate]);
294 return stripTrailingZeros(Str.substr(0, Truncate));
297 for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend();
312 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
/third_party/NuttX/fs/vfs/
H A Dfs_truncate.c64 if (!vnode || !vnode->vop || !vnode->vop->Truncate) in file_truncate()
74 ret = vnode->vop->Truncate(vnode, length); in file_truncate()
H A Dfs_open.c266 if (vnode->vop->Truncate) in fp_open()
268 ret = vnode->vop->Truncate(vnode, 0); in fp_open()
/third_party/node/src/quic/
H A Dpacket.cc82 void Packet::Truncate(size_t len) { in Truncate() function in node::quic::Packet
265 packet->Truncate(static_cast<size_t>(nwrite)); in CreateRetryPacket()
282 packet->Truncate(static_cast<size_t>(nwrite)); in CreateConnectionClosePacket()
310 packet->Truncate(static_cast<size_t>(nwrite)); in CreateImmediateConnectionClosePacket()
346 packet->Truncate(static_cast<size_t>(nwrite)); in CreateStatelessResetPacket()
399 packet->Truncate(static_cast<size_t>(nwrite)); in CreateVersionNegotiationPacket()
H A Dpacket.h95 void Truncate(size_t len);
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_camera_profile.cpp1268 baseName.Truncate (len - 5); in SplitCameraProfileName()
1284 temp.Truncate (len - 1); in SplitCameraProfileName()
1289 baseName.Truncate (len - 7); in SplitCameraProfileName()
1311 temp.Truncate (len - 1); in SplitCameraProfileName()
1316 baseName.Truncate (len - 3); in SplitCameraProfileName()
H A Ddng_iptc.cpp653 ss.Truncate (maxChars); in SpoolString()
686 sss.Truncate (middle); in SpoolString()
706 ss.Truncate (lower); in SpoolString()
H A Ddng_string.h81 void Truncate (uint32 maxBytes);
/third_party/ninja/src/
H A Dutil.h111 bool Truncate(const std::string& path, size_t size, std::string* err);
H A Dbuild_log_test.cc124 TEST_F(BuildLogTest, Truncate) { in TEST_F()
158 ASSERT_TRUE(Truncate(kTestFilename, size, &err)); in TEST_F()
H A Ddeps_log_test.cc419 ASSERT_TRUE(Truncate(kTestFilename, size, &err)); in TEST_F()
477 ASSERT_TRUE(Truncate(kTestFilename, st.st_size - 2, &err)); in TEST_F()
H A Ddeps_log.cc268 if (!Truncate(path, offset, err)) in Load()
/third_party/node/deps/v8/src/interpreter/
H A Dbytecode-register.h130 const RegisterList Truncate(int new_count) { in Truncate() function in v8::internal::interpreter::RegisterList
/third_party/node/deps/v8/src/asmjs/
H A Dasm-js.cc141 text.Truncate(length); in ReportCompilationSuccess()
161 text.Truncate(length); in ReportInstantiationSuccess()
/third_party/node/deps/v8/src/strings/
H A Dstring-builder-inl.h271 Handle<String> result = SeqString::Truncate(string, length); in Finalize()
328 set_current_part(SeqString::Truncate( in ShrinkCurrentPart()
/third_party/node/deps/v8/src/base/
H A Dvector.h90 void Truncate(size_t length) { in Truncate() function in v8::base::Vector
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-builder.h150 void Truncate(size_t size) { in Truncate() function in v8::internal::wasm::ZoneBuffer
H A Dstreaming-decoder.cc536 buf.Truncate(offset() + new_bytes); in ReadBytes()
H A Dwasm-module-builder.cc221 body_.Truncate(position); in DeleteCodeAfter()
/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.h224 void Truncate(int new_size);
235 // Like Truncate() if new_size <= size(), otherwise this is
1406 this->Truncate(this->current_size_ - num); in ExtractSubrange()
1444 Truncate(std::copy(last, cend(), begin() + first_offset) - cbegin()); in erase()
1610 inline void RepeatedField<Element>::Truncate(int new_size) { in Truncate() function in google::protobuf::RepeatedField
H A Drepeated_field_unittest.cc732 TEST(RepeatedField, Truncate) { in TEST()
741 field.Truncate(3); in TEST()
750 field.Truncate(field.size()); in TEST()
752 EXPECT_DEBUG_DEATH(field.Truncate(field.size() + 1), "new_size"); in TEST()
/third_party/node/src/
H A Dutil.h596 void Truncate(size_t new_size) { in Truncate() function
602 Truncate(new_size); in Realloc()
/third_party/node/deps/v8/src/objects/
H A Dstring.h692 // Truncate the string in-place if possible and return the result.
695 V8_WARN_UNUSED_RESULT static Handle<String> Truncate(Handle<SeqString> string,
/third_party/node/tools/
H A Dtest.py481 def Truncate(self, str, length): member in CompactProgressIndicator
498 status = self.Truncate(status, 78)
/third_party/node/deps/v8/src/baseline/
H A Dbaseline-compiler.cc1280 args = args.Truncate(args.register_count() - 1); in VisitCallWithSpread()
1457 args = args.Truncate(args.register_count() - 1); in VisitConstructWithSpread()

Completed in 29 milliseconds

12