/external/ceres-solver/internal/ceres/ |
D | local_parameterization_test.cc | 48 double delta[3] = {0.0, 1.0, 2.0}; in TEST() local 50 parameterization.Plus(x, delta, x_plus_delta); in TEST() 93 double delta[3] = {1.0, 2.0, 3.0}; in TEST() local 96 parameterization.Plus(x, delta, x_plus_delta); in TEST() 102 EXPECT_EQ(x_plus_delta[j], x[j] + delta[k++]); in TEST() 129 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() 131 delta[0] * delta[0] + delta[1] * delta[1] + delta[2] * delta[2]; in operator ()() 138 q_delta[1] = sin_delta_by_delta * delta[0]; in operator ()() 139 q_delta[2] = sin_delta_by_delta * delta[1]; in operator ()() 140 q_delta[3] = sin_delta_by_delta * delta[2]; in operator ()() [all …]
|
D | autodiff_local_parameterization_test.cc | 43 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() 45 x_plus_delta[i] = x[i] + delta[i]; in operator ()() 57 double delta[3] = {0.0, 1.0, 2.0}; in TEST() local 59 parameterization.Plus(x, delta, x_plus_delta); in TEST() 77 bool operator()(const T* x, const T* delta, T* x_plus_delta) const { in operator ()() 79 delta[0] * delta[0] + delta[1] * delta[1] + delta[2] * delta[2]; in operator ()() 86 q_delta[1] = sin_delta_by_delta * delta[0]; in operator ()() 87 q_delta[2] = sin_delta_by_delta * delta[1]; in operator ()() 88 q_delta[3] = sin_delta_by_delta * delta[2]; in operator ()() 95 q_delta[1] = delta[0]; in operator ()() [all …]
|
D | local_parameterization.cc | 45 const double* delta, in Plus() argument 48 ConstVectorRef(x, size_) + ConstVectorRef(delta, size_); in Plus() 87 const double* delta, in Plus() argument 93 x_plus_delta[i] = x[i] + delta[j++]; in Plus() 112 const double* delta, in Plus() argument 115 sqrt(delta[0] * delta[0] + delta[1] * delta[1] + delta[2] * delta[2]); in Plus() 120 q_delta[1] = sin_delta_by_delta * delta[0]; in Plus() 121 q_delta[2] = sin_delta_by_delta * delta[1]; in Plus() 122 q_delta[3] = sin_delta_by_delta * delta[2]; in Plus()
|
/external/chromium_org/ui/compositor/ |
D | layer_animation_element_unittest.cc | 32 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); in TEST() local 35 LayerAnimationElement::CreateTransformElement(target_transform, delta)); in TEST() 39 start_time = effective_start_time + delta; in TEST() 46 effective_start_time = start_time + delta; in TEST() 50 element->Progress(effective_start_time + delta/2, &delegate); in TEST() 54 EXPECT_TRUE(element->IsFinished(effective_start_time + delta, in TEST() 56 EXPECT_EQ(2 * delta, element_duration); in TEST() 58 element->Progress(effective_start_time + delta, &delegate); in TEST() 72 base::TimeDelta delta; in TEST() local 75 LayerAnimationElement::CreateTransformElement(transform, delta)); in TEST() [all …]
|
D | layer_animation_sequence_unittest.cc | 45 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); in TEST() local 47 LayerAnimationElement::CreateBrightnessElement(target, delta)); in TEST() 50 start_time += delta; in TEST() 59 EXPECT_TRUE(sequence.IsFinished(start_time + delta)); in TEST() 80 base::TimeDelta delta = base::TimeDelta::FromSeconds(1); in TEST() local 82 LayerAnimationElement::CreateOpacityElement(target, delta)); in TEST() 87 start_time = effective_start + delta; in TEST() 93 effective_start = start_time + delta; in TEST() 100 sequence.Progress(effective_start + delta/2, &delegate); in TEST() 102 EXPECT_TRUE(sequence.IsFinished(effective_start + delta)); in TEST() [all …]
|
/external/valgrind/main/VEX/priv/ |
D | guest_amd64_toIR.c | 522 static inline UChar getUChar ( Long delta ) in getUChar() argument 524 UChar v = guest_code[delta+0]; in getUChar() 528 static UInt getUDisp16 ( Long delta ) in getUDisp16() argument 530 UInt v = guest_code[delta+1]; v <<= 8; in getUDisp16() 531 v |= guest_code[delta+0]; in getUDisp16() 549 static Long getSDisp8 ( Long delta ) in getSDisp8() argument 551 return extend_s_8to64( guest_code[delta] ); in getSDisp8() 556 static Long getSDisp16 ( Long delta ) in getSDisp16() argument 558 UInt v = guest_code[delta+1]; v <<= 8; in getSDisp16() 559 v |= guest_code[delta+0]; in getSDisp16() [all …]
|
D | guest_x86_toIR.c | 341 static UChar getIByte ( Int delta ) in getIByte() argument 343 return guest_code[delta]; in getIByte() 368 static UChar getUChar ( Int delta ) in getUChar() argument 370 UChar v = guest_code[delta+0]; in getUChar() 374 static UInt getUDisp16 ( Int delta ) in getUDisp16() argument 376 UInt v = guest_code[delta+1]; v <<= 8; in getUDisp16() 377 v |= guest_code[delta+0]; in getUDisp16() 381 static UInt getUDisp32 ( Int delta ) in getUDisp32() argument 383 UInt v = guest_code[delta+3]; v <<= 8; in getUDisp32() 384 v |= guest_code[delta+2]; v <<= 8; in getUDisp32() [all …]
|
/external/chromium_org/mojo/public/bindings/lib/ |
D | buffer.cc | 67 void* ScratchBuffer::Allocate(size_t delta, Destructor func) { in Allocate() argument 68 delta = internal::Align(delta); in Allocate() 70 void* result = AllocateInSegment(&fixed_, delta); in Allocate() 73 result = AllocateInSegment(overflow_, delta); in Allocate() 76 AddOverflowSegment(delta); in Allocate() 77 result = AllocateInSegment(overflow_, delta); in Allocate() 90 void* ScratchBuffer::AllocateInSegment(Segment* segment, size_t delta) { in AllocateInSegment() argument 92 if (static_cast<size_t>(segment->end - segment->cursor) >= delta) { in AllocateInSegment() 94 memset(result, 0, delta); in AllocateInSegment() 95 segment->cursor += delta; in AllocateInSegment() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_eu_util.c | 65 GLuint delta = i*32; in brw_copy4() local 66 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4() 67 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4() 84 GLuint delta = i*32; in brw_copy8() local 85 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8() 99 GLuint delta = i*32; in brw_copy_indirect_to_indirect() local 100 brw_MOV(p, deref_4f(dst_ptr, delta), deref_4f(src_ptr, delta)); in brw_copy_indirect_to_indirect() 101 brw_MOV(p, deref_4f(dst_ptr, delta+16), deref_4f(src_ptr, delta+16)); in brw_copy_indirect_to_indirect() 117 GLuint delta = i*32; in brw_copy_from_indirect() local 118 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | brw_eu_util.c | 65 GLuint delta = i*32; in brw_copy4() local 66 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4() 67 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4() 84 GLuint delta = i*32; in brw_copy8() local 85 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8() 99 GLuint delta = i*32; in brw_copy_indirect_to_indirect() local 100 brw_MOV(p, deref_4f(dst_ptr, delta), deref_4f(src_ptr, delta)); in brw_copy_indirect_to_indirect() 101 brw_MOV(p, deref_4f(dst_ptr, delta+16), deref_4f(src_ptr, delta+16)); in brw_copy_indirect_to_indirect() 117 GLuint delta = i*32; in brw_copy_from_indirect() local 118 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect() [all …]
|
/external/open-vcdiff/src/ |
D | vcdiff_test.sh | 48 -dictionary $DICTIONARY_FILE -target $TARGET_FILE -delta $DELTA_FILE \ 57 -delta $DELTA_FILE \ 61 -delta $DELTA_FILE \ 101 -delta $DELTA_FILE \ 116 -delta $DELTA_FILE; } \ 136 -delta $DELTA_FILE \ 149 -delta $DELTA_FILE \ 160 -delta $DELTA_FILE \ 169 -delta $DELTA_FILE \ 176 -delta $TEST_TMPDIR/nonexistent_file \ [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | vcdiff_test.sh | 48 -dictionary $DICTIONARY_FILE -target $TARGET_FILE -delta $DELTA_FILE \ 57 -delta $DELTA_FILE \ 61 -delta $DELTA_FILE \ 101 -delta $DELTA_FILE \ 116 -delta $DELTA_FILE; } \ 136 -delta $DELTA_FILE \ 149 -delta $DELTA_FILE \ 160 -delta $DELTA_FILE \ 169 -delta $DELTA_FILE \ 176 -delta $TEST_TMPDIR/nonexistent_file \ [all …]
|
/external/chromium_org/sdch/open-vcdiff/src/ |
D | vcdiff_test.sh | 48 -dictionary $DICTIONARY_FILE -target $TARGET_FILE -delta $DELTA_FILE \ 57 -delta $DELTA_FILE \ 61 -delta $DELTA_FILE \ 101 -delta $DELTA_FILE \ 116 -delta $DELTA_FILE; } \ 136 -delta $DELTA_FILE \ 149 -delta $DELTA_FILE \ 160 -delta $DELTA_FILE \ 169 -delta $DELTA_FILE \ 176 -delta $TEST_TMPDIR/nonexistent_file \ [all …]
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_api_helpers.cc | 210 const EventResponseDelta* delta) { in CreateNetLogExtensionIdCallback() argument 211 return net::NetLog::StringCallback("extension_id", &delta->extension_id); in CreateNetLogExtensionIdCallback() 217 const EventResponseDelta* delta, in NetLogModificationCallback() argument 220 dict->SetString("extension_id", delta->extension_id); in NetLogModificationCallback() 224 delta->modified_request_headers); in NetLogModificationCallback() 233 delta->deleted_request_headers.begin(); in NetLogModificationCallback() 234 key != delta->deleted_request_headers.end(); in NetLogModificationCallback() 422 EventResponseDeltas::const_iterator delta; in MergeOnBeforeRequestResponsesHelper() local 423 for (delta = deltas.begin(); delta != deltas.end(); ++delta) { in MergeOnBeforeRequestResponsesHelper() 424 if ((*delta)->new_url.is_empty()) in MergeOnBeforeRequestResponsesHelper() [all …]
|
/external/regex-re2/re2/ |
D | make_unicode_casefold.py | 45 def _AddDelta(a, delta): argument 47 if type(delta) == int: 48 return a+delta 49 if delta == 'EvenOdd': 54 if delta == 'OddEven': 59 print >>sys.stderr, "Bad Delta: ", delta 77 delta = r[2] 78 d = delta 79 if type(delta) is not str: 81 if delta.endswith('Skip'): [all …]
|
/external/chromium_org/third_party/re2/re2/ |
D | make_unicode_casefold.py | 45 def _AddDelta(a, delta): argument 47 if type(delta) == int: 48 return a+delta 49 if delta == 'EvenOdd': 54 if delta == 'OddEven': 59 print >>sys.stderr, "Bad Delta: ", delta 77 delta = r[2] 78 d = delta 79 if type(delta) is not str: 81 if delta.endswith('Skip'): [all …]
|
/external/chromium_org/net/tools/quic/ |
D | quic_epoll_connection_helper_test.cc | 45 QuicTime::Delta delta = QuicTime::Delta::FromMilliseconds(5); in TEST_F() local 46 epoll_server_.AdvanceBy(delta.ToMicroseconds()); in TEST_F() 48 EXPECT_EQ(start.Add(delta), clock->Now()); in TEST_F() 62 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F() local 63 alarm->Set(start.Add(delta)); in TEST_F() 65 epoll_server_.AdvanceByAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() 66 EXPECT_EQ(start.Add(delta), clock->Now()); in TEST_F() 75 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F() local 76 alarm->Set(start.Add(delta)); in TEST_F() 79 epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() [all …]
|
/external/lzma/C/ |
D | Delta.c | 20 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Encode() argument 24 MyMemCpy(buf, state, delta); in Delta_Encode() 29 for (j = 0; j < delta && i < size; i++, j++) in Delta_Encode() 37 if (j == delta) in Delta_Encode() 39 MyMemCpy(state, buf + j, delta - j); in Delta_Encode() 40 MyMemCpy(state + delta - j, buf, j); in Delta_Encode() 43 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Decode() argument 47 MyMemCpy(buf, state, delta); in Delta_Decode() 52 for (j = 0; j < delta && i < size; i++, j++) in Delta_Decode() 58 if (j == delta) in Delta_Decode() [all …]
|
/external/valgrind/main/none/tests/amd64/ |
D | bug132813-amd64.stdout.exp | 1 pushb_pos: delta 8, top64 0x0000000000000022 2 pushb_neg: delta 8, top64 0xffffffffffffffee 3 pushw_neg: delta 2, top64 0x0000555555553344 4 pushw_pos: delta 2, top64 0x000055555555ddcc 5 pushq_pos: delta 8, top64 0x0000000067675656 6 pushq_neg: delta 8, top64 0x0000000078988787 7 66pushb_pos: delta 2, top64 0x0000555555550022 8 66pushb_neg: delta 2, top64 0x000055555555ffee
|
/external/valgrind/main/none/tests/x86/ |
D | bug132813-x86.stdout.exp | 1 pushb_pos: delta 4, top32 0x00000022 2 pushb_neg: delta 4, top32 0xffffffee 3 pushw_neg: delta 2, top32 0x55553344 4 pushw_pos: delta 2, top32 0x5555ddcc 5 pushl_pos: delta 4, top32 0x67675656 6 pushl_neg: delta 4, top32 0x98988787 7 66pushb_pos: delta 2, top32 0x55550022 8 66pushb_neg: delta 2, top32 0x5555ffee
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | punyref.c | 109 punycode_uint delta, punycode_uint numpoints, int firsttime ) in adapt() argument 113 delta = firsttime ? delta / damp : delta >> 1; in adapt() 115 delta += delta / numpoints; in adapt() 117 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt() 118 delta /= base - tmin; in adapt() 121 return k + (base - tmin + 1) * delta / (delta + skew); in adapt() 133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local 138 delta = out = 0; in punycode_encode() 177 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode() 178 delta += (m - n) * (h + 1); in punycode_encode() [all …]
|
/external/icu4c/test/intltest/ |
D | punyref.c | 109 punycode_uint delta, punycode_uint numpoints, int firsttime ) in adapt() argument 113 delta = firsttime ? delta / damp : delta >> 1; in adapt() 115 delta += delta / numpoints; in adapt() 117 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt() 118 delta /= base - tmin; in adapt() 121 return k + (base - tmin + 1) * delta / (delta + skew); in adapt() 133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local 138 delta = out = 0; in punycode_encode() 177 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode() 178 delta += (m - n) * (h + 1); in punycode_encode() [all …]
|
/external/chromium_org/v8/src/platform/ |
D | time.h | 171 explicit TimeDelta(int64_t delta) : delta_(delta) {} in TimeDelta() argument 262 Time& operator+=(const TimeDelta& delta) { 263 us_ += delta.InMicroseconds(); 266 Time& operator-=(const TimeDelta& delta) { 267 us_ -= delta.InMicroseconds(); 272 Time operator+(const TimeDelta& delta) const { 273 return Time(us_ + delta.InMicroseconds()); 275 Time operator-(const TimeDelta& delta) const { 276 return Time(us_ - delta.InMicroseconds()); 306 inline Time operator+(const TimeDelta& delta, const Time& time) { [all …]
|
/external/chromium_org/net/quic/ |
D | quic_connection_helper_test.cc | 57 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F() local 58 alarm->Set(clock_.Now().Add(delta)); in TEST_F() 62 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 66 EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); in TEST_F() 74 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F() local 75 alarm->Set(clock_.Now().Add(delta)); in TEST_F() 80 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 84 EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); in TEST_F() 92 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F() local 93 alarm->Set(clock_.Now().Add(delta)); in TEST_F() [all …]
|
/external/icu4c/layout/ |
D | GlyphPosnLookupProc.cpp | 71 le_uint32 delta = 0; in applySubtable() local 82 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 90 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 98 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 106 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 114 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 122 delta = subtable->process(glyphIterator, fontInstance); in applySubtable() 130 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable() 138 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable() 146 delta = subtable->process(this, lookupType, glyphIterator, fontInstance, success); in applySubtable() [all …]
|