Home
last modified time | relevance | path

Searched refs:obs (Results 1 – 25 of 41) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dobservable_unittest.cpp39 PseudoObservable obs; in TEST() local
41 PseudoObservable::ObservedPtr ptr(&obs); in TEST()
43 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST()
45 EXPECT_EQ(0u, obs.ActiveObservedPtrs()); in TEST()
49 PseudoObservable obs; in TEST() local
51 PseudoObservable::ObservedPtr ptr(&obs); in TEST()
53 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST()
57 EXPECT_EQ(2u, obs.ActiveObservedPtrs()); in TEST()
59 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST()
61 EXPECT_EQ(0u, obs.ActiveObservedPtrs()); in TEST()
[all …]
/external/compiler-rt/test/msan/Linux/
Dobstack.cc17 obstack obs; in main() local
18 obstack_init(&obs); in main()
20 void *p = obstack_alloc(&obs, sz); in main()
22 obstack_grow(&obs, &data, sizeof(data)); in main()
23 obstack_blank(&obs, sz); in main()
24 obstack_grow(&obs, &data, sizeof(data)); in main()
25 obstack_int_grow(&obs, 13); in main()
26 p = obstack_finish(&obs); in main()
36 obstack_free(&obs, 0); in main()
/external/tensorflow/tensorflow/contrib/autograph/examples/benchmarks/
Dcartpole_benchmark.py126 obs = cart_pole_env.reset()
127 with tf.control_dependencies([obs]):
134 logits, actions = self(obs) # pylint:disable=not-callable
147 obs, reward, done = cart_pole_env.step(actions)
148 with tf.control_dependencies([obs]):
150 obs = tf.reshape(obs, (1, 4))
216 obs = ag.utils.wrap_py_func(self.env.reset, tf.float64, ())
217 obs = tf.reshape(obs, (1, 4))
218 obs = tf.cast(obs, tf.float32)
219 return obs
[all …]
/external/perfetto/src/trace_processor/
Dstorage_table.cc38 auto obs = RemoveRedundantOrderBy(cs, qc.order_by()); in CreateBestRowIterator() local
43 std::tie(is_ordered, is_desc) = IsOrdered(obs); in CreateBestRowIterator()
58 new VectorRowIterator(CreateSortedIndexVector(std::move(index), obs))); in CreateBestRowIterator()
102 const std::vector<QueryConstraints::OrderBy>& obs) { in IsOrdered() argument
103 if (obs.size() == 0) in IsOrdered()
106 if (obs.size() != 1) in IsOrdered()
109 const auto& ob = obs[0]; in IsOrdered()
116 const std::vector<QueryConstraints::OrderBy>& obs) { in RemoveRedundantOrderBy() argument
123 for (const auto& o : obs) { in RemoveRedundantOrderBy()
133 const std::vector<QueryConstraints::OrderBy>& obs) { in CreateSortedIndexVector() argument
[all …]
Dstorage_table.h78 const std::vector<QueryConstraints::OrderBy>& obs);
82 const std::vector<QueryConstraints::OrderBy>& obs);
86 const std::vector<QueryConstraints::OrderBy>& obs);
/external/libchrome/base/
Dobserver_list.h240 void AddObserver(ObserverType* obs) { in AddObserver() argument
241 DCHECK(obs); in AddObserver()
242 if (HasObserver(obs)) { in AddObserver()
246 observers_.push_back(obs); in AddObserver()
251 void RemoveObserver(const ObserverType* obs) { in RemoveObserver() argument
252 DCHECK(obs); in RemoveObserver()
253 const auto it = std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
266 bool HasObserver(const ObserverType* obs) const { in HasObserver() argument
267 return ContainsValue(observers_, obs); in HasObserver()
/external/v8/src/compiler/
Dstore-store-elimination.cc106 UnobservablesSet Add(UnobservableStore obs, Zone* zone) const;
113 bool Contains(UnobservableStore obs) const { in Contains()
114 return set_ != nullptr && (set_->find(obs) != set_->end()); in Contains()
492 UnobservablesSet UnobservablesSet::Add(UnobservableStore obs, in Add() argument
494 bool present = (set()->find(obs) != set()->end()); in Add()
505 bool inserted = new_set->insert(obs).second; in Add()
520 for (auto obs : *set()) { in RemoveSameOffset()
521 if (obs.offset_ != offset) { in RemoveSameOffset()
522 new_set->insert(obs); in RemoveSameOffset()
/external/tensorflow/tensorflow/contrib/sparsemax/python/ops/
Dsparsemax.py49 obs = array_ops.shape(logits)[0]
80 indices = array_ops.stack([math_ops.range(0, obs), k_z_safe - 1], axis=1)
91 array_ops.fill([obs, dims], math_ops.cast(float("nan"), logits.dtype)),
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/
DShadingTest.java107 @Override public void unaryRpc(SimpleRequest req, StreamObserver<SimpleResponse> obs) { in unaryRpc() argument
108 obs.onNext(SimpleResponse.getDefaultInstance()); in unaryRpc()
109 obs.onCompleted(); in unaryRpc()
/external/libkmsxx/utils/
Dkmsprint.cpp367 vector<DrmPropObject*> obs; in print_as_list() local
371 obs.push_back(conn); in print_as_list()
375 obs.push_back(enc); in print_as_list()
379 obs.push_back(crtc); in print_as_list()
387 obs.push_back(plane); in print_as_list()
394 for (DrmPropObject* ob: obs) { in print_as_list()
/external/python/cpython2/PC/
D_winreg.c814 PyObject **obs = NULL; in Py2Reg() local
823 obs = malloc(sizeof(PyObject *) * i); in Py2Reg()
824 memset(obs, 0, sizeof(PyObject *) * i); in Py2Reg()
831 obs[j] = t; in Py2Reg()
834 obs[j] = PyUnicode_AsEncodedString( in Py2Reg()
838 if (obs[j]==NULL) in Py2Reg()
844 (PyStringObject *)obs[j])); in Py2Reg()
859 t = obs[j]; in Py2Reg()
866 Py_DECREF(obs[j]); in Py2Reg()
870 free(obs); in Py2Reg()
[all …]
/external/python/cpython3/Lib/idlelib/
Dbrowser.py38 obs = [] # Use list since values should already be sorted.
53 obs.append(obj)
54 return sorted(obs, key=lambda o: o.lineno)
/external/python/cpython3/Lib/
Dasynchat.py235 obs = self.ac_out_buffer_size
237 data = first[:obs]
257 if num_sent < len(data) or obs < len(first):
/external/python/cpython2/Lib/
Dasynchat.py226 obs = self.ac_out_buffer_size
231 data = buffer(first, 0, obs)
248 if num_sent < len(data) or obs < len(first):
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java88 ServerCallStreamObserver<SimpleResponse> obs = in unaryCall() local
93 obs.setCompression("gzip"); in unaryCall()
95 obs.setCompression("identity"); in unaryCall()
98 obs.onError(Status.UNIMPLEMENTED in unaryCall()
120 obs.onError(Status.fromCodeValue(req.getResponseStatus().getCode()) in unaryCall()
/external/ltp/testcases/kernel/io/stress_floppy/
Dstress_floppy202 dd if=$TCdat/$the_file of=/dev/fd0 ibs=1b obs=90b conv=sync
209 dd if=/dev/fd0 of=$the_file ibs=90b obs=1b conv=sync
/external/clang/lib/Analysis/
DLiveVariables.cpp99 LiveVariables::Observer *obs = nullptr);
443 LiveVariables::Observer *obs) { in runOnBlock() argument
445 TransferFunctions TF(*this, val, obs, block); in runOnBlock()
472 void LiveVariables::runOnAllBlocks(LiveVariables::Observer &obs) { in runOnAllBlocks() argument
475 getImpl(impl).runOnBlock(*it, getImpl(impl).blocksEndToLiveness[*it], &obs); in runOnAllBlocks()
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java149 Iterable<? extends JavaFileObject> obs = fileManager.getJavaFileObjects(grpcJavaFile); in testRpcMethodAnnotations() local
158 obs); in testRpcMethodAnnotations()
/external/syzkaller/vendor/golang.org/x/net/trace/
Dtrace.go229 var obs timeseries.Observable
233 obs = f.Latency.Minute()
236 obs = f.Latency.Hour()
239 obs = f.Latency.Total()
243 if obs != nil {
244 data.Histogram = obs.(*histogram).html()
/external/openssh/regress/
Dtransfer.sh18 dd if=$DATA obs=${s} 2> /dev/null | \
Dputty-transfer.sh29 dd if=$DATA obs=${s} 2> /dev/null | \
/external/clang/include/clang/Analysis/Analyses/
DLiveVariables.h93 void runOnAllBlocks(Observer &obs);
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h206 __u32 obs; member
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-group_by.hpp214 …auto obs = make_dynamic_grouped_observable<key_type, marble_type>(group_by_observable(state, sub, … in on_next() local
217 return this->durationSelector(obs);}, in on_next()
223 dest.on_next(obs); in on_next()
/external/icu/icu4c/source/data/brkitr/
Dpt.txt170 "obs.",

12