Home
last modified time | relevance | path

Searched refs:ct1 (Results 1 – 25 of 31) sorted by relevance

12

/external/libnetfilter_conntrack/src/conntrack/
Dcompare.c14 const struct nf_conntrack *ct1, in __cmp() argument
17 int (*cmp)(const struct nf_conntrack *ct1, in __cmp() argument
21 int a = test_bit(attr, ct1->head.set); in __cmp()
24 return cmp(ct1, ct2, flags); in __cmp()
28 test_bit(attr, ct1->head.set)) { in __cmp()
29 return strict ? 0 : cmp(ct1, ct2, flags); in __cmp()
31 return strict ? 0 : cmp(ct1, ct2, flags); in __cmp()
37 cmp_orig_l3proto(const struct nf_conntrack *ct1, in cmp_orig_l3proto() argument
41 return (ct1->head.orig.l3protonum == ct2->head.orig.l3protonum); in cmp_orig_l3proto()
45 cmp_icmp_id(const struct nf_conntrack *ct1, in cmp_icmp_id() argument
[all …]
Dapi.c1129 int nfct_compare(const struct nf_conntrack *ct1, in nfct_compare() argument
1132 assert(ct1 != NULL); in nfct_compare()
1135 return __compare(ct1, ct2, NFCT_CMP_ALL); in nfct_compare()
1175 int nfct_cmp(const struct nf_conntrack *ct1, in nfct_cmp() argument
1179 assert(ct1 != NULL); in nfct_cmp()
1182 return __compare(ct1, ct2, flags); in nfct_cmp()
1210 void nfct_copy(struct nf_conntrack *ct1, in nfct_copy() argument
1216 assert(ct1 != NULL); in nfct_copy()
1220 __copy_fast(ct1, ct2); in nfct_copy()
1227 copy_attr_array[i](ct1, ct2); in nfct_copy()
[all …]
Dcopy.c577 void __copy_fast(struct nf_conntrack *ct1, const struct nf_conntrack *ct2) in __copy_fast() argument
579 memcpy(ct1, ct2, sizeof(*ct1)); in __copy_fast()
581 ct1->secctx = NULL; in __copy_fast()
582 ct1->helper_info = NULL; in __copy_fast()
583 ct1->connlabels = NULL; in __copy_fast()
584 ct1->connlabels_mask = NULL; in __copy_fast()
586 copy_attr_secctx(ct1, ct2); in __copy_fast()
587 copy_attr_help_info(ct1, ct2); in __copy_fast()
588 copy_attr_connlabels(ct1, ct2); in __copy_fast()
589 copy_attr_connlabels_mask(ct1, ct2); in __copy_fast()
/external/cronet/third_party/icu/source/test/intltest/
Dcpdtrtst.cpp120 …CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,… in TestCloneEqual() local
123 delete ct1; in TestCloneEqual()
129 delete ct1; in TestCloneEqual()
133 CompoundTransliterator *copyct1=new CompoundTransliterator(*ct1); in TestCloneEqual()
146 if(copyct1->getID() != ct1->getID() || copyct2->getID() != ct2->getID() || in TestCloneEqual()
147 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
148 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
149 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
153 if(equalct1.getID() != ct1->getID() || equalct2.getID() != ct2->getID() || in TestCloneEqual()
155 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcpdtrtst.cpp120 …CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,… in TestCloneEqual() local
123 delete ct1; in TestCloneEqual()
129 delete ct1; in TestCloneEqual()
133 CompoundTransliterator *copyct1=new CompoundTransliterator(*ct1); in TestCloneEqual()
146 if(copyct1->getID() != ct1->getID() || copyct2->getID() != ct2->getID() || in TestCloneEqual()
147 copyct1->getCount() != ct1->getCount() || copyct2->getCount() != ct2->getCount() || in TestCloneEqual()
148 copyct2->getID() == ct1->getID() || copyct1->getID() == ct2->getID() || in TestCloneEqual()
149 copyct2->getCount() == ct1->getCount() || copyct1->getCount() == ct2->getCount() ){ in TestCloneEqual()
153 if(equalct1.getID() != ct1->getID() || equalct2.getID() != ct2->getID() || in TestCloneEqual()
155 equalct1.getCount() != ct1->getCount() || equalct2.getCount() != ct2->getCount() || in TestCloneEqual()
[all …]
/external/libnetfilter_conntrack/qa/
Dtest_api.c40 struct nf_conntrack *ct1, *ct2; in test_nfct_bitmask() local
122 ct1 = nfct_new(); in test_nfct_bitmask()
130 nfct_set_attr(ct1, ATTR_CONNLABELS, a); in test_nfct_bitmask()
133 assert(nfct_cmp(ct1, ct2, NFCT_CMP_ALL) == 1); in test_nfct_bitmask()
137 assert(nfct_cmp(ct1, ct2, NFCT_CMP_ALL) == 1); in test_nfct_bitmask()
140 assert(nfct_cmp(ct1, ct2, NFCT_CMP_ALL) == 0); in test_nfct_bitmask()
141 nfct_destroy(ct1); in test_nfct_bitmask()
164 static int test_nfct_cmp_api_single(struct nf_conntrack *ct1, in test_nfct_cmp_api_single() argument
226 nfct_set_attr_u8(ct1, ATTR_REPL_L4PROTO, IPPROTO_SCTP); in test_nfct_cmp_api_single()
227 nfct_set_attr_u8(ct1, ATTR_L4PROTO, IPPROTO_SCTP); in test_nfct_cmp_api_single()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DCompoundTransliteratorTest.java104 Transliterator ct1=null; in TestGetTransliterator() local
107 ct1 = Transliterator.getInstance(ID); in TestGetTransliterator()
113 Transliterator elems[] = ct1.getElements(); in TestGetTransliterator()
136 Transliterator ct1=null; in TestTransliterate() local
138 ct1=Transliterator.getInstance("Any-Hex;Hex-Any"); in TestTransliterate()
145 expect(ct1, s, s); in TestTransliterate()
149 ct1.transliterate(rsource2, index); in TestTransliterate()
150 ct1.finishTransliteration(rsource2, index); in TestTransliterate()
152 …expectAux(ct1.getID() + ":ReplaceableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(e… in TestTransliterate()
156 ct1.transliterate(rsource3, index2); in TestTransliterate()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DCompoundTransliteratorTest.java101 Transliterator ct1=null; in TestGetTransliterator() local
104 ct1 = Transliterator.getInstance(ID); in TestGetTransliterator()
110 Transliterator elems[] = ct1.getElements(); in TestGetTransliterator()
133 Transliterator ct1=null; in TestTransliterate() local
135 ct1=Transliterator.getInstance("Any-Hex;Hex-Any"); in TestTransliterate()
142 expect(ct1, s, s); in TestTransliterate()
146 ct1.transliterate(rsource2, index); in TestTransliterate()
147 ct1.finishTransliteration(rsource2, index); in TestTransliterate()
149 …expectAux(ct1.getID() + ":ReplaceableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(e… in TestTransliterate()
153 ct1.transliterate(rsource3, index2); in TestTransliterate()
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_aead.py118 ct1 = chacha.encrypt(nonce, b"some_data", None)
120 assert ct1 == ct2
121 pt1 = chacha.decrypt(nonce, ct1, None)
321 ct1 = aesccm.encrypt(nonce, b"some_data", None)
323 assert ct1 == ct2
324 pt1 = aesccm.decrypt(nonce, ct1, None)
454 ct1 = aesgcm.encrypt(nonce, b"some_data", None)
456 assert ct1 == ct2
457 pt1 = aesgcm.decrypt(nonce, ct1, None)
/external/libnetfilter_conntrack/include/internal/
Dprototypes.h35 int __compare(const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags);
36 int __cmp_orig(const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags);
37 void __copy_fast(struct nf_conntrack *ct1, const struct nf_conntrack *ct);
/external/python/cffi/c/
Dlib_obj.c398 PyObject *ct1; in lib_build_and_cache_attr() local
403 ct1 = realize_c_type_or_func(types_builder, in lib_build_and_cache_attr()
406 if (ct1 == NULL) in lib_build_and_cache_attr()
409 assert(!CTypeDescr_Check(ct1)); /* must be a function */ in lib_build_and_cache_attr()
410 x = new_simple_cdata(address, unwrap_fn_as_fnptr(ct1)); in lib_build_and_cache_attr()
412 Py_DECREF(ct1); in lib_build_and_cache_attr()
D_cffi_backend.c5591 CTypeDescrObject *ct1; in fb_fill_type() local
5599 ct1 = cf->cf_type; in fb_fill_type()
5600 while (ct1->ct_flags & CT_ARRAY) { in fb_fill_type()
5601 flat *= ct1->ct_length; in fb_fill_type()
5602 ct1 = ct1->ct_itemdescr; in fb_fill_type()
/external/tensorflow/tensorflow/python/framework/
Dcomposite_tensor_test.py344 ct1 = CT(np.array([1, 2]), set(['no', 'leaks']))
351 ct4 = nest.map_structure(func, ct1, ct2, expand_composites=True)
361 for ct in [ct1, ct2, ct3, ct4]:
370 del ct1, ct2, ct3, ct4
/external/llvm/test/MC/Disassembler/Hexagon/
Dxtype_bit.txt34 # CHECK: r17 = ct1(r21:20)
38 # CHECK: r17 = ct1(r21)
/external/javassist/src/test/javassist/bytecode/
DBytecodeTest.java497 ClassType ct1 = new ClassType("test.Foo"); in testSignatureEncode() local
499 TypeArgument ta2 = new TypeArgument(ct1); in testSignatureEncode()
500 TypeArgument ta3 = TypeArgument.subclassOf(ct1); in testSignatureEncode()
506 TypeParameter tp2 = new TypeParameter("V", ct1, new ObjectType[] { ct3 }); in testSignatureEncode()
508 ct1, in testSignatureEncode()
512 new ObjectType[] { ct1, tv }); in testSignatureEncode()
/external/llvm/test/CodeGen/Hexagon/intrinsics/
Dxtype_bit.ll92 ; CHECK: = ct1({{.*}})
101 declare i32 @llvm.hexagon.S2.ct1(i32)
103 %z = call i32 @llvm.hexagon.S2.ct1(i32 %a)
106 ; CHECK: = ct1({{.*}})
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/
Dlibnetfilter_conntrack.h424 extern int nfct_compare(const struct nf_conntrack *ct1,
440 extern int nfct_cmp(const struct nf_conntrack *ct1,
482 extern void nfct_copy_attr(struct nf_conntrack *ct1,
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DAesGcmTest.java206 byte[] ct1 = cipher.doFinal(test.pt); in testIvReuse()
212 + TestUtil.bytesToHex(ct1) in testIvReuse()
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
DAesGcmTest.java433 byte[] ct1 = cipher.doFinal(test.pt); in testIvReuse()
439 + TestUtil.bytesToHex(ct1) in testIvReuse()
/external/rust/crates/openssl/src/
Dsymm.rs1613 let ct1 = vec![ in test_sm4_ecb() localVariable
1633 assert_eq!(ct1, &r[..count]); in test_sm4_ecb()
/external/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp534 auto [dispView, ct1, at1] = d->randomView(); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
/external/libxml2/
Drelaxng.c6228 xmlRelaxNGGroupContentType(xmlRelaxNGContentType ct1, in xmlRelaxNGGroupContentType() argument
6231 if ((ct1 == XML_RELAXNG_CONTENT_ERROR) || in xmlRelaxNGGroupContentType()
6234 if (ct1 == XML_RELAXNG_CONTENT_EMPTY) in xmlRelaxNGGroupContentType()
6237 return (ct1); in xmlRelaxNGGroupContentType()
6238 if ((ct1 == XML_RELAXNG_CONTENT_COMPLEX) && in xmlRelaxNGGroupContentType()
6254 xmlRelaxNGMaxContentType(xmlRelaxNGContentType ct1, in xmlRelaxNGMaxContentType() argument
6257 if ((ct1 == XML_RELAXNG_CONTENT_ERROR) || in xmlRelaxNGMaxContentType()
6260 if ((ct1 == XML_RELAXNG_CONTENT_SIMPLE) || in xmlRelaxNGMaxContentType()
6263 if ((ct1 == XML_RELAXNG_CONTENT_COMPLEX) || in xmlRelaxNGMaxContentType()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoV4.td2316 def S2_ct1p : T_COUNT_LEADING_64<"ct1", 0b111, 0b100>;
DHexagonInstrInfo.td4142 def S2_ct1 : T_COUNT_LEADING_32<"ct1", 0b010, 0b101>;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonDepInstrInfo.td18733 "$Rd32 = ct1($Rs32)",
18744 "$Rd32 = ct1($Rss32)",

12