Home
last modified time | relevance | path

Searched refs:Stat (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/flatbuffers/tests/MyGame/Example/
DMonsterStorageGrpc.java40 MyGame.Example.Stat> METHOD_STORE = getStoreMethod();
43 MyGame.Example.Stat> getStoreMethod;
59 private static volatile FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> extractorOfStat;
60 private static FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> getExtractorOfStat() { in getExtractorOfStat()
64 extractorOfStat = new FlatbuffersUtils.FBExtactor<MyGame.Example.Stat>() { in getExtractorOfStat()
65 public MyGame.Example.Stat extract (ByteBuffer buffer) { in getExtractorOfStat()
66 return MyGame.Example.Stat.getRootAsStat(buffer); in getExtractorOfStat()
75 MyGame.Example.Stat> getStoreMethod() { in getStoreMethod()
76 io.grpc.MethodDescriptor<MyGame.Example.Monster, MyGame.Example.Stat> getStoreMethod; in getStoreMethod()
81 io.grpc.MethodDescriptor.<MyGame.Example.Monster, MyGame.Example.Stat>newBuilder() in getStoreMethod()
[all …]
DStat.java11 public final class Stat extends Table { class
13 public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); } in getRootAsStat()
14 …public static Stat getRootAsStat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); r… in getRootAsStat()
16 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
31 Stat.addVal(builder, val); in createStat()
32 Stat.addId(builder, idOffset); in createStat()
33 Stat.addCount(builder, count); in createStat()
34 return Stat.endStat(builder); in createStat()
49 public Stat get(int j) { return get(new Stat(), j); } in get()
50 public Stat get(Stat obj, int j) { return obj.__assign(__indirect(__element(j), bb), bb); } in get()
DStat.cs12 public struct Stat : IFlatbufferObject struct
17 public static Stat GetRootAsStat(ByteBuffer _bb) { return GetRootAsStat(_bb, new Stat()); } in GetRootAsStat()
18 …public static Stat GetRootAsStat(ByteBuffer _bb, Stat obj) { return (obj.__assign(_bb.GetInt(_bb.P… in GetRootAsStat()
20 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
34 public static Offset<MyGame.Example.Stat> CreateStat(FlatBufferBuilder builder, in CreateStat() argument
39 Stat.AddVal(builder, val); in CreateStat()
40 Stat.AddId(builder, idOffset); in CreateStat()
41 Stat.AddCount(builder, count); in CreateStat()
42 return Stat.EndStat(builder); in CreateStat()
49 public static Offset<MyGame.Example.Stat> EndStat(FlatBufferBuilder builder) { in EndStat() argument
[all …]
DStat.lua7 local Stat = {} -- the module
10 function Stat.New()
15 function Stat.GetRootAsStat(buf, offset)
17 local o = Stat.New()
44 function Stat.Start(builder) builder:StartObject(3) end
45 function Stat.AddId(builder, id) builder:PrependUOffsetTRelativeSlot(0, id, 0) end
46 function Stat.AddVal(builder, val) builder:PrependInt64Slot(1, val, 0) end
47 function Stat.AddCount(builder, count) builder:PrependUint16Slot(2, count, 0) end
48 function Stat.End(builder) return builder:EndObject() end
50 return Stat -- return the module
DStat.go25 func (rcv *Stat) UnPackTo(t *StatT) {
31 func (rcv *Stat) UnPack() *StatT {
38 type Stat struct { struct
42 func GetRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat {
44 x := &Stat{}
49 func (rcv *Stat) Init(buf []byte, i flatbuffers.UOffsetT) { argument
54 func (rcv *Stat) Table() flatbuffers.Table { argument
58 func (rcv *Stat) Id() []byte { argument
66 func (rcv *Stat) Val() int64 { argument
74 func (rcv *Stat) MutateVal(n int64) bool { argument
[all …]
DMonsterStorage_grpc.go17 opts... grpc.CallOption) (* Stat, error)
35 opts... grpc.CallOption) (* Stat, error) {
36 out := new(Stat)
77 CloseAndRecv() (*Stat, error)
89 func (x *monsterStorageGetMaxHitPointClient) CloseAndRecv() (*Stat, error) {
91 m := new (Stat)
106 Recv() (*Stat, error)
118 func (x *monsterStorageGetMinMaxHitPointsClient) Recv() (*Stat, error) {
119 m := new(Stat)
127 Retrieve(*Stat, MonsterStorage_RetrieveServer) error argument
[all …]
DStat.kt11 class Stat : Table() { class
16 fun __assign(_i: Int, _bb: ByteBuffer) : Stat { in __assign()
57 fun getRootAsStat(_bb: ByteBuffer): Stat = getRootAsStat(_bb, Stat()) in validateVersion()
58 fun getRootAsStat(_bb: ByteBuffer, obj: Stat): Stat { in validateVersion()
DStat.php11 class Stat extends Table class
15 * @return Stat
19 $obj = new Stat();
41 * @return Stat
85 * @return Stat
/external/flatbuffers/tests/
Dmonster_test.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
Dmonster_test.grpc.fb.cc38 …, const flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) { in Store()
42 ::grpc::ClientAsyncResponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::AsyncSt… in AsyncStoreRaw()
43 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in AsyncStoreRaw()
46 ::grpc::ClientAsyncResponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::Prepare… in PrepareAsyncStoreRaw()
47 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in PrepareAsyncStoreRaw()
50 …tub::RetrieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in RetrieveRaw()
54 …rieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieveRaw()
58 …rieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieveRaw()
62 …ub::GetMaxHitPointRaw(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPointRaw()
66 …MaxHitPointRaw(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPointRaw()
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DBackgroundQueue.cpp32 ++Stat.Active; in work()
48 ++Stat.Completed; in work()
49 if (Stat.Active == 1 && Queue.empty()) { in work()
51 assert(ShouldStop || Stat.Completed == Stat.Enqueued); in work()
52 Stat.LastIdle = Stat.Completed; in work()
59 assert(Stat.Active > 0 && "before decrementing"); in work()
60 --Stat.Active; in work()
81 ++Stat.Enqueued; in push()
94 Stat.Enqueued += Tasks.size(); in append()
123 [&] { return Queue.empty() && Stat.Active == 0; }); in blockUntilIdleForTest()
[all …]
/external/flatbuffers/grpc/tests/
DJavaGrpcTest.java19 import MyGame.Example.Stat;
54 public void store(Monster request, io.grpc.stub.StreamObserver<Stat> responseObserver) { in store()
60 Stat stat = GameFactory.createStat("Hello " + request.name(), 100, 10); in store()
66 public void retrieve(Stat request, io.grpc.stub.StreamObserver<Monster> responseObserver) { in retrieve()
76 public StreamObserver<Monster> getMaxHitPoint(final StreamObserver<Stat> responseObserver) { in getMaxHitPoint()
81 … public StreamObserver<Monster> getMinMaxHitPoints(final StreamObserver<Stat> responseObserver) { in getMinMaxHitPoints()
85 …private StreamObserver<Monster> computeMinMax(final StreamObserver<Stat> responseObserver, final b… in computeMinMax()
119Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
124Stat minHpStat = GameFactory.createStat(minHpMonsterName.get(), minHp.get(), minHpCount.get()); in computeMinMax()
154 Stat stat = blockingStub.store(monsterRequest);
[all …]
Dgrpctest.py12 import MyGame.Example.Stat as Stat namespace
81 Stat.StatStart(b)
82 Stat.StatAddId(b, i)
83 Stat.StatAddVal(b, test_stat_val)
84 Stat.StatAddCount(b, test_stat_count)
85 b.Finish(Stat.StatEnd(b))
90 s = Stat.Stat().GetRootAsStat(request, 0)
159 s = Stat.Stat().GetRootAsStat(stat_response, 0)
DGameFactory.java3 import MyGame.Example.Stat;
23 public static Monster createMonsterFromStat(Stat stat, int seqNo) { in createMonsterFromStat()
34 public static Stat createStat(String greeting, long val, int count) { in createStat()
36 int statOffset = Stat.createStat(builder, builder.createString(greeting), val, count); in createStat()
38 Stat stat = Stat.getRootAsStat(builder.dataBuffer()); in createStat()
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp25 llvm::ErrorOr<llvm::vfs::Status> Stat = (*MaybeFile)->status(); in createFileEntry() local
26 if (!Stat) in createFileEntry()
27 return Stat.getError(); in createFileEntry()
31 F.getBuffer(Stat->getName()); in createFileEntry()
45 Result.MaybeStat = std::move(*Stat); in createFileEntry()
56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(), in createFileEntry()
57 Stat->getLastModificationTime(), in createFileEntry()
58 Stat->getUser(), Stat->getGroup(), Size, in createFileEntry()
59 Stat->getType(), Stat->getPermissions()); in createFileEntry()
95 CachedFileSystemEntry::createDirectoryEntry(llvm::vfs::Status &&Stat) { in createDirectoryEntry() argument
[all …]
/external/llvm-project/llvm/unittests/Support/
DVirtualFileSystemTest.cpp856 auto Stat = PFS.status("/a"); in TEST() local
857 ASSERT_FALSE(Stat.getError()); in TEST()
907 auto Stat = FS.status("/a"); in TEST_F() local
908 ASSERT_EQ(Stat.getError(), errc::no_such_file_or_directory) << FS.toString(); in TEST_F()
909 Stat = FS.status("/"); in TEST_F()
910 ASSERT_EQ(Stat.getError(), errc::no_such_file_or_directory) << FS.toString(); in TEST_F()
915 auto Stat = FS.status("c:"); in TEST_F() local
917 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
919 Stat = FS.status("c:/windows/system128/foo.cpp"); in TEST_F()
920 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); in TEST_F()
[all …]
/external/lzma/CPP/7zip/UI/GUI/
DExtractGUI.cpp99 CDecompressStat Stat; in ProcessVirt() local
115 FinalMessage.ErrorMessage.Message, Stat); in ProcessVirt()
122 AddValuePair(Pairs, IDS_ARCHIVES_COLON, Stat.NumArchives); in ProcessVirt()
123 AddSizeValuePair(Pairs, IDS_PROP_PACKED_SIZE, Stat.PackSize); in ProcessVirt()
130 AddValuePair(s, IDS_ARCHIVES_COLON, Stat.NumArchives, false); in ProcessVirt()
131 AddSizePair(s, IDS_PROP_PACKED_SIZE, Stat.PackSize); in ProcessVirt()
133 if (Stat.NumFolders != 0) in ProcessVirt()
134 AddValuePair(s, IDS_PROP_FOLDERS, Stat.NumFolders); in ProcessVirt()
135 AddValuePair(s, IDS_PROP_FILES, Stat.NumFiles); in ProcessVirt()
136 AddSizePair(s, IDS_PROP_SIZE, Stat.UnpackSize); in ProcessVirt()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStatistic.cpp155 for (auto *Stat : Stats) { in reset() local
158 Stat->Initialized = false; in reset()
159 Stat->Value = 0; in reset()
209 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local
211 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
213 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
215 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
216 << Stat->getValue(); in PrintStatisticsJSON()
258 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local
259 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()
/external/llvm-project/llvm/lib/Support/
DStatistic.cpp155 for (auto *Stat : Stats) { in reset() local
158 Stat->Initialized = false; in reset()
159 Stat->Value = 0; in reset()
209 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local
211 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
213 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
215 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
216 << Stat->getValue(); in PrintStatisticsJSON()
258 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local
259 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()
/external/llvm-project/clang-tools-extra/clangd/support/
DFileCache.cpp50 auto Stat = FS->status(Path); in read() local
51 if (!Stat || !Stat->isRegularFile()) { in read()
59 if (Size == Stat->getSize() && in read()
60 ModifiedTime == Stat->getLastModificationTime()) in read()
64 Size = Stat->getSize(); in read()
65 ModifiedTime = Stat->getLastModificationTime(); in read()
/external/tensorflow/tensorflow/core/util/
Dstats_calculator.h34 class Stat {
49 void Reset() { new (this) Stat<ValueType, HighPrecisionValueType>(); } in Reset()
105 const Stat<ValueType>& stat) {
161 const Stat<int64_t>& run_total_us() const { return run_total_us_; } in run_total_us()
173 Stat<int64_t> start_us;
174 Stat<int64_t> rel_end_us;
175 Stat<int64_t> mem_used;
192 const Stat<int64_t>& stat) const;
194 Stat<int64_t> run_total_us_;
195 Stat<int64_t> memory_;
/external/crosvm/crosvm_plugin/src/
Dstats.rs5 use crate::Stat;
21 entries: [StatEntry; Stat::Count as usize],
29 }; Stat::Count as usize],
43 pub fn record(&mut self, idx: Stat) -> StatUpdater { in record()
51 for idx in 0..Stat::Count as usize { in print()
53 let stat = unsafe { std::mem::transmute::<u8, Stat>(idx as u8) }; in print()
Dlib.rs166 pub enum Stat { enum
226 fn record(a: Stat) -> stats::StatUpdater { in record()
231 fn record(_a: Stat) -> u32 { in record()
772 let _u = record(Stat::IoEvent); in crosvm_io_event_fd()
845 let _u = record(Stat::MemoryGetDirtyLog); in crosvm_memory_get_dirty_log()
907 let _u = record(Stat::IrqEventGetFd); in crosvm_irq_event_get_fd()
913 let _u = record(Stat::IrqEventGetResampleFd); in crosvm_irq_event_get_resample_fd()
1364 let _u = record(Stat::Connect); in crosvm_connect()
1387 let _u = record(Stat::NewConnection); in crosvm_new_connection()
1400 let _u = record(Stat::DestroyConnection); in crosvm_destroy_connection()
[all …]
/external/libabigail/tests/data/test-diff-pkg/
Dlibcdio-0.94-1.fc26.x86_64--libcdio-0.94-2.fc26.x86_64-report.1.txt49 …thod void std::vector<ISO9660::Stat*, std::allocator<ISO9660::Stat*> >::_M_emplace_back_aux<ISO966…
53Stat*, std::allocator<ISO9660::Stat*> >::_M_realloc_insert<ISO9660::Stat*>(std::vector<ISO9660::St…
/external/llvm-project/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.h40 struct Stat { struct
41 Stat() {} in Stat() function
42 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() function
52 using KindAndStat = std::pair<uint32_t, Stat>;
60 Stat Totals;
61 DenseMap<uint32_t, Stat> Individual;

12345678910