/external/libwebsockets/lib/core-net/ |
D | sequencer.c | 101 lws_seq_t *seq = lws_zalloc(sizeof(*seq) + i->user_size, __func__); in lws_seq_create() local 103 if (!seq) in lws_seq_create() 106 seq->cb = i->cb; in lws_seq_create() 107 seq->pt = pt; in lws_seq_create() 108 seq->name = i->name; in lws_seq_create() 109 seq->retry = i->retry; in lws_seq_create() 110 seq->wakesuspend = i->wakesuspend; in lws_seq_create() 112 *i->puser = (void *)&seq[1]; in lws_seq_create() 118 lws_dll2_add_tail(&seq->seq_list, &pt->seq_owner); in lws_seq_create() 122 seq->time_created = lws_now_usecs(); in lws_seq_create() [all …]
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | ParserSequenceTest.java | 14 JsonParserSequence seq = JsonParserSequence.createFlattened(false, p1, p2); in testSimple() local 15 assertEquals(2, seq.containedParsersCount()); in testSimple() 19 assertFalse(seq.isClosed()); in testSimple() 20 assertToken(JsonToken.START_ARRAY, seq.nextToken()); in testSimple() 21 assertToken(JsonToken.VALUE_NUMBER_INT, seq.nextToken()); in testSimple() 22 assertEquals(1, seq.getIntValue()); in testSimple() 23 assertToken(JsonToken.END_ARRAY, seq.nextToken()); in testSimple() 26 assertFalse(seq.isClosed()); in testSimple() 27 assertToken(JsonToken.START_ARRAY, seq.nextToken()); in testSimple() 32 assertFalse(seq.isClosed()); in testSimple() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | NewHdfParser.java | 200 String seq = stripWhitespace(state.line); in parse() local 202 parseCommand(seq, state); in parse() 211 private void parseCommand(String seq, ParseState state) throws IOException, OutOfCharsException { in parseCommand() argument 212 if (seq.length() == 0) { in parseCommand() 216 if (charAt(seq, 0) == '#') { in parseCommand() 218 if (matches(seq, 0, INCLUDE_WS)) { in parseCommand() 220 int start = skipLeadingWhitespace(seq, INCLUDE_WS.length()); in parseCommand() 221 parseInclude(seq, start, state); in parseCommand() 224 } else if (charAt(seq, 0) == '}') { in parseCommand() 225 if (skipLeadingWhitespace(seq, 1) != seq.length()) { in parseCommand() [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_sequence.py | 20 self.seq.close() 21 del self.seq 32 self.seq = db.DBSequence(self.d, flags=0) 35 self.assertEqual(None, self.seq.initial_value(start_value)) 36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE)) 37 self.assertEqual(start_value, self.seq.get(5)) 38 self.assertEqual(start_value + 5, self.seq.get()) 41 self.seq = db.DBSequence(self.d, flags=0) 42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)) 43 self.assertEqual(None, self.seq.remove(txn=None, flags=0)) [all …]
|
/external/tcpdump/tests/ |
D | mptcp-v0.out | 1 …1 12:56:35.701161 IP 10.2.1.2.35961 > 10.1.1.2.22: Flags [S], seq 2912457561, win 14600, options … 2 …2 12:56:35.701661 IP 10.1.1.2.22 > 10.2.1.2.35961: Flags [S.], seq 125971326, ack 2912457562, win… 4 ….], seq 1:42, ack 1, win 447, options [nop,nop,TS val 4294943474 ecr 4294943152,mptcp 8 add-addr v… 6 …1.1.2.22: Flags [P.], seq 1:42, ack 42, win 229, options [nop,nop,TS val 4294943168 ecr 4294943474… 8 …8 12:56:35.788254 IP 10.2.1.2.41221 > 10.1.2.2.22: Flags [S], seq 1863826096, win 14600, options … 9 …9 12:56:35.788849 IP 10.1.2.2.22 > 10.2.1.2.41221: Flags [S.], seq 1704897135, ack 1863826097, wi… 11 ….1.2.22: Flags [P.], seq 42:890, ack 42, win 229, options [nop,nop,TS val 4294943168 ecr 429494347… 14 ….2.41221: Flags [P.], seq 1:785, ack 1, win 500, options [nop,nop,TS val 4294943474 ecr 4294943168… 16 …1.2.2.22: Flags [P.], seq 1:25, ack 785, win 253, options [nop,nop,TS val 4294943170 ecr 429494347… 18 …2.41221: Flags [P.], seq 785:937, ack 25, win 500, options [nop,nop,TS val 4294943474 ecr 42949431… [all …]
|
D | esp2.out | 1 …8,seq=0x1), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x1), length 116: IP 192… 2 …8,seq=0x2), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x2), length 116: IP 192… 3 …8,seq=0x3), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x3), length 116: IP 192… 4 …8,seq=0x4), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x4), length 116: IP 192… 5 …8,seq=0x5), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x5), length 116: IP 192… 6 …8,seq=0x6), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x6), length 116: IP 192… 7 …8,seq=0x7), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x7), length 116: IP 192… 8 …8,seq=0x8), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x8), length 116: IP 192…
|
D | e1000g.out | 1 … 1 17:27:26.701826 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 0, length 64 2 2 17:27:26.701845 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 0, length 64 3 … 3 17:27:27.692887 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 1, length 64 4 4 17:27:27.692892 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 1, length 64 5 … 5 17:27:28.692808 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 2, length 64 6 6 17:27:28.692812 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 2, length 64 7 … 7 17:27:29.692666 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 3, length 64 8 8 17:27:29.692669 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 3, length 64 9 … 9 17:27:30.692585 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 4, length 64 10 10 17:27:30.692589 IP 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 4, length 64 [all …]
|
D | e1000g-e.out | 1 …y IPv4 (2), length 108: 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 0, length 64 2 …ily IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 0, length 64 3 …y IPv4 (2), length 108: 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 1, length 64 4 …ily IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 1, length 64 5 …y IPv4 (2), length 108: 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 2, length 64 6 …ily IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 2, length 64 7 …y IPv4 (2), length 108: 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 3, length 64 8 …ily IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 3, length 64 9 …y IPv4 (2), length 108: 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 4, length 64 10 …ily IPv4 (2), length 108: 10.5.233.117 > 129.146.106.55: ICMP echo reply, id 6901, seq 4, length 64 [all …]
|
D | esp1.out | 1 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 2 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 3 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 4 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 5 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 6 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 7 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 8 …23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ…
|
D | esp5.out | 1 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x1), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 2 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x2), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 3 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x3), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 4 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x4), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 5 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x5), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 6 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x6), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 7 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x7), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ… 8 …23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x8), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo requ…
|
D | resp_3.out | 1 …1 20:01:00.856800 IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [F.], seq 2169831382, ack 489972337,… 2 …2 20:01:00.856919 IP 127.0.0.1.6379 > 127.0.0.1.52759: Flags [F.], seq 1, ack 1, win 342, options… 4 …4 20:01:00.864538 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [S], seq 264055152, win 43690, optio… 5 …5 20:01:00.864559 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [S.], seq 4227148888, ack 264055153,… 7 …7 20:01:00.864630 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, optio… 9 …9 20:01:00.864680 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [P.], seq 1:28, ack 7, win 342, opti… 11 …11 20:01:01.865454 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [F.], seq 7, ack 28, win 342, optio… 12 …12 20:01:01.865587 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [F.], seq 28, ack 8, win 342, optio… 14 …14 20:01:01.875422 IP 127.0.0.1.52763 > 127.0.0.1.6379: Flags [S], seq 4029577365, win 43690, opt… 15 …15 20:01:01.875455 IP 127.0.0.1.6379 > 127.0.0.1.52763: Flags [S.], seq 365322185, ack 4029577366… [all …]
|
/external/perfetto/src/tracing/core/ |
D | packet_stream_validator_unittest.cc | 33 Slices seq; in TEST() local 34 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 42 Slices seq; in TEST() local 43 seq.emplace_back(&ser_buf[0], ser_buf.size()); in TEST() 44 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 59 Slices seq; in TEST() local 60 seq.emplace_back(&ser_buf[0], ser_buf.size()); in TEST() 61 EXPECT_TRUE(PacketStreamValidator::Validate(seq)); in TEST() 69 Slices seq; in TEST() local 70 seq.emplace_back(&ser_buf[0], ser_buf.size()); in TEST() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_index.py | 83 self.assertEqual(self.seq[self.n], self.seq[2]) 84 self.assertEqual(self.seq[self.o], self.seq[-2]) 91 self.assertEqual(self.seq[self.o:self.o2], self.seq[1:3]) 92 self.assertEqual(self.seq[self.n:self.n2], self.seq[2:4]) 95 seqlen = len(self.seq) 98 self.assertEqual(self.seq[self.o:], self.seq[0:0]) 99 self.assertEqual(self.seq[:self.o], self.seq) 100 self.assertEqual(self.seq[self.n:], self.seq[0:0]) 101 self.assertEqual(self.seq[:self.n], self.seq) 104 if isinstance(self.seq, ClassicSeq): [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | TBSCertList.java | 45 ASN1Sequence seq; field in TBSCertList.CRLEntry 50 ASN1Sequence seq) in CRLEntry() argument 52 if (seq.size() < 2 || seq.size() > 3) in CRLEntry() 54 throw new IllegalArgumentException("Bad sequence size: " + seq.size()); in CRLEntry() 57 this.seq = seq; in CRLEntry() 76 return ASN1Integer.getInstance(seq.getObjectAt(0)); in getUserCertificate() 81 return Time.getInstance(seq.getObjectAt(1)); in getRevocationDate() 86 if (crlEntryExtensions == null && seq.size() == 3) in getExtensions() 88 crlEntryExtensions = Extensions.getInstance(seq.getObjectAt(2)); in getExtensions() 96 return seq; in toASN1Primitive() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | handoff.cc | 85 CBB seq; in SSL_serialize_handoff() local 88 if (!CBB_add_asn1(out, &seq, CBS_ASN1_SEQUENCE) || in SSL_serialize_handoff() 89 !CBB_add_asn1_uint64(&seq, kHandoffVersion) || in SSL_serialize_handoff() 90 !CBB_add_asn1_octet_string(&seq, transcript.data(), transcript.size()) || in SSL_serialize_handoff() 91 !CBB_add_asn1_octet_string(&seq, in SSL_serialize_handoff() 94 !serialize_features(&seq) || in SSL_serialize_handoff() 243 CBS seq, handoff_cbs(handoff); in SSL_apply_handoff() local 245 if (!CBS_get_asn1(&handoff_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handoff() 246 !CBS_get_asn1_uint64(&seq, &handoff_version) || in SSL_apply_handoff() 252 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_index.py | 105 self.assertEqual(self.seq[self.n], self.seq[2]) 106 self.assertEqual(self.seq[self.o], self.seq[-2]) 113 self.assertEqual(self.seq[self.o:self.o2], self.seq[1:3]) 114 self.assertEqual(self.seq[self.n:self.n2], self.seq[2:4]) 117 seqlen = len(self.seq) 120 self.assertEqual(self.seq[self.o:], self.seq[0:0]) 121 self.assertEqual(self.seq[:self.o], self.seq) 122 self.assertEqual(self.seq[self.n:], self.seq[0:0]) 123 self.assertEqual(self.seq[:self.n], self.seq) 126 self.assertEqual(self.seq[self.o2:], self.seq) [all …]
|
/external/cronet/third_party/boringssl/src/ssl/ |
D | handoff.cc | 86 CBB seq; in SSL_serialize_handoff() local 89 if (!CBB_add_asn1(out, &seq, CBS_ASN1_SEQUENCE) || in SSL_serialize_handoff() 90 !CBB_add_asn1_uint64(&seq, kHandoffVersion) || in SSL_serialize_handoff() 91 !CBB_add_asn1_octet_string(&seq, transcript.data(), transcript.size()) || in SSL_serialize_handoff() 92 !CBB_add_asn1_octet_string(&seq, in SSL_serialize_handoff() 95 !serialize_features(&seq) || in SSL_serialize_handoff() 251 CBS seq, handoff_cbs(handoff); in SSL_apply_handoff() local 253 if (!CBS_get_asn1(&handoff_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handoff() 254 !CBS_get_asn1_uint64(&seq, &handoff_version) || in SSL_apply_handoff() 260 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() [all …]
|
/external/boringssl/src/ssl/ |
D | handoff.cc | 86 CBB seq; in SSL_serialize_handoff() local 89 if (!CBB_add_asn1(out, &seq, CBS_ASN1_SEQUENCE) || in SSL_serialize_handoff() 90 !CBB_add_asn1_uint64(&seq, kHandoffVersion) || in SSL_serialize_handoff() 91 !CBB_add_asn1_octet_string(&seq, transcript.data(), transcript.size()) || in SSL_serialize_handoff() 92 !CBB_add_asn1_octet_string(&seq, in SSL_serialize_handoff() 95 !serialize_features(&seq) || in SSL_serialize_handoff() 251 CBS seq, handoff_cbs(handoff); in SSL_apply_handoff() local 253 if (!CBS_get_asn1(&handoff_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handoff() 254 !CBS_get_asn1_uint64(&seq, &handoff_version) || in SSL_apply_handoff() 260 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | TBSCertList.java | 50 ASN1Sequence seq; field in TBSCertList.CRLEntry 55 ASN1Sequence seq) in CRLEntry() argument 57 if (seq.size() < 2 || seq.size() > 3) in CRLEntry() 59 throw new IllegalArgumentException("Bad sequence size: " + seq.size()); in CRLEntry() 62 this.seq = seq; in CRLEntry() 81 return ASN1Integer.getInstance(seq.getObjectAt(0)); in getUserCertificate() 86 return Time.getInstance(seq.getObjectAt(1)); in getRevocationDate() 91 if (crlEntryExtensions == null && seq.size() == 3) in getExtensions() 93 crlEntryExtensions = Extensions.getInstance(seq.getObjectAt(2)); in getExtensions() 101 return seq; in toASN1Primitive() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/ |
D | TBSCertList.java | 50 ASN1Sequence seq; field in TBSCertList.CRLEntry 55 ASN1Sequence seq) in CRLEntry() argument 57 if (seq.size() < 2 || seq.size() > 3) in CRLEntry() 59 throw new IllegalArgumentException("Bad sequence size: " + seq.size()); in CRLEntry() 62 this.seq = seq; in CRLEntry() 81 return ASN1Integer.getInstance(seq.getObjectAt(0)); in getUserCertificate() 86 return Time.getInstance(seq.getObjectAt(1)); in getRevocationDate() 91 if (crlEntryExtensions == null && seq.size() == 3) in getExtensions() 93 crlEntryExtensions = Extensions.getInstance(seq.getObjectAt(2)); in getExtensions() 101 return seq; in toASN1Primitive() [all …]
|
/external/strace/ |
D | strace-graph | 244 my $seq = $pr{$pid_fqname}{seq}; 245 $seq = [] if not defined $seq; 247 push @$seq, ['EXEC', $filename, $argv]; 249 $pr{$pid_fqname}{seq} = $seq; 253 my $seq = $pr{$pid_fqname}{seq}; 255 $seq = [] if not defined $seq; 256 push @$seq, ['FORK', $result_fqname]; 257 $pr{$pid_fqname}{seq} = $seq; 260 $pr{$result_fqname}{seq} = []; 275 my $seq = $pr{$pid}{seq}; [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | FCDUTF16CollationIterator.java | 53 if (checkDir == 0 && (seq == rawSeq) != (o.seq == o.rawSeq)) { in equals() 56 if (checkDir != 0 || seq == rawSeq) { in equals() 74 seq = rawSeq; in resetToOffset() 82 if(checkDir != 0 || seq == rawSeq) { in getOffset() 108 c = seq.charAt(pos++); in nextCodePoint() 111 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { in nextCodePoint() 114 c = seq.charAt(pos++); in nextCodePoint() 119 c = seq.charAt(pos++); in nextCodePoint() 127 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 143 c = seq.charAt(--pos); in previousCodePoint() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | FCDUTF16CollationIterator.java | 55 if (checkDir == 0 && (seq == rawSeq) != (o.seq == o.rawSeq)) { in equals() 58 if (checkDir != 0 || seq == rawSeq) { in equals() 76 seq = rawSeq; in resetToOffset() 84 if(checkDir != 0 || seq == rawSeq) { in getOffset() 110 c = seq.charAt(pos++); in nextCodePoint() 113 (pos != limit && CollationFCD.hasLccc(seq.charAt(pos)))) { in nextCodePoint() 116 c = seq.charAt(pos++); in nextCodePoint() 121 c = seq.charAt(pos++); in nextCodePoint() 129 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 145 c = seq.charAt(--pos); in previousCodePoint() [all …]
|
/external/rust/crates/regex/examples/ |
D | shootout-regex-dna.rs | 19 let mut seq = String::with_capacity(51 * (1 << 20)); in main() localVariable 20 io::stdin().read_to_string(&mut seq).unwrap(); in main() 21 let ilen = seq.len(); in main() 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 24 let clen = seq.len(); in main() 25 let seq_arc = Arc::new(seq.clone()); in main() 40 let seq = seq_arc.clone(); in main() localVariable 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main() 59 let mut seq = seq; in main() localVariable 61 seq = re.replace_all(&seq, replacement).into_owned(); in main() [all …]
|
D | shootout-regex-dna-bytes.rs | 19 let mut seq = Vec::with_capacity(51 * (1 << 20)); in main() localVariable 20 io::stdin().read_to_end(&mut seq).unwrap(); in main() 21 let ilen = seq.len(); in main() 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main() 24 let clen = seq.len(); in main() 25 let seq_arc = Arc::new(seq.clone()); in main() 40 let seq = seq_arc.clone(); in main() localVariable 42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main() 59 let mut seq = seq; in main() localVariable 61 seq = re.replace_all(&seq, replacement).into_owned(); in main() [all …]
|