/external/pdfium/core/fxcrt/ |
D | observed_ptr_unittest.cpp | 46 PseudoObservable obs; in TEST() local 48 ObservedPtr<PseudoObservable> ptr(&obs); in TEST() 50 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST() 52 EXPECT_EQ(0u, obs.ActiveObservedPtrs()); in TEST() 56 PseudoObservable obs; in TEST() local 58 ObservedPtr<PseudoObservable> ptr(&obs); in TEST() 60 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST() 64 EXPECT_EQ(2u, obs.ActiveObservedPtrs()); in TEST() 66 EXPECT_EQ(1u, obs.ActiveObservedPtrs()); in TEST() 68 EXPECT_EQ(0u, obs.ActiveObservedPtrs()); in TEST() [all …]
|
/external/llvm-project/compiler-rt/test/msan/Linux/ |
D | obstack.cpp | 17 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/compiler-rt/test/msan/Linux/ |
D | obstack.cc | 17 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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | TestAnnotationUsing.java | 161 Object[] obs = result.values; in testArrayContentUsing() local 162 assertNotNull(obs); in testArrayContentUsing() 163 assertEquals(3, obs.length); in testArrayContentUsing() 164 assertEquals(ValueClass.class, obs[0].getClass()); in testArrayContentUsing() 165 assertEquals(1, ((ValueClass) obs[0])._a); in testArrayContentUsing() 166 assertEquals(ValueClass.class, obs[1].getClass()); in testArrayContentUsing() 167 assertEquals(2, ((ValueClass) obs[1])._a); in testArrayContentUsing() 168 assertEquals(ValueClass.class, obs[2].getClass()); in testArrayContentUsing() 169 assertEquals(3, ((ValueClass) obs[2])._a); in testArrayContentUsing() 177 List<Object> obs = result.values; in testListContentUsing() local [all …]
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ObserverList.java | 61 public boolean addObserver(E obs) { in addObserver() argument 63 if (obs == null || mObservers.contains(obs)) { in addObserver() 69 boolean result = mObservers.add(obs); in addObserver() 81 public boolean removeObserver(E obs) { in removeObserver() argument 82 if (obs == null) { in removeObserver() 86 int index = mObservers.indexOf(obs); in removeObserver() 104 public boolean hasObserver(E obs) { in hasObserver() argument 105 return mObservers.contains(obs); in hasObserver()
|
/external/libchrome/base/ |
D | observer_list.h | 240 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/libchrome/base/system_monitor/ |
D | system_monitor.cc | 37 void SystemMonitor::AddDevicesChangedObserver(DevicesChangedObserver* obs) { in AddDevicesChangedObserver() argument 38 devices_changed_observer_list_->AddObserver(obs); in AddDevicesChangedObserver() 41 void SystemMonitor::RemoveDevicesChangedObserver(DevicesChangedObserver* obs) { in RemoveDevicesChangedObserver() argument 42 devices_changed_observer_list_->RemoveObserver(obs); in RemoveDevicesChangedObserver()
|
D | system_monitor.h | 49 void AddDevicesChangedObserver(DevicesChangedObserver* obs); 54 void RemoveDevicesChangedObserver(DevicesChangedObserver* obs);
|
/external/libchrome/base/power_monitor/ |
D | power_monitor.cc | 33 void PowerMonitor::AddObserver(PowerObserver* obs) { in AddObserver() argument 34 observers_->AddObserver(obs); in AddObserver() 37 void PowerMonitor::RemoveObserver(PowerObserver* obs) { in RemoveObserver() argument 38 observers_->RemoveObserver(obs); in RemoveObserver()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | TestExternalizable.java | 186 ObjectOutputStream obs = new ObjectOutputStream(bytes); in testSerializeAsExternalizable() local 188 obs.writeObject(input); in testSerializeAsExternalizable() 189 obs.close(); in testSerializeAsExternalizable() 203 obs = new ObjectOutputStream(bytes); in testSerializeAsExternalizable() 205 obs.writeObject(p); in testSerializeAsExternalizable() 206 obs.close(); in testSerializeAsExternalizable()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/ |
D | TestJava7Types.java | 39 Object[] obs = mapper.readValue(json, Object[].class); in testPolymorphicPath() local 40 assertEquals(1, obs.length); in testPolymorphicPath() 41 Object ob = obs[0]; in testPolymorphicPath()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/ |
D | TestDefaultForArrays.java | 81 Object[] obs = new Object[] { node }; in testNodeInArray() local 82 String json = m.writeValueAsString(obs); in testNodeInArray() 109 Object[] obs = new Object[] { node }; in testNodeInEmptyArray() local 110 json = m.writeValueAsString(obs); in testNodeInEmptyArray()
|
/external/grpc-grpc-java/netty/shaded/src/testShadow/java/io/grpc/netty/shaded/ |
D | ShadingTest.java | 107 @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/libchrome/base/android/javatests/src/org/chromium/base/ |
D | ObserverListTest.java | 101 for (Observer obs : observerList) obs.observe(10); in testRemoveWhileIteration() 110 for (Observer obs : observerList) obs.observe(10); in testRemoveWhileIteration() 138 for (Observer obs : observerList) obs.observe(10); in testAddWhileIteration()
|
/external/libkmsxx/utils/ |
D | kmsprint.cpp | 353 vector<DrmPropObject*> obs; in print_as_list() local 357 obs.push_back(conn); in print_as_list() 361 obs.push_back(enc); in print_as_list() 365 obs.push_back(crtc); in print_as_list() 373 obs.push_back(plane); in print_as_list() 380 for (DrmPropObject* ob : obs) { in print_as_list()
|
/external/python/cpython3/Lib/idlelib/ |
D | browser.py | 39 obs = [] # Use list since values should already be sorted. 54 obs.append(obj) 55 return obs
|
/external/python/cpython2/PC/ |
D | _winreg.c | 814 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/cpython2/Lib/ |
D | asynchat.py | 226 obs = self.ac_out_buffer_size 231 data = buffer(first, 0, obs) 248 if num_sent < len(data) or obs < len(first):
|
/external/python/cpython3/Lib/ |
D | asynchat.py | 235 obs = self.ac_out_buffer_size 237 data = first[:obs] 257 if num_sent < len(data) or obs < len(first):
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | TestServiceImpl.java | 88 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/ |
D | stress_floppy | 202 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/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/ |
D | SimpleServiceTest.java | 149 Iterable<? extends JavaFileObject> obs = fileManager.getJavaFileObjects(grpcJavaFile); in testRpcMethodAnnotations() local 158 obs); in testRpcMethodAnnotations()
|
/external/openssh/regress/ |
D | transfer.sh | 16 dd if=$DATA obs=${s} 2> /dev/null | \
|
/external/clang/lib/Analysis/ |
D | LiveVariables.cpp | 99 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/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-tests.cpp | 289 auto *obs = std::declval<obstack *>(); in testFormatStrings() local 291 obstack_printf(obs, "%d", unsigned_value); in testFormatStrings() 293 obstack_printf(obs, unknown_string, unsigned_value); in testFormatStrings() 295 obstack_vprintf(obs, unknown_string, va); in testFormatStrings()
|