/external/guava/guava/src/com/google/common/base/ |
D | Optional.java | 83 public static <T> Optional<T> of(T reference) { in of() argument 84 return new Present<T>(checkNotNull(reference)); in of() 199 private final T reference; 201 Present(T reference) { 202 this.reference = reference; 210 return reference; 215 return reference; 225 return reference; 229 return reference; 233 return Collections.singleton(reference); [all …]
|
D | Equivalence.java | 151 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) { in wrap() argument 152 return new Wrapper<S>(this, reference); in wrap() 178 @Nullable private final T reference; field in Equivalence.Wrapper 180 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() argument 182 this.reference = reference; in Wrapper() 187 return reference; in get() 208 && equivalence.equivalent(this.reference, that.reference); in equals() 218 return equivalence.hash(reference); in hashCode() 226 return equivalence + ".wrap(" + reference + ")"; in toString()
|
D | Preconditions.java | 185 public static <T> T checkNotNull(T reference) { in checkNotNull() argument 186 if (reference == null) { in checkNotNull() 189 return reference; in checkNotNull() 202 public static <T> T checkNotNull(T reference, @Nullable Object errorMessage) { in checkNotNull() argument 203 if (reference == null) { in checkNotNull() 206 return reference; in checkNotNull() 226 public static <T> T checkNotNull(T reference, in checkNotNull() argument 229 if (reference == null) { in checkNotNull() 234 return reference; in checkNotNull()
|
/external/liblzf/src/org/liblzf/ |
D | CLZF.java | 167 int reference; in lzf_compress() local 179 reference = htab[hslot]; in lzf_compress() 182 if ((off = iidx - reference - 1) < MAX_OFF in lzf_compress() 184 && reference > 0 in lzf_compress() 185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress() 186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress() 187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress() 200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress() 304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress() local 309 reference -= in_data[iidx++] & 0xff; in lzf_decompress() [all …]
|
/external/webkit/Source/WebCore/platform/cf/ |
D | BinaryPropertyList.cpp | 532 ObjectReference reference = m_plan.booleanTrueObjectReference(); in writeBooleanTrue() local 533 if (m_currentObjectReference != reference) in writeBooleanTrue() 534 ASSERT(reference < m_currentObjectReference); in writeBooleanTrue() 539 addAggregateObjectReference(reference); in writeBooleanTrue() 544 ObjectReference reference = m_plan.integerObjectReference(integer); in writeIntegerWithoutAddingAggregateObjectReference() local 545 if (m_currentObjectReference != reference) in writeIntegerWithoutAddingAggregateObjectReference() 546 ASSERT(reference < m_currentObjectReference); in writeIntegerWithoutAddingAggregateObjectReference() 549 return reference; in writeIntegerWithoutAddingAggregateObjectReference() 559 ObjectReference reference = m_plan.stringObjectReference(string); in writeString() local 560 if (m_currentObjectReference != reference) in writeString() [all …]
|
/external/liblzf/cs/ |
D | CLZF.cs | 167 long reference; in lzf_compress() 179 reference = htab[hslot]; in lzf_compress() 182 if ((off = iidx - reference - 1) < MAX_OFF in lzf_compress() 184 && reference > 0 in lzf_compress() 185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress() 186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress() 187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress() 200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress() 304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress() 309 reference -= in_data[iidx++]; in lzf_decompress() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractIteratorTester.java | 393 MultiExceptionListIterator reference = in compareResultsForThisListOfStimuli() local 403 boolean threwException = stimulus.executeAndCompare(reference, target); in compareResultsForThisListOfStimuli() 414 List<E> elements = reference.getElements(); in compareResultsForThisListOfStimuli() 442 T reference, T target, IteratorOperation method) in internalExecuteAndCompare() argument 481 (MultiExceptionListIterator) reference; in internalExecuteAndCompare() 485 referenceReturnValue = method.execute(reference); in internalExecuteAndCompare() 584 abstract boolean executeAndCompare(ListIterator<E> reference, T target); 593 executeAndCompare(ListIterator<E> reference, Iterator<E> target) { 595 assertEquals(reference.hasNext(), target.hasNext()); 601 executeAndCompare(ListIterator<E> reference, Iterator<E> target) { [all …]
|
/external/llvm/test/MC/MachO/ |
D | symbol-flags.s | 3 .reference sym_ref_A 4 .reference sym_ref_def_A 7 .reference sym_ref_def_C 8 .reference sym_ref_def_D 11 .reference sym_ref_def_E 55 .reference sym_ref_A
|
/external/apache-http/src/org/apache/http/client/utils/ |
D | URIUtils.java | 171 public static URI resolve(final URI baseURI, final String reference) { in resolve() argument 172 return URIUtils.resolve(baseURI, URI.create(reference)); in resolve() 183 public static URI resolve(final URI baseURI, URI reference){ in resolve() argument 187 if (reference == null) { in resolve() 190 boolean emptyReference = reference.toString().length() == 0; in resolve() 192 reference = URI.create("#"); in resolve() 194 URI resolved = baseURI.resolve(reference); in resolve()
|
/external/llvm/test/Integer/ |
D | constpointer_bt.ll | 13 @t3 = global i40 * @t1 ;; Forward reference 15 @t4 = global i40 ** @t3 ;; reference to reference 19 global float * @2 ;; Forward numeric reference 20 global float * @2 ;; Duplicate forward numeric reference 22 global float * @2 ;; Numeric reference
|
/external/llvm/test/Feature/ |
D | constpointer.ll | 13 @t3 = global i32* @t1 ;; Forward reference 15 @t4 = global i32** @t3 ;; reference to reference 19 global float * @2 ;; Forward numeric reference 20 global float * @2 ;; Duplicate forward numeric reference 22 global float * @2 ;; Numeric reference
|
/external/chromium/chrome/browser/prefs/ |
D | pref_value_map_unittest.cc | 50 PrefValueMap reference; in TEST_F() local 51 EXPECT_TRUE(reference.SetValue("b", Value::CreateStringValue("test"))); in TEST_F() 52 EXPECT_TRUE(reference.SetValue("c", Value::CreateStringValue("test"))); in TEST_F() 53 EXPECT_TRUE(reference.SetValue("e", Value::CreateStringValue("test"))); in TEST_F() 59 reference.GetDifferingKeys(&check, &differing_paths); in TEST_F() 69 reference.GetDifferingKeys(&check, &differing_paths); in TEST_F()
|
/external/clang/test/CodeGenObjC/ |
D | protocols-lazy.m | 12 // Definition triggered by protocol reference. 18 // Forward definition triggered by protocol reference. 24 // Definition triggered by class reference. 31 // Definition following forward reference. 36 // reference, which has to be 40 // Protocol reference following definition.
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueTest.java | 43 MockReference reference = new MockReference( in testFinalizeReferentCalled() local 47 if (reference.finalizeReferentCalled) { in testFinalizeReferentCalled() 99 FinalizableWeakReference<Object> reference; field in FinalizableReferenceQueueTest 114 reference = new FinalizableWeakReference<Object>(new Object(), frq) { in weaklyReferenceQueue() 117 reference = null; in weaklyReferenceQueue()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | LayerChromium.cpp | 157 void LayerChromium::replaceSublayer(LayerChromium* reference, PassRefPtr<LayerChromium> newLayer) in replaceSublayer() argument 159 ASSERT_ARG(reference, reference); in replaceSublayer() 160 ASSERT_ARG(reference, reference->superlayer() == this); in replaceSublayer() 162 if (reference == newLayer) in replaceSublayer() 165 int referenceIndex = indexOfSublayer(reference); in replaceSublayer() 171 reference->removeFromSuperlayer(); in replaceSublayer() 179 int LayerChromium::indexOfSublayer(const LayerChromium* reference) in indexOfSublayer() argument 182 if (m_sublayers[i] == reference) in indexOfSublayer()
|
/external/e2fsprogs/tests/f_resize_inode/ |
D | expect | 23 Pass 4: Checking reference counts 36 Pass 4: Checking reference counts 51 Pass 4: Checking reference counts 64 Pass 4: Checking reference counts 79 Pass 4: Checking reference counts 92 Pass 4: Checking reference counts 107 Pass 4: Checking reference counts 119 Pass 4: Checking reference counts 132 Pass 4: Checking reference counts 165 Pass 4: Checking reference counts
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 91 FT_Pos reference = width; 107 reference = w; 111 if ( width >= reference ) 114 if ( width < reference ) 115 width = reference; 120 if ( width > reference ) 121 width = reference; 155 FT_Int reference, delta; in psh_blues_set_zones_0() local 165 reference = read[1]; in psh_blues_set_zones_0() 166 delta = read[0] - reference; in psh_blues_set_zones_0() [all …]
|
/external/guava/guava/src/com/google/common/base/internal/ |
D | Finalizer.java | 136 private void cleanUp(Reference<?> reference) throws ShutDown { in cleanUp() argument 143 reference.clear(); in cleanUp() 145 if (reference == frqReference) { in cleanUp() 154 finalizeReferentMethod.invoke(reference); in cleanUp() 163 } while ((reference = queue.poll()) != null); in cleanUp()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ObjectArraysTest.java | 134 Object[] reference = list.toArray(); in doTestToArrayImpl1() local 136 assertEquals(reference.getClass(), target.getClass()); in doTestToArrayImpl1() 137 assertTrue(Arrays.equals(reference, target)); in doTestToArrayImpl1() 157 Object[] reference = list.toArray(array1); in doTestToArrayImpl2() local 161 assertEquals(reference.getClass(), target.getClass()); in doTestToArrayImpl2() 162 assertTrue(Arrays.equals(reference, target)); in doTestToArrayImpl2() 163 assertTrue(Arrays.equals(reference, target)); in doTestToArrayImpl2() 165 Object[] expectedArray1 = expectModify ? reference : starting; in doTestToArrayImpl2()
|
/external/guava/guava-tests/test/com/google/common/testing/ |
D | EqualsTesterTest.java | 36 private ValidTestObject reference; field in EqualsTesterTest 46 reference = new ValidTestObject(1, 2); in setUp() 69 equalsTester.addEqualityGroup(reference, equalObject1, null); in testAddTwoEqualObjectsAtOnceWithNull() 79 equalsTester.addEqualityGroup(reference, (Object[]) null); in testAddNullEqualObject() 107 equalsTester.addEqualityGroup(reference); in testTestEqualsEmptyLists() 116 equalsTester.addEqualityGroup(reference, equalObject1, equalObject2); in testTestEqualsEqualsObjects() 176 equalsTester.addEqualityGroup(reference, notEqualObject1); in testInvalidNotEqualsEqualObject() 180 assertErrorMessage(e, reference.toString() + " [group 1, item 1]"); in testInvalidNotEqualsEqualObject()
|
/external/llvm/include/llvm/ADT/ |
D | PackedVector.h | 81 class reference { 85 reference(); // Undefined 87 reference(PackedVector &vec, unsigned idx) : Vec(vec), Idx(idx) { } in reference() function 89 reference &operator=(T val) { 121 reference operator[](unsigned Idx) { 122 return reference(*this, Idx);
|
/external/webkit/Source/WebCore/wml/ |
D | WMLVariables.cpp | 165 String substituteVariableReferences(const String& reference, Document* document, WMLVariableEscapin… in substituteVariableReferences() argument 169 if (reference.isEmpty()) in substituteVariableReferences() 170 return reference; in substituteVariableReferences() 174 return reference; in substituteVariableReferences() 177 String remainingInput = reference; in substituteVariableReferences() 278 return reference; in substituteVariableReferences()
|
/external/astl/tests/ |
D | test_iterator.cpp | 43 typedef int& reference; typedef 51 typedef int& reference; typedef 59 typedef int& reference; typedef 67 typedef int& reference; typedef
|
/external/clang/include/clang/Analysis/Support/ |
D | BlkExprDeclBitVector.h | 111 llvm::BitVector::reference getBit(unsigned i) { in getBit() 119 llvm::BitVector::reference 128 llvm::BitVector::reference getDeclBit(unsigned i) { return DeclBV[i]; } in getDeclBit() 129 const llvm::BitVector::reference getDeclBit(unsigned i) const { in getDeclBit() 250 llvm::BitVector::reference 254 const llvm::BitVector::reference 262 llvm::BitVector::reference getStmtBit(unsigned i) { return BlkExprBV[i]; } in getStmtBit() 263 const llvm::BitVector::reference getStmtBit(unsigned i) const { in getStmtBit()
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | BasicPoolEntry.java | 53 private final BasicPoolEntryRef reference; field in BasicPoolEntry 70 this.reference = new BasicPoolEntryRef(this, queue); in BasicPoolEntry() 82 return this.reference; in getWeakRef()
|