Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 25 of 197) sorted by relevance

12345678

/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Dhandshake_server.go49 hs := serverHandshakeState{
52 isResume, err := hs.readClientHello()
60 if err := hs.doResumeHandshake(); err != nil {
63 if err := hs.establishKeys(); err != nil {
67 if err := hs.sendSessionTicket(); err != nil {
71 if err := hs.sendFinished(); err != nil {
74 if err := hs.readFinished(isResume); err != nil {
81 if err := hs.doFullHandshake(); err != nil {
84 if err := hs.establishKeys(); err != nil {
87 if err := hs.readFinished(isResume); err != nil {
[all …]
Dhandshake_client.go223 hs := &clientHandshakeState{
232 hs.writeHash(helloBytes, hs.c.sendHandshakeSeq-1)
233 hs.writeServerHash(hs.serverHello.marshal())
236 hs.establishKeys()
240 isResume, err := hs.processServerHello()
247 if err := hs.establishKeys(); err != nil {
251 if err := hs.readSessionTicket(); err != nil {
254 if err := hs.readFinished(); err != nil {
257 if err := hs.sendFinished(isResume); err != nil {
261 if err := hs.doFullHandshake(); err != nil {
[all …]
/external/chromium_org/chrome/browser/history/android/
Dandroid_history_provider_service.cc29 HistoryService* hs = in QueryHistoryAndBookmarks() local
31 if (hs) { in QueryHistoryAndBookmarks()
32 DCHECK(hs->thread_) << "History service being called after cleanup"; in QueryHistoryAndBookmarks()
33 DCHECK(hs->thread_checker_.CalledOnValidThread()); in QueryHistoryAndBookmarks()
35 hs->thread_->message_loop_proxy().get(), in QueryHistoryAndBookmarks()
38 hs->history_backend_.get(), in QueryHistoryAndBookmarks()
57 HistoryService* hs = in UpdateHistoryAndBookmarks() local
59 if (hs) { in UpdateHistoryAndBookmarks()
60 DCHECK(hs->thread_) << "History service being called after cleanup"; in UpdateHistoryAndBookmarks()
61 DCHECK(hs->thread_checker_.CalledOnValidThread()); in UpdateHistoryAndBookmarks()
[all …]
/external/chromium_org/net/third_party/nss/ssl/
Ddtlscon.c247 if ((message_seq == ss->ssl3.hs.recvMessageSeq) in dtls_HandleHandshake()
251 ss->ssl3.hs.msg_type = (SSL3HandshakeType)type; in dtls_HandleHandshake()
252 ss->ssl3.hs.msg_len = message_length; in dtls_HandleHandshake()
256 dtls_FreeHandshakeMessages(&ss->ssl3.hs.lastMessageFlight); in dtls_HandleHandshake()
257 ss->ssl3.hs.recvdHighWater = -1; in dtls_HandleHandshake()
262 if (ss->ssl3.hs.rtRetries == 0) { in dtls_HandleHandshake()
263 ss->ssl3.hs.rtTimeoutMs = INITIAL_DTLS_TIMEOUT_MS; in dtls_HandleHandshake()
266 rv = ssl3_HandleHandshakeMessage(ss, buf.buf, ss->ssl3.hs.msg_len); in dtls_HandleHandshake()
272 if (message_seq < ss->ssl3.hs.recvMessageSeq) { in dtls_HandleHandshake()
275 if (ss->ssl3.hs.rtTimerCb == NULL) { in dtls_HandleHandshake()
[all …]
Dssl3con.c1403 ssl3CipherSuite suite = ss->ssl3.hs.cipher_suite; in ssl3_SetupPendingCipherSpec()
1449 ss->ssl3.hs.suite_def = suite_def; in ssl3_SetupPendingCipherSpec()
1450 ss->ssl3.hs.kea_def = &kea_defs[kea]; in ssl3_SetupPendingCipherSpec()
1451 PORT_Assert(ss->ssl3.hs.kea_def->kea == kea); in ssl3_SetupPendingCipherSpec()
1468 pwSpec->compression_method = ss->ssl3.hs.compression; in ssl3_SetupPendingCipherSpec()
2302 const ssl3KEADef * kea_def = ss->ssl3.hs.kea_def; in ssl3_InitPendingCipherSpec()
2307 (const unsigned char *)&ss->ssl3.hs.client_random, in ssl3_InitPendingCipherSpec()
2308 (const unsigned char *)&ss->ssl3.hs.server_random, in ssl3_InitPendingCipherSpec()
2914 PORT_Assert(ss->ssl3.hs.ws == wait_server_hello); in ssl3_SendRecord()
3512 if ((ss->ssl3.hs.ws == wait_server_hello) && in ssl3_HandleAlert()
[all …]
Dssl3gthr.c298 if (ss->ssl3.hs.restartTarget) { in ssl3_GatherCompleteHandshake()
309 if (ss->ssl3.hs.msgState.buf) { in ssl3_GatherCompleteHandshake()
310 if (ss->ssl3.hs.msgState.len == 0) { in ssl3_GatherCompleteHandshake()
311 ss->ssl3.hs.msgState.buf = NULL; in ssl3_GatherCompleteHandshake()
395 if (ss->ssl3.hs.ws == idle_handshake) { in ssl3_GatherCompleteHandshake()
403 PORT_Assert(!ss->ssl3.hs.canFalseStart); in ssl3_GatherCompleteHandshake()
405 } else if (ss->ssl3.hs.canFalseStart) { in ssl3_GatherCompleteHandshake()
419 ss->ssl3.hs.canFalseStart = PR_FALSE; in ssl3_GatherCompleteHandshake()
/external/lzma/Java/SevenZip/Compression/LZ/
DBinTree.java97 int hs = kBT2HashSize; in Create() local
101 hs = historySize - 1; in Create()
102 hs |= (hs >> 1); in Create()
103 hs |= (hs >> 2); in Create()
104 hs |= (hs >> 4); in Create()
105 hs |= (hs >> 8); in Create()
106 hs >>= 1; in Create()
107 hs |= 0xFFFF; in Create()
108 if (hs > (1 << 24)) in Create()
109 hs >>= 1; in Create()
[all …]
/external/lzma/CS/7zip/Compress/LZ/
DLzBinTree.cs97 UInt32 hs = kBT2HashSize; in Create()
101 hs = historySize - 1; in Create()
102 hs |= (hs >> 1); in Create()
103 hs |= (hs >> 2); in Create()
104 hs |= (hs >> 4); in Create()
105 hs |= (hs >> 8); in Create()
106 hs >>= 1; in Create()
107 hs |= 0xFFFF; in Create()
108 if (hs > (1 << 24)) in Create()
109 hs >>= 1; in Create()
[all …]
/external/chromium_org/chrome/browser/history/
Dhistory_tab_helper.cc42 HistoryService* hs = GetHistoryService(); in UpdateHistoryForNavigation() local
43 if (hs) in UpdateHistoryForNavigation()
48 HistoryService* hs = GetHistoryService(); in UpdateHistoryPageTitle() local
49 if (hs) in UpdateHistoryPageTitle()
50 hs->SetPageTitle(entry.GetVirtualURL(), in UpdateHistoryPageTitle()
152 HistoryService* hs = in WebContentsDestroyed() local
154 if (hs) { in WebContentsDestroyed()
157 hs->UpdateWithPageEndTime(tab, entry->GetPageID(), tab->GetURL(), in WebContentsDestroyed()
160 hs->ClearCachedDataForContextID(tab); in WebContentsDestroyed()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_UnmodifiableCollectionTest.java55 HashSet<Integer> hs = new HashSet<Integer>(); in runTest() local
56 hs.add(new Integer(0)); in runTest()
57 hs.add(new Integer(25)); in runTest()
58 hs.add(new Integer(99)); in runTest()
61 col.containsAll(hs)); in runTest()
62 hs.add(new Integer(100)); in runTest()
65 !col.containsAll(hs)); in runTest()
DSupport_UnmodifiableMapTest.java113 HashSet<String> hs = new HashSet<String>(); in t_KeySet() local
114 hs.add("0"); in t_KeySet()
115 hs.add("25"); in t_KeySet()
116 hs.add("99"); in t_KeySet()
119 keySet.containsAll(hs)); in t_KeySet()
120 hs.add("100"); in t_KeySet()
123 !keySet.containsAll(hs)); in t_KeySet()
/external/aac/libSBRenc/src/
Dmh_det.cpp1196 HANDLE_SBR_MISSING_HARMONICS_DETECTOR hs = hSbrMHDet; in FDKsbrEnc_CreateSbrMissingHarmonicsDetector() local
1204 FDKmemclear (hs,sizeof(SBR_MISSING_HARMONICS_DETECTOR)); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1206 hs->prevEnvelopeCompensation = GetRam_Sbr_prevEnvelopeCompensation(chan); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1207 hs->guideScfb = GetRam_Sbr_guideScfb(chan); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1210 hs->guideVectors[i].guideVectorDiff = guideVectorDiff + (i*MAX_FREQ_COEFFS); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1211 hs->guideVectors[i].guideVectorOrig = guideVectorOrig + (i*MAX_FREQ_COEFFS); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1212 hs->detectionVectors[i] = detectionVectors + (i*MAX_FREQ_COEFFS); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1213 hs->guideVectors[i].guideVectorDetected = guideVectorDetected + (i*MAX_FREQ_COEFFS); in FDKsbrEnc_CreateSbrMissingHarmonicsDetector()
1242 HANDLE_SBR_MISSING_HARMONICS_DETECTOR hs = hSbrMHDet; in FDKsbrEnc_InitSbrMissingHarmonicsDetector() local
1252 hs->transientPosOffset = FRAME_MIDDLE_SLOT_512LD; in FDKsbrEnc_InitSbrMissingHarmonicsDetector()
[all …]
/external/aac/libSBRdec/src/
Dsbr_dec.cpp739 HANDLE_SBR_DEC hs = &(hSbrChannel->SbrDec); in createSbrDec() local
742 hs->sbrScaleFactor.ov_lb_scale = 0; in createSbrDec()
743 hs->sbrScaleFactor.ov_hb_scale = 0; in createSbrDec()
744 hs->sbrScaleFactor.hb_scale = 0; in createSbrDec()
750 err = createSbrEnvelopeCalc (&hs->SbrCalculateEnvelope, in createSbrDec()
767 &hs->AnalysiscQMF, in createSbrDec()
768 hs->anaQmfStates, in createSbrDec()
779 if (hs->pSynQmfStates == NULL) { in createSbrDec()
780 hs->pSynQmfStates = GetRam_sbr_QmfStatesSynthesis(chan); in createSbrDec()
781 if (hs->pSynQmfStates == NULL) in createSbrDec()
[all …]
Dpsdec_hybrid.cpp107 InitHybridFilterBank ( HANDLE_HYBRID hs, /*!< Handle to HYBRID struct. */ in InitHybridFilterBank() argument
116 hs->pResolution[i] = pResolution[i]; in InitHybridFilterBank()
121 hs->nQmfBands = noBands; in InitHybridFilterBank()
122 hs->frameSize = frameSize; in InitHybridFilterBank()
123 hs->qmfBufferMove = HYBRID_FILTER_LENGTH - 1; in InitHybridFilterBank()
125 hs->sf_mQmfBuffer = 0; in InitHybridFilterBank()
/external/libvpx/libvpx/vp8/common/
Donyx.h68 static void Scale2Ratio(int mode, int *hr, int *hs) in Scale2Ratio() argument
74 *hs = 1; in Scale2Ratio()
78 *hs = 5; in Scale2Ratio()
82 *hs = 5; in Scale2Ratio()
86 *hs = 2; in Scale2Ratio()
90 *hs = 1; in Scale2Ratio()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Donyx.h68 static void Scale2Ratio(int mode, int *hr, int *hs) in Scale2Ratio() argument
74 *hs = 1; in Scale2Ratio()
78 *hs = 5; in Scale2Ratio()
82 *hs = 5; in Scale2Ratio()
86 *hs = 2; in Scale2Ratio()
90 *hs = 1; in Scale2Ratio()
/external/libvorbis/lib/
Dblock.c185 int hs; in _vds_shared_init() local
188 hs=ci->halfrate_flag; in _vds_shared_init()
203 mdct_init(b->transform[0][0],ci->blocksizes[0]>>hs); in _vds_shared_init()
204 mdct_init(b->transform[1][0],ci->blocksizes[1]>>hs); in _vds_shared_init()
687 int hs; in vorbis_synthesis_restart() local
693 hs=ci->halfrate_flag; in vorbis_synthesis_restart()
695 v->centerW=ci->blocksizes[1]>>(hs+1); in vorbis_synthesis_restart()
696 v->pcm_current=v->centerW>>hs; in vorbis_synthesis_restart()
724 int hs=ci->halfrate_flag; in vorbis_synthesis_blockin() local
744 int n=ci->blocksizes[v->W]>>(hs+1); in vorbis_synthesis_blockin()
[all …]
/external/chromium_org/net/third_party/nss/patches/
Dsessioncache.patch5 ss->ssl3.hs.receivedNewSessionTicket = PR_FALSE;
8 - if (ss->ssl3.hs.cacheSID) {
9 + if (ss->ssl3.hs.cacheSID && ss->sec.isServer) {
12 ss->ssl3.hs.cacheSID = PR_FALSE;
47 + if (ss->ssl3.hs.cacheSID) {
49 + ss->ssl3.hs.cacheSID = PR_FALSE;
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzFind.c193 UInt32 hs; in MatchFinder_Create() local
198 hs = (1 << 16) - 1; in MatchFinder_Create()
201 hs = historySize - 1; in MatchFinder_Create()
202 hs |= (hs >> 1); in MatchFinder_Create()
203 hs |= (hs >> 2); in MatchFinder_Create()
204 hs |= (hs >> 4); in MatchFinder_Create()
205 hs |= (hs >> 8); in MatchFinder_Create()
206 hs >>= 1; in MatchFinder_Create()
207 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create()
208 if (hs > (1 << 24)) in MatchFinder_Create()
[all …]
/external/lzma/C/
DLzFind.c192 UInt32 hs; in MatchFinder_Create() local
197 hs = (1 << 16) - 1; in MatchFinder_Create()
200 hs = historySize - 1; in MatchFinder_Create()
201 hs |= (hs >> 1); in MatchFinder_Create()
202 hs |= (hs >> 2); in MatchFinder_Create()
203 hs |= (hs >> 4); in MatchFinder_Create()
204 hs |= (hs >> 8); in MatchFinder_Create()
205 hs >>= 1; in MatchFinder_Create()
206 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create()
207 if (hs > (1 << 24)) in MatchFinder_Create()
[all …]
/external/chromium_org/third_party/lzma_sdk/
DLzFind.c192 UInt32 hs; in MatchFinder_Create() local
197 hs = (1 << 16) - 1; in MatchFinder_Create()
200 hs = historySize - 1; in MatchFinder_Create()
201 hs |= (hs >> 1); in MatchFinder_Create()
202 hs |= (hs >> 2); in MatchFinder_Create()
203 hs |= (hs >> 4); in MatchFinder_Create()
204 hs |= (hs >> 8); in MatchFinder_Create()
205 hs >>= 1; in MatchFinder_Create()
206 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create()
207 if (hs > (1 << 24)) in MatchFinder_Create()
[all …]
/external/javassist/sample/hotswap/
DTest.java6 HotSwapper hs = new HotSwapper(8000); in main() local
14 hs.reload("HelloWorld", bytes); in main()
22 hs.reload("HelloWorld", bytes); in main()
/external/chromium_org/chrome/browser/extensions/api/history/
Dhistory_api.cc300 HistoryService* hs = HistoryServiceFactory::GetForProfile( in RunAsyncImpl() local
302 hs->QueryURL(url, in RunAsyncImpl()
345 HistoryService* hs = HistoryServiceFactory::GetForProfile( in RunAsyncImpl() local
347 hs->QueryHistory(search_text, in RunAsyncImpl()
379 HistoryService* hs = HistoryServiceFactory::GetForProfile( in RunAsync() local
381 hs->AddPage(url, base::Time::Now(), history::SOURCE_EXTENSION); in RunAsync()
398 HistoryService* hs = HistoryServiceFactory::GetForProfile( in RunAsync() local
400 hs->DeleteURL(url); in RunAsync()
427 HistoryService* hs = HistoryServiceFactory::GetForProfile( in RunAsyncImpl() local
429 hs->ExpireHistoryBetween( in RunAsyncImpl()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h263 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount), in OptionalAmount()
267 : start(nullptr),length(0), hs(valid ? NotSpecified : Invalid), amt(0), in start()
271 return hs == Invalid; in isInvalid()
274 HowSpecified getHowSpecified() const { return hs; } in getHowSpecified()
275 void setHowSpecified(HowSpecified h) { hs = h; } in setHowSpecified()
277 bool hasDataArgument() const { return hs == Arg; } in hasDataArgument()
285 assert(hs == Constant); in getConstantAmount()
295 assert(hs == Constant); in getConstantLength()
315 HowSpecified hs; variable
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp851 UInt32 hs = dictionary - 1; in GetLZMAUsage() local
852 hs |= (hs >> 1); in GetLZMAUsage()
853 hs |= (hs >> 2); in GetLZMAUsage()
854 hs |= (hs >> 4); in GetLZMAUsage()
855 hs |= (hs >> 8); in GetLZMAUsage()
856 hs >>= 1; in GetLZMAUsage()
857 hs |= 0xFFFF; in GetLZMAUsage()
858 if (hs > (1 << 24)) in GetLZMAUsage()
859 hs >>= 1; in GetLZMAUsage()
860 hs++; in GetLZMAUsage()
[all …]

12345678