Home
last modified time | relevance | path

Searched refs:cis (Results 1 – 25 of 50) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DParseRawPrimitivesBenchmark.cs112 CodedInputStream cis = new CodedInputStream(varintInputBuffers[encodedSize]); in ParseRawVarint32_CodedInputStream()
116 sum += cis.ReadInt32(); in ParseRawVarint32_CodedInputStream()
151 CodedInputStream cis = new CodedInputStream(varintInputBuffers[encodedSize]); in ParseRawVarint64_CodedInputStream()
155 sum += cis.ReadInt64(); in ParseRawVarint64_CodedInputStream()
186 CodedInputStream cis = new CodedInputStream(fixedIntInputBuffer); in ParseFixed32_CodedInputStream()
190 sum += cis.ReadFixed32(); in ParseFixed32_CodedInputStream()
212 CodedInputStream cis = new CodedInputStream(fixedIntInputBuffer); in ParseFixed64_CodedInputStream()
216 sum += cis.ReadFixed64(); in ParseFixed64_CodedInputStream()
238 CodedInputStream cis = new CodedInputStream(floatInputBuffer); in ParseRawFloat_CodedInputStream()
242 sum += cis.ReadFloat(); in ParseRawFloat_CodedInputStream()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCaseInsensitiveString.java68 CaseInsensitiveString cis = (CaseInsensitiveString) o; in equals() local
69 cis.getFolded(); in equals()
70 return folded.equals(cis.folded); in equals()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCaseInsensitiveString.java70 CaseInsensitiveString cis = (CaseInsensitiveString) o; in equals() local
71 cis.getFolded(); in equals()
72 return folded.equals(cis.folded); in equals()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DIssuesTest.cs106 var cis = new CodedInputStream(ms.ToArray()); in CodedInputStream_LimitReachedRightAfterTag()
107 cis.PushLimit(1); // make sure we reach the limit right after reading the tag. in CodedInputStream_LimitReachedRightAfterTag()
113 cis.AssertNextTag(WireFormat.MakeTag(11, WireFormat.WireType.Varint)); in CodedInputStream_LimitReachedRightAfterTag()
DCodedInputStreamTest.cs460 CodedInputStream cis = new CodedInputStream(new byte[] { tag }); in ReadTag_ZeroFieldRejected()
461 Assert.Throws<InvalidProtocolBufferException>(() => cis.ReadTag()); in ReadTag_ZeroFieldRejected()
854 using (var cis = new CodedInputStream(memoryStream)) in Dispose_DisposesUnderlyingStream()
865 using (var cis = new CodedInputStream(memoryStream, true)) in Dispose_WithLeaveOpen()
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c51 if (stash->cis[CIS_METHOD] && (!strcmp(stash->cis[CIS_METHOD], "RAW") || in lws_http_client_connect_via_info2()
52 !strcmp(stash->cis[CIS_METHOD], "MQTT"))) in lws_http_client_connect_via_info2()
61 if (hnames[n] && stash->cis[n] && in lws_http_client_connect_via_info2()
62 lws_hdr_simple_create(wsi, hnames[n], stash->cis[n])) in lws_http_client_connect_via_info2()
116 wsi->stash->cis[n] = pc; in lws_client_stash_create()
/third_party/libwebsockets/lib/tls/
Dtls-sessions.c51 host = wsi->stash->cis[CIS_HOST]; in lws_tls_session_tag_from_wsi()
53 host = wsi->stash->cis[CIS_ADDRESS]; in lws_tls_session_tag_from_wsi()
Dtls-jit-trust.c99 if (wsi->stash && wsi->stash->cis[CIS_HOST]) in lws_tls_jit_trust_sort_kids()
100 host = wsi->stash->cis[CIS_HOST]; in lws_tls_jit_trust_sort_kids()
/third_party/protobuf/src/google/protobuf/
Dmessage_unittest.inc583 io::CodedInputStream cis(&zcis);
584 EXPECT_TRUE(msg.MergePartialFromCodedStream(&cis));
585 EXPECT_EQ(cis.CurrentPosition(), 3 * 4 + 1);
597 io::CodedInputStream cis(&zcis);
598 EXPECT_TRUE(msg.MergePartialFromCodedStream(&cis));
599 EXPECT_EQ(cis.CurrentPosition(), 3 * 3 + 1);
600 EXPECT_TRUE(cis.LastTagWas(12));
612 io::CodedInputStream cis(&zcis);
613 EXPECT_TRUE(msg.MergePartialFromCodedStream(&cis));
614 EXPECT_EQ(cis.CurrentPosition(), 6);
[all …]
Dlite_unittest.cc1060 io::CodedInputStream cis(reinterpret_cast<const uint8*>(kWireFormat), 2); in TEST()
1065 EXPECT_TRUE(msg.MergePartialFromCodedStream(&cis)); in TEST()
1066 EXPECT_FALSE(cis.ConsumedEntireMessage()); in TEST()
1067 EXPECT_TRUE(cis.LastTagWas(132)); in TEST()
1073 io::CodedInputStream cis(reinterpret_cast<const uint8*>(kWireFormat), 1); in TEST()
1077 EXPECT_FALSE(msg.MergePartialFromCodedStream(&cis)); in TEST()
/third_party/libwebsockets/lib/roles/http/
Dcookie.c302 ads = stash->cis[CIS_ADDRESS]; in lws_cookie_write_nsc()
303 path = stash->cis[CIS_PATH]; in lws_cookie_write_nsc()
419 if (!stash || !stash->cis[CIS_ADDRESS] || in lws_cookie_attach_cookies()
420 !stash->cis[CIS_PATH]) in lws_cookie_attach_cookies()
431 domain = stash->cis[CIS_ADDRESS]; in lws_cookie_attach_cookies()
432 path = stash->cis[CIS_PATH]; in lws_cookie_attach_cookies()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c80 lws_strncpy(hostname, wsi->stash->cis[CIS_HOST], sizeof(hostname)); in lws_ssl_client_bio_create()
130 lws_strncpy(hostname, wsi->stash->cis[CIS_HOST], in lws_ssl_client_bio_create()
132 if (wsi->stash->cis[CIS_ALPN]) in lws_ssl_client_bio_create()
133 alpn_comma = wsi->stash->cis[CIS_ALPN]; in lws_ssl_client_bio_create()
/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c236 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_mqtt()
240 if (!wsi->stash->cis[CIS_METHOD] && !wsi->stash->cis[CIS_ALPN]) in rops_client_bind_mqtt()
241 wsi->stash->cis[CIS_ALPN] = "x-amzn-mqtt-ca"; in rops_client_bind_mqtt()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java327 CodedInputStream cis = stringUnderTest.newCodedInput(); in testNewCodedInput() local
328 byte[] roundTripBytes = cis.readRawBytes(referenceBytes.length); in testNewCodedInput()
331 assertTrue(classUnderTest + " CodedInputStream must now be exhausted", cis.isAtEnd()); in testNewCodedInput()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c988 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_h1()
1002 if (!wsi->stash->cis[CIS_METHOD] && !wsi->stash->cis[CIS_ALPN]) in rops_client_bind_h1()
1003 wsi->stash->cis[CIS_ALPN] = "http/1.1"; in rops_client_bind_h1()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java95 for (CaseInsensitiveString cis : uattributes) { in LocaleExtensions()
96 uaset.add(AsciiUtil.toLowerString(cis.value())); in LocaleExtensions()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleExtensions.java99 for (CaseInsensitiveString cis : uattributes) { in LocaleExtensions()
100 uaset.add(AsciiUtil.toLowerString(cis.value())); in LocaleExtensions()
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c154 n = (ssize_t)strlen(wsi->stash->cis[CIS_ADDRESS]); in lws_socks5c_generate_msg()
173 memcpy(p, wsi->stash->cis[CIS_ADDRESS], (size_t)n); in lws_socks5c_generate_msg()
Dclose.c946 if (wsi->stash->cis[CIS_ALPN]) in __lws_close_free_wsi_final()
947 lws_strncpy(wsi->alpn, wsi->stash->cis[CIS_ALPN], in __lws_close_free_wsi_final()
963 if (wsi->stash && wsi->stash->cis[CIS_ADDRESS]) { in __lws_close_free_wsi_final()
966 wsi->stash->cis[CIS_ADDRESS], in __lws_close_free_wsi_final()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java545 CodedInputStream cis = stringUnderTest.newCodedInput(); in testNewCodedInput() local
546 byte[] roundTripBytes = cis.readRawBytes(referenceBytes.length); in testNewCodedInput()
550 assertTrue(classUnderTest + " CodedInputStream must now be exhausted", cis.isAtEnd()); in testNewCodedInput()
DNioByteStringTest.java599 CodedInputStream cis = testString.newCodedInput(); in testNewCodedInput() local
600 byte[] roundTripBytes = cis.readRawBytes(BYTES.length); in testNewCodedInput()
604 assertTrue(CLASSNAME + " CodedInputStream must now be exhausted", cis.isAtEnd()); in testNewCodedInput()
/third_party/rust/crates/aho-corasick/bench/data/
Drandom10x.txt219 cis
732 cis
1245 cis
1758 cis
2271 cis
2784 cis
3297 cis
3810 cis
4323 cis
4836 cis
/third_party/rust/crates/nom/assets/
Dlinks.txt25 http://www.cis.upenn.edu/~bcpierce/sf/current/toc.html
/third_party/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c169 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_raw_proxy()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c247 lws_strncpy(hostname, wsi->stash->cis[CIS_HOST], sizeof(hostname)); in lws_ssl_client_bio_create()
250 alpn_comma = wsi->stash->cis[CIS_ALPN]; in lws_ssl_client_bio_create()
395 alpn_comma = wsi->stash->cis[CIS_ALPN]; in lws_ssl_client_bio_create()

12