Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 25 of 163) sorted by relevance

1234567

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java385 int hc = i + 1; in hashCode() local
389 hc *= 257; in hashCode()
390 hc ^= data[i]; in hashCode()
393 return hc; in hashCode()
404 int hc = i + 1; in hashCode() local
408 hc *= 257; in hashCode()
409 hc ^= data[off + i]; in hashCode()
412 return hc; in hashCode()
423 int hc = i + 1; in hashCode() local
427 hc *= 257; in hashCode()
[all …]
/external/boringssl/src/ssl/test/runner/
Dconn.go174 func (hc *halfConn) setErrorLocked(err error) error {
175 hc.err = err
179 func (hc *halfConn) error() error {
183 err := hc.err
189 func (hc *halfConn) prepareCipherSpec(version uint16, cipher interface{}, mac macFunction) {
190 hc.version = version
191 hc.nextCipher = cipher
192 hc.nextMac = mac
197 func (hc *halfConn) changeCipherSpec(config *Config) error {
198 if hc.nextCipher == nil {
[all …]
/external/openssh/
Dumac.c533 static void nh_transform(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes) in nh_transform() argument
542 key = hc->nh_key + hc->bytes_hashed; in nh_transform()
543 nh_aux(key, buf, hc->state, nbytes); in nh_transform()
578 static void nh_reset(nh_ctx *hc) in nh_reset() argument
581 hc->bytes_hashed = 0; in nh_reset()
582 hc->next_data_empty = 0; in nh_reset()
583 hc->state[0] = 0; in nh_reset()
585 hc->state[1] = 0; in nh_reset()
588 hc->state[2] = 0; in nh_reset()
591 hc->state[3] = 0; in nh_reset()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java95 int hc = curve.hashCode(); in hashCode() local
96 hc *= 37; in hashCode()
97 hc ^= G.hashCode(); in hashCode()
98 hc *= 37; in hashCode()
99 hc ^= n.hashCode(); in hashCode()
100 hc *= 37; in hashCode()
101 hc ^= h.hashCode(); in hashCode()
102 return hc; in hashCode()
/external/pdfium/third_party/libopenjpeg20/
Dt1_generate_luts.c114 int hc, vc, n; in t1_init_ctxno_sc() local
117 hc = opj_int_min(((f & (T1_SIG_E | T1_SGN_E)) == in t1_init_ctxno_sc()
131 if (hc < 0) { in t1_init_ctxno_sc()
132 hc = -hc; in t1_init_ctxno_sc()
135 if (!hc) { in t1_init_ctxno_sc()
142 } else if (hc == 1) { in t1_init_ctxno_sc()
155 int hc, vc, n; in t1_init_spb() local
157 hc = opj_int_min(((f & (T1_SIG_E | T1_SGN_E)) == in t1_init_spb()
171 if (!hc && !vc) in t1_init_spb()
174 n = (!(hc > 0 || (!hc && vc > 0))); in t1_init_spb()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java312 int hc = 0; in hashCode() local
314 hc = region.hashCode(); in hashCode()
317 hc = hc * 31 + currency.hashCode(); in hashCode()
319 hc = hc * 31 + (int) from; in hashCode()
320 hc = hc * 31 + (int) (from >>> 32); in hashCode()
321 hc = hc * 31 + (int) to; in hashCode()
322 hc = hc * 31 + (int) (to >>> 32); in hashCode()
323 hc = hc * 31 + (tenderOnly ? 1 : 0); in hashCode()
324 return hc; in hashCode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java337 int hc = 0; in hashCode() local
339 hc = region.hashCode(); in hashCode()
342 hc = hc * 31 + currency.hashCode(); in hashCode()
344 hc = hc * 31 + (int) from; in hashCode()
345 hc = hc * 31 + (int) (from >>> 32); in hashCode()
346 hc = hc * 31 + (int) to; in hashCode()
347 hc = hc * 31 + (int) (to >>> 32); in hashCode()
348 hc = hc * 31 + (tenderOnly ? 1 : 0); in hashCode()
349 return hc; in hashCode()
/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest.cc176 MojoHandle hp, hc; in TEST() local
184 hc = MOJO_HANDLE_INVALID; in TEST()
185 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateDataPipe(nullptr, &hp, &hc)); in TEST()
187 EXPECT_NE(hc, MOJO_HANDLE_INVALID); in TEST()
192 MojoWait(hc, MOJO_HANDLE_SIGNAL_READABLE, 0, &state)); in TEST()
209 MojoReadData(hc, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE)); in TEST()
214 MojoBeginReadData(hc, &read_pointer, &buffer_size, in TEST()
228 EXPECT_EQ(MOJO_RESULT_OK, MojoWaitMany(&hc, &sig, 1, MOJO_DEADLINE_INDEFINITE, in TEST()
250 MojoReadData(hc, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE)); in TEST()
257 MojoWait(hc, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST()
[all …]
/external/llvm/test/CodeGen/Thumb2/
Dv8_IT_5.ll16 %struct.hc = type { i32, i32, i32, i32 }
32 %call150 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34865152) optsize
36 %call168 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34078720) optsize
46 declare hidden fastcc %struct.hc* @foo(%struct.hc* nocapture, i32) nounwind optsize
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2011-04-27-IfCvtBug.ll10 %struct.hc = type { i32, i32, i32, i32 }
44 %call150 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34865152) optsize
48 %call168 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34078720) optsize
58 declare hidden fastcc %struct.hc* @foo(%struct.hc* nocapture, i32) nounwind optsize
/external/llvm/test/CodeGen/ARM/
D2011-04-27-IfCvtBug.ll10 %struct.hc = type { i32, i32, i32, i32 }
44 %call150 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34865152) optsize
48 %call168 = call fastcc %struct.hc* @foo(%struct.hc* undef, i32 34078720) optsize
58 declare hidden fastcc %struct.hc* @foo(%struct.hc* nocapture, i32) nounwind optsize
/external/libcxx/src/
Ddebug.cpp192 size_t hc = hash<const void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_); in __insert_ic() local
193 __c_node* c = __cbeg_[hc]; in __insert_ic()
236 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_); in __insert_c() local
237 __c_node* p = __cbeg_[hc]; in __insert_c()
238 __c_node* r = __cbeg_[hc] = in __insert_c()
240 if (__cbeg_[hc] == nullptr) in __insert_c()
290 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_); in __invalidate_all() local
291 __c_node* p = __cbeg_[hc]; in __invalidate_all()
321 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_); in __find_c_and_lock() local
322 __c_node* p = __cbeg_[hc]; in __find_c_and_lock()
[all …]
/external/apache-http/src/org/apache/http/conn/routing/
DRouteTracker.java378 int hc = this.targetHost.hashCode(); in hashCode() local
381 hc ^= localAddress.hashCode(); in hashCode()
383 hc ^= proxyChain.length; in hashCode()
385 hc ^= proxyChain[i].hashCode(); in hashCode()
389 hc ^= 0x11111111; in hashCode()
391 hc ^= 0x22222222; in hashCode()
393 hc ^= this.tunnelled.hashCode(); in hashCode()
394 hc ^= this.layered.hashCode(); in hashCode()
396 return hc; in hashCode()
DHttpRoute.java387 int hc = this.targetHost.hashCode(); in hashCode() local
390 hc ^= localAddress.hashCode(); in hashCode()
392 hc ^= proxyChain.length; in hashCode()
393 for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); in hashCode()
397 hc ^= 0x11111111; in hashCode()
399 hc ^= this.tunnelled.hashCode(); in hashCode()
400 hc ^= this.layered.hashCode(); in hashCode()
402 return hc; in hashCode()
/external/valgrind/massif/
Dms_main.c1126 HP_Chunk* hc = VG_(allocEltPA)(HP_chunk_poolalloc); in record_block() local
1127 hc->req_szB = req_szB; in record_block()
1128 hc->slop_szB = slop_szB; in record_block()
1129 hc->data = (Addr)p; in record_block()
1130 hc->where = 0; in record_block()
1131 VG_(HT_add_node)(malloc_list, hc); in record_block()
1136 hc->where = add_heap_xt( tid, req_szB, exclude_first_entry); in record_block()
1138 if (VG_(XT_n_ips_sel)(heap_xt, hc->where) > 0) { in record_block()
1193 HP_Chunk* hc = VG_(HT_remove)(malloc_list, (UWord)p); in unrecord_block() local
1194 if (NULL == hc) { in unrecord_block()
[all …]
/external/guava/guava/src/com/google/common/cache/
DStriped64.java185 final void retryUpdate(long x, int[] hc, boolean wasUncontended) { in retryUpdate() argument
187 if (hc == null) { in retryUpdate()
188 threadHashCode.set(hc = new int[1]); // Initialize randomly in retryUpdate()
190 h = hc[0] = (r == 0) ? 1 : r; in retryUpdate()
193 h = hc[0]; in retryUpdate()
245 hc[0] = h; // Record index for next time in retryUpdate()
DLongAdder.java70 Cell[] as; long b, v; int[] hc; Cell a; int n; in add() local
73 if ((hc = threadHashCode.get()) == null || in add()
75 (a = as[(n - 1) & hc[0]]) == null || in add()
77 retryUpdate(x, hc, uncontended); in add()
/external/squashfs-tools/squashfs-tools/
Dlz4_wrapper.c34 static int hc = 0; variable
54 hc = 1; in lz4_options()
82 comp_opts.flags = hc ? LZ4_HC : 0; in lz4_dump_options()
131 hc = 1; in lz4_extract_options()
228 if(hc) in lz4_compress()
/external/eigen/test/
Dhouseholder.cpp87 HCoeffsVectorType hc = qr.hCoeffs().conjugate(); in householder() local
88 HouseholderSequence<MatrixType, HCoeffsVectorType> hseq(m2, hc); in householder()
89 hseq.setLength(hc.size()).setShift(shift); in householder()
90 VERIFY(hseq.length() == hc.size()); in householder()
119 HouseholderSequence<TMatrixType, HCoeffsVectorType, OnTheRight> rhseq(tm2, hc); in householder()
120 rhseq.setLength(hc.size()).setShift(shift); in householder()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas601 start, hc: Integer;
610 hc := FItems[Result].HashCode;
613 if hc = 0 then
617 if (hc = HashCode) and FComparer.Equals(FItems[Result].Key, Key) then
747 index, hc: Integer;
752 hc := Hash(Key);
753 index := GetBucketIndex(Key, hc);
757 DoAdd(hc, not index, Key, Value);
769 gap, index, hc, bucket: Integer;
772 hc := Hash(Key);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DPeriod.java285 int hc = (timeLimit << 1) | (inFuture ? 1 : 0); in hashCode() local
287 hc = (hc << 2) ^ counts[i]; in hashCode()
289 return hc; in hashCode()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DPeriod.java287 int hc = (timeLimit << 1) | (inFuture ? 1 : 0); in hashCode() local
289 hc = (hc << 2) ^ counts[i]; in hashCode()
291 return hc; in hashCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DHebrewTest.java477 HebrewCalendar hc = new HebrewCalendar (5742, HebrewCalendar.AV, 22); in Test1624() local
478 DateFormat df = hc.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL, Locale.getDefault()); in Test1624()
479 String dateString = df.format(hc.getTime()); in Test1624()
489 hc = new HebrewCalendar (year, month, day); in Test1624()
491 dateString = df.format(hc.getTime()); in Test1624()
492 int dayHC = hc.get (HebrewCalendar.DATE); in Test1624()
493 int monthHC = hc.get (HebrewCalendar.MONTH); in Test1624()
494 int yearHC = hc.get (HebrewCalendar.YEAR); in Test1624()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHebrewTest.java476 HebrewCalendar hc = new HebrewCalendar (5742, HebrewCalendar.AV, 22); in Test1624() local
477 DateFormat df = hc.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL, Locale.getDefault()); in Test1624()
478 String dateString = df.format(hc.getTime()); in Test1624()
488 hc = new HebrewCalendar (year, month, day); in Test1624()
490 dateString = df.format(hc.getTime()); in Test1624()
491 int dayHC = hc.get (HebrewCalendar.DATE); in Test1624()
492 int monthHC = hc.get (HebrewCalendar.MONTH); in Test1624()
493 int yearHC = hc.get (HebrewCalendar.YEAR); in Test1624()
/external/eigen/doc/snippets/
DTridiagonalization_householderCoefficients.cpp5 Vector3d hc = triOfA.householderCoefficients(); variable
6 cout << "The vector of Householder coefficients is:" << endl << hc << endl;

1234567