/external/tensorflow/tensorflow/core/platform/ |
D | protobuf.cc | 23 TStringOutputStream::TStringOutputStream(tstring* target) : target_(target) {} in TStringOutputStream() 26 size_t old_size = target_->size(); in Next() 29 if (old_size < target_->capacity()) { in Next() 32 target_->resize_uninitialized(target_->capacity()); in Next() 42 target_->resize_uninitialized(std::max( in Next() 47 *data = target_->data() + old_size; in Next() 48 *size = target_->size() - old_size; in Next() 53 target_->resize(target_->size() - count); in BackUp() 56 int64_t TStringOutputStream::ByteCount() const { return target_->size(); } in ByteCount()
|
D | env.h | 501 explicit EnvWrapper(Env* t) : target_(t) {} in EnvWrapper() 505 Env* target() const { return target_; } in target() 509 return target_->GetFileSystemForFile(fname, result); in GetFileSystemForFile() 513 return target_->GetRegisteredFileSystemSchemes(schemes); in GetRegisteredFileSystemSchemes() 518 return target_->RegisterFileSystem(scheme, factory); in RegisterFileSystem() 522 return target_->MatchPath(path, pattern); in MatchPath() 525 uint64 NowMicros() const override { return target_->NowMicros(); } in NowMicros() 527 target_->SleepForMicroseconds(micros); in SleepForMicroseconds() 532 return target_->StartThread(thread_options, name, fn); in StartThread() 534 int32 GetCurrentThreadId() override { return target_->GetCurrentThreadId(); } in GetCurrentThreadId() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | rcssmin.c | 181 const rchar **source_, rchar **target_, rcssmin_ctx_t *ctx) in copy_match() argument 184 rchar *target = *target_; in copy_match() 193 *target_ = target; in copy_match() 213 const rchar **source_, rchar **target_, rcssmin_ctx_t *ctx) in copy_imatch() argument 216 rchar *target = *target_; in copy_imatch() 228 *target_ = target; in copy_imatch() 248 copy(const rchar *source, const rchar *sentinel, rchar **target_, in copy() argument 251 rchar *target = *target_; in copy() 256 *target_ = target; in copy() 277 *target_ = target; \ [all …]
|
/external/leveldb/include/leveldb/ |
D | env.h | 338 explicit EnvWrapper(Env* t) : target_(t) {} in EnvWrapper() 342 Env* target() const { return target_; } in target() 346 return target_->NewSequentialFile(f, r); in NewSequentialFile() 350 return target_->NewRandomAccessFile(f, r); in NewRandomAccessFile() 353 return target_->NewWritableFile(f, r); in NewWritableFile() 356 return target_->NewAppendableFile(f, r); in NewAppendableFile() 359 return target_->FileExists(f); in FileExists() 363 return target_->GetChildren(dir, r); in GetChildren() 366 return target_->RemoveFile(f); in RemoveFile() 369 return target_->CreateDir(d); in CreateDir() [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/coordination/ |
D | grpc_coordination_client.cc | 65 : stub_(channel), cq_(cq), target_(target) {} in GrpcCoordinationClient() 68 : stub_(channel), target_(target) { in GrpcCoordinationClient() 82 &target_); in RegisterTaskAsync() 92 &target_); in WaitForAllTasksAsync() 103 &target_); in ShutdownTaskAsync() 113 &target_); in ResetTaskAsync() 125 /*fail_fast=*/true, &target_); in HeartbeatAsync() 136 &target_); in ReportErrorToTaskAsync() 146 &target_); in ReportErrorToServiceAsync() 156 &target_); in InsertKeyValueAsync() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_buffer.h | 43 : target_(target), in GlBuffer() 94 const GLenum target() const { return target_; } in target() 109 GLenum target_; variable 211 BufferBinder(GLenum target, GLuint id) : target_(target), prev_id_(0) { in BufferBinder() 212 TFLITE_GPU_CALL_GL(glBindBuffer, target_, id).IgnoreError(); in BufferBinder() 216 : target_(target), prev_id_(prev_id) { in BufferBinder() 217 TFLITE_GPU_CALL_GL(glBindBuffer, target_, id).IgnoreError(); in BufferBinder() 221 TFLITE_GPU_CALL_GL(glBindBuffer, target_, prev_id_).IgnoreError(); in ~BufferBinder() 225 const GLenum target_; 239 const GLenum target_; [all …]
|
D | gl_buffer.cc | 53 : GlBuffer(buffer.target_, buffer.id_, buffer.bytes_size_, buffer.offset_, in GlBuffer() 62 target_ = buffer.target_; in operator =() 82 return TFLITE_GPU_CALL_GL(glBindBufferRange, target_, index, id_, offset_, in BindToIndex() 91 *gl_buffer = GlBuffer(target_, id_, bytes_size, offset_ + offset, in MakeView() 97 return GlBuffer(target_, id_, bytes_size_, offset_, in MakeRef() 154 : target_(target), in BufferMapper() 155 data_(glMapBufferRange(target_, offset, bytes, access)) {} in BufferMapper() 158 TFLITE_GPU_CALL_GL(glUnmapBuffer, target_).IgnoreError(); in ~BufferMapper()
|
D | gl_texture.h | 45 target_(target), in GlTexture() 71 GLenum target() const { return target_; } in target() 93 GLenum target_; variable 187 TextureBinder(GLenum target, GLuint id) : target_(target) { in TextureBinder() 188 TFLITE_GPU_CALL_GL(glBindTexture, target_, id).IgnoreError(); in TextureBinder() 192 TFLITE_GPU_CALL_GL(glBindTexture, target_, 0).IgnoreError(); in ~TextureBinder() 196 const GLenum target_;
|
/external/cronet/base/files/ |
D | file_path_watcher_win.cc | 62 FilePath target_; member in base::__anonf7b9a1560111::FilePathWatcherImpl 94 DCHECK(target_.value().empty()); // Can only watch one path. in Watch() 98 target_ = path; in Watch() 103 if (GetFileInfo(target_, &file_info)) { in Watch() 141 callback_.Run(target_, true /* error */); in OnObjectSignaled() 150 file_exists = GetFileInfo(target_, &file_info); in OnObjectSignaled() 159 callback_.Run(target_, false); in OnObjectSignaled() 164 callback_.Run(target_, false); in OnObjectSignaled() 185 callback_.Run(target_, false); in OnObjectSignaled() 188 callback_.Run(target_, false); in OnObjectSignaled() [all …]
|
D | file_path_watcher_inotify.cc | 252 FilePath target_; member in base::__anona8b77b2a0111::FilePathWatcherImpl 489 (change_on_target_path && created && PathExists(target_))) { in OnFilePathChanged() 498 callback_.Run(target_.Append(child), in OnFilePathChanged() 501 callback_.Run(target_, /*error=*/false); // `this` may be deleted. in OnFilePathChanged() 517 callback_.Run(target_, /*error=*/false); // `this` may be deleted. in OnFilePathChanged() 532 callback.Run(target_, /*error=*/true); // `this` may be deleted. in OnFilePathChanged() 559 DCHECK(target_.empty()); in Watch() 563 target_ = path; in Watch() 566 std::vector<FilePath::StringType> comps = target_.GetComponents(); in Watch() 605 target_.clear(); in Cancel() [all …]
|
D | file_path_watcher_fsevents.cc | 119 target_.clear(); in Cancel() 185 weak_factory_.GetWeakPtr(), paths, target_, resolved_target_)); in OnFilePathsChanged() 243 weak_factory_.GetWeakPtr(), target_)); in UpdateEventStream() 248 FilePath resolved = ResolvePath(target_).StripTrailingSeparators(); in ResolveTargetPath() 254 weak_factory_.GetWeakPtr(), target_)); in ResolveTargetPath() 277 target_ = path; in StartEventStream()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 138 StringOutputStream::StringOutputStream(std::string* target) : target_(target) {} in StringOutputStream() 141 GOOGLE_CHECK(target_ != NULL); in Next() 142 size_t old_size = target_->size(); in Next() 146 if (old_size < target_->capacity()) { in Next() 149 new_size = target_->capacity(); in Next() 158 target_, in Next() 162 *data = mutable_string_data(target_) + old_size; in Next() 163 *size = target_->size() - old_size; in Next() 169 GOOGLE_CHECK(target_ != NULL); in BackUp() 170 GOOGLE_CHECK_LE(static_cast<size_t>(count), target_->size()); in BackUp() [all …]
|
/external/cronet/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 138 StringOutputStream::StringOutputStream(std::string* target) : target_(target) {} in StringOutputStream() 141 GOOGLE_CHECK(target_ != NULL); in Next() 142 size_t old_size = target_->size(); in Next() 146 if (old_size < target_->capacity()) { in Next() 149 new_size = target_->capacity(); in Next() 158 target_, in Next() 162 *data = mutable_string_data(target_) + old_size; in Next() 163 *size = target_->size() - old_size; in Next() 169 GOOGLE_CHECK(target_ != NULL); in BackUp() 170 GOOGLE_CHECK_LE(static_cast<size_t>(count), target_->size()); in BackUp() [all …]
|
/external/webrtc/test/logging/ |
D | memory_log_writer.cc | 24 : target_(target), filename_(filename) {} in MemoryLogWriter() 25 ~MemoryLogWriter() final { target_->insert({filename_, std::move(buffer_)}); } in ~MemoryLogWriter() 34 std::map<std::string, std::string>* const target_; member in webrtc::__anon9820681b0111::MemoryLogWriter 42 : target_(target) {} in MemoryLogWriterFactory() 46 return std::make_unique<MemoryLogWriter>(target_, filename); in Create() 50 std::map<std::string, std::string>* const target_; member in webrtc::__anon9820681b0111::MemoryLogWriterFactory
|
/external/cronet/net/http/ |
D | http_auth_controller.cc | 51 : target_(target), in HttpAuthController() 75 return ControllerParamsToValue(target_, auth_url_); in BindToCallingNetLog() 128 auth_scheme_host_port_, target_, network_anonymization_key_, auth_path_); in SelectPreemptiveAuth() 138 entry->auth_challenge(), target_, network_anonymization_key_, in SelectPreemptiveAuth() 160 HttpAuth::GetAuthorizationHeaderName(target_), auth_token_); in AddAuthorizationHeader() 187 handler_.get(), *headers, target_, disabled_schemes_, &challenge_used); in HandleAuthChallenge() 199 auth_scheme_host_port_, target_, handler_->realm(), in HandleAuthChallenge() 228 bool can_send_auth = (target_ != HttpAuth::AUTH_SERVER || in HandleAuthChallenge() 236 network_anonymization_key_, target_, auth_scheme_host_port_, in HandleAuthChallenge() 245 DCHECK_EQ(target_, HttpAuth::AUTH_PROXY); in HandleAuthChallenge() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/ |
D | fake_security_connector.cc | 56 target_(gpr_strdup(target)), in grpc_fake_channel_security_connector() 73 gpr_free(target_); in ~grpc_fake_channel_security_connector() 92 c = strcmp(target_, other->target_); in cmp() 120 grpc_core::SplitHostPort(target_, &target_hostname, &target_ignored_port); in check_call_host() 136 target_); in check_call_host() 147 char* target() const { return target_; } in target() 189 if (!fake_check_target(target_, lbs_and_backends[1])) { in fake_secure_name_check() 191 target_, lbs_and_backends[1]); in fake_secure_name_check() 196 if (!fake_check_target(target_, lbs_and_backends[0])) { in fake_secure_name_check() 198 target_, lbs_and_backends[0]); in fake_secure_name_check() [all …]
|
/external/google-breakpad/src/common/mac/ |
D | scoped_task_suspend-inl.h | 42 explicit ScopedTaskSuspend(mach_port_t target) : target_(target) { in ScopedTaskSuspend() 43 task_suspend(target_); in ScopedTaskSuspend() 47 task_resume(target_); in ~ScopedTaskSuspend() 51 mach_port_t target_;
|
/external/cronet/net/cert/internal/ |
D | trust_store_nss_unittest.cc | 167 target_ = chain[0]; in SetUp() 170 ASSERT_TRUE(target_); in SetUp() 222 AddCertToNSSSlot(target_.get(), test_nssdb_.slot()); in AddCertsToNSS() 231 TrustStoreContains(target_, {newintermediate_, oldintermediate_})); in AddCertsToNSS() 351 if (cert->der_cert() == target_->der_cert()) in GetCertString() 388 std::shared_ptr<const ParsedCertificate> target_; member in net::__anon074dc0030111::TrustStoreNSSTestBase 458 trust_store_nss_->GetTrust(target_.get(), &debug_data); in TEST_P() 471 EXPECT_TRUE(TrustStoreContains(target_, ParsedCertificateList())); in TEST_P() 474 EXPECT_TRUE(HasTrust({target_}, CertificateTrust::ForUnspecified())); in TEST_P() 487 EXPECT_TRUE(TrustStoreContains(target_, {newintermediate_})); in TEST_P() [all …]
|
/external/cronet/base/test/ |
D | test_mock_time_task_runner.cc | 35 : target_(target) { in NonOwningProxyTaskRunner() 36 DCHECK(target_); in NonOwningProxyTaskRunner() 47 target_ = nullptr; in Detach() 53 if (target_) in RunsTasksInCurrentSequence() 54 return target_->RunsTasksInCurrentSequence(); in RunsTasksInCurrentSequence() 62 if (target_) in PostDelayedTask() 63 return target_->PostDelayedTask(from_here, std::move(task), delay); in PostDelayedTask() 73 if (target_) { in PostNonNestableDelayedTask() 74 return target_->PostNonNestableDelayedTask(from_here, std::move(task), in PostNonNestableDelayedTask() 87 raw_ptr<SingleThreadTaskRunner> target_; // guarded by lock_ member in base::TestMockTimeTaskRunner::NonOwningProxyTaskRunner
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 71 : target_(target) { in NonOwningProxyTaskRunner() 72 DCHECK(target_); in NonOwningProxyTaskRunner() 80 target_ = nullptr; in Detach() 86 if (target_) in RunsTasksInCurrentSequence() 87 return target_->RunsTasksInCurrentSequence(); in RunsTasksInCurrentSequence() 95 if (target_) in PostDelayedTask() 96 return target_->PostDelayedTask(from_here, std::move(task), delay); in PostDelayedTask() 106 if (target_) { in PostNonNestableDelayedTask() 107 return target_->PostNonNestableDelayedTask(from_here, std::move(task), in PostNonNestableDelayedTask() 120 SingleThreadTaskRunner* target_; // guarded by lock_ member in base::TestMockTimeTaskRunner::NonOwningProxyTaskRunner
|
/external/libchrome/base/files/ |
D | file_path_watcher_linux.cc | 196 FilePath target_; member in base::__anon662bcc420111::FilePathWatcherImpl 440 (change_on_target_path && created && PathExists(target_))) { in OnFilePathChangedOnOriginSequence() 445 callback_.Run(target_, false /* error */); in OnFilePathChangedOnOriginSequence() 453 callback_.Run(target_, false /* error */); in OnFilePathChangedOnOriginSequence() 460 DCHECK(target_.empty()); in Watch() 464 target_ = path; in Watch() 468 target_.GetComponents(&comps); in Watch() 493 target_.clear(); in Cancel() 536 if (!DirectoryExists(target_)) { in UpdateRecursiveWatches() 545 UpdateRecursiveWatchesForPath(target_); in UpdateRecursiveWatches() [all …]
|
D | file_path_watcher_fsevents.cc | 119 target_.clear(); in Cancel() 185 paths, target_, resolved_target_)); in OnFilePathsChanged() 243 weak_factory_.GetWeakPtr(), target_)); in UpdateEventStream() 248 FilePath resolved = ResolvePath(target_).StripTrailingSeparators(); in ResolveTargetPath() 254 weak_factory_.GetWeakPtr(), target_)); in ResolveTargetPath() 277 target_ = path; in StartEventStream()
|
/external/libchrome/base/message_loop/ |
D | message_pump_perftest.cc | 81 target_.reset(new Thread("target")); in ScheduleWork() 82 target_->StartWithOptions(Thread::Options(target_type, 0u)); in ScheduleWork() 89 target_->WaitUntilThreadStarted(); in ScheduleWork() 119 target_->Stop(); in ScheduleWork() 120 target_.reset(); in ScheduleWork() 175 return target_->message_loop(); in target_message_loop() 179 std::unique_ptr<Thread> target_; member in base::ScheduleWorkTest
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/ |
D | ChannelData.java | 23 target_ = ""; in ChannelData() 76 target_ = s; in ChannelData() 181 private volatile java.lang.Object target_; field in ChannelData 190 java.lang.Object ref = target_; in getTarget() 197 target_ = s; in getTarget() 210 java.lang.Object ref = target_; in getTargetBytes() 215 target_ = b; in getTargetBytes() 343 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, target_); in writeTo() 373 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, target_); in getSerializedSize() 607 target_ = ""; in clear() [all …]
|
/external/cronet/net/cert/pki/ |
D | path_builder_unittest.cc | 952 target_ = path[0]; in SetUp() 957 ASSERT_TRUE(target_); in SetUp() 985 std::shared_ptr<const ParsedCertificate> target_; member in net::__anonf47514bc0111::PathBuilderKeyRolloverTest 1019 target_, &trust_store, &delegate_, time_, KeyPurpose::ANY_EKU, in TEST_F() 1036 EXPECT_EQ(target_, path0.certs[0]); in TEST_F() 1057 target_, &trust_store, &delegate_, time_, KeyPurpose::ANY_EKU, in TEST_F() 1070 EXPECT_EQ(target_, path.certs[0]); in TEST_F() 1084 target_, &trust_store, &delegate_, time_, KeyPurpose::ANY_EKU, in TEST_F() 1096 EXPECT_EQ(target_, path.certs[0]); in TEST_F() 1111 target_, &trust_store, &delegate_, time_, KeyPurpose::ANY_EKU, in TEST_F() [all …]
|