/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 285 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 D | fs_truncate.c | 64 if (!vnode || !vnode->vop || !vnode->vop->Truncate) in file_truncate() 74 ret = vnode->vop->Truncate(vnode, length); in file_truncate()
|
H A D | fs_open.c | 266 if (vnode->vop->Truncate) in fp_open() 268 ret = vnode->vop->Truncate(vnode, 0); in fp_open()
|
/third_party/node/src/quic/ |
H A D | packet.cc | 82 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 D | packet.h | 95 void Truncate(size_t len);
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_camera_profile.cpp | 1268 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 D | dng_iptc.cpp | 653 ss.Truncate (maxChars); in SpoolString() 686 sss.Truncate (middle); in SpoolString() 706 ss.Truncate (lower); in SpoolString()
|
H A D | dng_string.h | 81 void Truncate (uint32 maxBytes);
|
/third_party/ninja/src/ |
H A D | util.h | 111 bool Truncate(const std::string& path, size_t size, std::string* err);
|
H A D | build_log_test.cc | 124 TEST_F(BuildLogTest, Truncate) {
in TEST_F() 158 ASSERT_TRUE(Truncate(kTestFilename, size, &err));
in TEST_F()
|
H A D | deps_log_test.cc | 419 ASSERT_TRUE(Truncate(kTestFilename, size, &err)); in TEST_F() 477 ASSERT_TRUE(Truncate(kTestFilename, st.st_size - 2, &err)); in TEST_F()
|
H A D | deps_log.cc | 268 if (!Truncate(path, offset, err)) in Load()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-register.h | 130 const RegisterList Truncate(int new_count) { in Truncate() function in v8::internal::interpreter::RegisterList
|
/third_party/node/deps/v8/src/asmjs/ |
H A D | asm-js.cc | 141 text.Truncate(length); in ReportCompilationSuccess() 161 text.Truncate(length); in ReportInstantiationSuccess()
|
/third_party/node/deps/v8/src/strings/ |
H A D | string-builder-inl.h | 271 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 D | vector.h | 90 void Truncate(size_t length) { in Truncate() function in v8::base::Vector
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-module-builder.h | 150 void Truncate(size_t size) { in Truncate() function in v8::internal::wasm::ZoneBuffer
|
H A D | streaming-decoder.cc | 536 buf.Truncate(offset() + new_bytes); in ReadBytes()
|
H A D | wasm-module-builder.cc | 221 body_.Truncate(position); in DeleteCodeAfter()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field.h | 224 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 D | repeated_field_unittest.cc | 732 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 D | util.h | 596 void Truncate(size_t new_size) { in Truncate() function 602 Truncate(new_size); in Realloc()
|
/third_party/node/deps/v8/src/objects/ |
H A D | string.h | 692 // 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 D | test.py | 481 def Truncate(self, str, length): member in CompactProgressIndicator 498 status = self.Truncate(status, 78)
|
/third_party/node/deps/v8/src/baseline/ |
H A D | baseline-compiler.cc | 1280 args = args.Truncate(args.register_count() - 1); in VisitCallWithSpread() 1457 args = args.Truncate(args.register_count() - 1); in VisitConstructWithSpread()
|