/external/bcc/src/python/bcc/ |
D | libbcc.py | 15 import ctypes as ct namespace 17 lib = ct.CDLL("libbcc.so.0", use_errno=True) 20 lib.bpf_module_create_b.restype = ct.c_void_p 21 lib.bpf_module_create_b.argtypes = [ct.c_char_p, ct.c_char_p, ct.c_uint] 22 lib.bpf_module_create_c.restype = ct.c_void_p 23 lib.bpf_module_create_c.argtypes = [ct.c_char_p, ct.c_uint, 24 ct.POINTER(ct.c_char_p), ct.c_int] 25 lib.bpf_module_create_c_from_string.restype = ct.c_void_p 26 lib.bpf_module_create_c_from_string.argtypes = [ct.c_char_p, ct.c_uint, 27 ct.POINTER(ct.c_char_p), ct.c_int] [all …]
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | getter.c | 12 static const void *get_attr_orig_ipv4_src(const struct nf_conntrack *ct) in get_attr_orig_ipv4_src() argument 14 return &ct->head.orig.src.v4; in get_attr_orig_ipv4_src() 17 static const void *get_attr_orig_ipv4_dst(const struct nf_conntrack *ct) in get_attr_orig_ipv4_dst() argument 19 return &ct->head.orig.dst.v4; in get_attr_orig_ipv4_dst() 22 static const void *get_attr_repl_ipv4_src(const struct nf_conntrack *ct) in get_attr_repl_ipv4_src() argument 24 return &ct->repl.src.v4; in get_attr_repl_ipv4_src() 27 static const void *get_attr_repl_ipv4_dst(const struct nf_conntrack *ct) in get_attr_repl_ipv4_dst() argument 29 return &ct->repl.dst.v4; in get_attr_repl_ipv4_dst() 32 static const void *get_attr_orig_ipv6_src(const struct nf_conntrack *ct) in get_attr_orig_ipv6_src() argument 34 return &ct->head.orig.src.v6; in get_attr_orig_ipv6_src() [all …]
|
D | objopt.c | 12 static void __autocomplete(struct nf_conntrack *ct, int dir) in __autocomplete() argument 18 this = &ct->head.orig; in __autocomplete() 19 other = &ct->repl; in __autocomplete() 22 this = &ct->repl; in __autocomplete() 23 other = &ct->head.orig; in __autocomplete() 50 ct->head.set[0] |= TS_ORIG | TS_REPL; in __autocomplete() 53 static void setobjopt_undo_snat(struct nf_conntrack *ct) in setobjopt_undo_snat() argument 55 switch (ct->head.orig.l3protonum) { in setobjopt_undo_snat() 57 ct->snat.min_ip.v4 = ct->repl.dst.v4; in setobjopt_undo_snat() 58 ct->snat.max_ip.v4 = ct->snat.min_ip.v4; in setobjopt_undo_snat() [all …]
|
D | build_mnl.c | 114 nfct_build_protoinfo(struct nlmsghdr *nlh, const struct nf_conntrack *ct) in nfct_build_protoinfo() argument 118 switch(ct->head.orig.protonum) { in nfct_build_protoinfo() 123 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in nfct_build_protoinfo() 124 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in nfct_build_protoinfo() 125 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in nfct_build_protoinfo() 126 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in nfct_build_protoinfo() 127 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in nfct_build_protoinfo() 128 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in nfct_build_protoinfo() 129 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in nfct_build_protoinfo() 134 if (test_bit(ATTR_TCP_STATE, ct->head.set)) { in nfct_build_protoinfo() [all …]
|
D | setter.c | 41 set_attr_orig_ipv4_src(struct nf_conntrack *ct, const void *value, size_t len) in set_attr_orig_ipv4_src() argument 43 ct->head.orig.src.v4 = *((uint32_t *) value); in set_attr_orig_ipv4_src() 47 set_attr_orig_ipv4_dst(struct nf_conntrack *ct, const void *value, size_t len) in set_attr_orig_ipv4_dst() argument 49 ct->head.orig.dst.v4 = *((uint32_t *) value); in set_attr_orig_ipv4_dst() 53 set_attr_repl_ipv4_src(struct nf_conntrack *ct, const void *value, size_t len) in set_attr_repl_ipv4_src() argument 55 ct->repl.src.v4 = *((uint32_t *) value); in set_attr_repl_ipv4_src() 59 set_attr_repl_ipv4_dst(struct nf_conntrack *ct, const void *value, size_t len) in set_attr_repl_ipv4_dst() argument 61 ct->repl.dst.v4 = *((uint32_t *) value); in set_attr_repl_ipv4_dst() 65 set_attr_orig_ipv6_src(struct nf_conntrack *ct, const void *value, size_t len) in set_attr_orig_ipv6_src() argument 67 memcpy(&ct->head.orig.src.v6, value, sizeof(uint32_t)*4); in set_attr_orig_ipv6_src() [all …]
|
D | build.c | 107 const struct nf_conntrack *ct) in __build_protoinfo() argument 111 switch(ct->head.orig.protonum) { in __build_protoinfo() 116 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in __build_protoinfo() 117 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in __build_protoinfo() 118 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in __build_protoinfo() 119 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in __build_protoinfo() 120 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in __build_protoinfo() 121 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in __build_protoinfo() 122 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in __build_protoinfo() 127 if (test_bit(ATTR_TCP_STATE, ct->head.set)) in __build_protoinfo() [all …]
|
D | grp_getter.c | 12 static void get_attr_grp_orig_ipv4(const struct nf_conntrack *ct, void *data) in get_attr_grp_orig_ipv4() argument 15 this->src = ct->head.orig.src.v4; in get_attr_grp_orig_ipv4() 16 this->dst = ct->head.orig.dst.v4; in get_attr_grp_orig_ipv4() 19 static void get_attr_grp_repl_ipv4(const struct nf_conntrack *ct, void *data) in get_attr_grp_repl_ipv4() argument 22 this->src = ct->repl.src.v4; in get_attr_grp_repl_ipv4() 23 this->dst = ct->repl.dst.v4; in get_attr_grp_repl_ipv4() 26 static void get_attr_grp_orig_ipv6(const struct nf_conntrack *ct, void *data) in get_attr_grp_orig_ipv6() argument 29 memcpy(this->src, &ct->head.orig.src.v6, sizeof(uint32_t)*4); in get_attr_grp_orig_ipv6() 30 memcpy(this->dst, &ct->head.orig.dst.v6, sizeof(uint32_t)*4); in get_attr_grp_orig_ipv6() 33 static void get_attr_grp_repl_ipv6(const struct nf_conntrack *ct, void *data) in get_attr_grp_repl_ipv6() argument [all …]
|
D | parse.c | 209 struct nf_conntrack *ct) in __parse_protoinfo_tcp() argument 216 ct->protoinfo.tcp.state = in __parse_protoinfo_tcp() 218 set_bit(ATTR_TCP_STATE, ct->head.set); in __parse_protoinfo_tcp() 222 memcpy(&ct->protoinfo.tcp.wscale[__DIR_ORIG], in __parse_protoinfo_tcp() 225 set_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set); in __parse_protoinfo_tcp() 229 memcpy(&ct->protoinfo.tcp.wscale[__DIR_REPL], in __parse_protoinfo_tcp() 232 set_bit(ATTR_TCP_WSCALE_REPL, ct->head.set); in __parse_protoinfo_tcp() 236 memcpy(&ct->protoinfo.tcp.flags[0], in __parse_protoinfo_tcp() 239 set_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set); in __parse_protoinfo_tcp() 240 set_bit(ATTR_TCP_MASK_ORIG, ct->head.set); in __parse_protoinfo_tcp() [all …]
|
D | snprintf_default.c | 14 const struct nf_conntrack *ct) in __snprintf_l3protocol() argument 17 l3proto2str[ct->head.orig.l3protonum] == NULL ? in __snprintf_l3protocol() 18 "unknown" : l3proto2str[ct->head.orig.l3protonum], in __snprintf_l3protocol() 19 ct->head.orig.l3protonum)); in __snprintf_l3protocol() 24 const struct nf_conntrack *ct) in __snprintf_protocol() argument 27 proto2str[ct->head.orig.protonum] == NULL ? in __snprintf_protocol() 28 "unknown" : proto2str[ct->head.orig.protonum], in __snprintf_protocol() 29 ct->head.orig.protonum)); in __snprintf_protocol() 34 const struct nf_conntrack *ct) in __snprintf_timeout() argument 36 return snprintf(buf, len, "%u ", ct->timeout); in __snprintf_timeout() [all …]
|
D | grp_setter.c | 40 static void set_attr_grp_orig_ipv4(struct nf_conntrack *ct, const void *value) in set_attr_grp_orig_ipv4() argument 43 ct->head.orig.src.v4 = this->src; in set_attr_grp_orig_ipv4() 44 ct->head.orig.dst.v4 = this->dst; in set_attr_grp_orig_ipv4() 45 ct->head.orig.l3protonum = AF_INET; in set_attr_grp_orig_ipv4() 48 static void set_attr_grp_repl_ipv4(struct nf_conntrack *ct, const void *value) in set_attr_grp_repl_ipv4() argument 51 ct->repl.src.v4 = this->src; in set_attr_grp_repl_ipv4() 52 ct->repl.dst.v4 = this->dst; in set_attr_grp_repl_ipv4() 53 ct->repl.l3protonum = AF_INET; in set_attr_grp_repl_ipv4() 56 static void set_attr_grp_orig_ipv6(struct nf_conntrack *ct, const void *value) in set_attr_grp_orig_ipv6() argument 59 memcpy(&ct->head.orig.src.v6, this->src, sizeof(uint32_t)*4); in set_attr_grp_orig_ipv6() [all …]
|
/external/tensorflow/tensorflow/tools/test/ |
D | gpu_info_lib.py | 22 import ctypes as ct namespace 51 class CUDADeviceProperties(ct.Structure): 55 ("name", ct.c_char * 256), 56 ("totalGlobalMem", ct.c_size_t), 57 ("sharedMemPerBlock", ct.c_size_t), 58 ("regsPerBlock", ct.c_int), 59 ("warpSize", ct.c_int), 60 ("memPitch", ct.c_size_t), 61 ("maxThreadsPerBlock", ct.c_int), 62 ("maxThreadsDim", ct.c_int * 3), [all …]
|
/external/boringssl/src/util/fipstools/acvp/acvptool/test/expected/ |
D | ACVP-AES-ECB.bz2 | ... : [
12 {
13 "tcId": 7,
14 "ct": "08a4e2efec8a8e3312ca7460b9040bbf"
15 }
16 ]
17 }, ... |
D | ACVP-AES-CBC.bz2 | ... : [
12 {
13 "tcId": 7,
14 "ct": "08a4e2efec8a8e3312ca7460b9040bbf"
15 }
16 ]
17 }, ... |
D | ACVP-AES-CCM.bz2 | ... : [
12 {
13 "tcId": 10,
14 "ct": "e65ac877d1ccb58e8c763abf5693a7730da0cd9b55deeedea53cda4455561f7a81d9726c"
15 }
16 ]
17 },
18 ... |
D | ACVP-TDES-ECB.bz2 | ... : [
12 {
13 "tcId": 11,
14 "ct": "9246ecf6ad385100"
15 }
16 ]
17 }, ... |
D | ACVP-TDES-CBC.bz2 | ... : [
12 {
13 "tcId": 11,
14 "ct": "ebfe64565305e58b"
15 }
16 ]
17 },
18 ... |
/external/libnl/lib/netfilter/ |
D | ct_obj.c | 61 struct nfnl_ct *ct = (struct nfnl_ct *) c; in ct_free_data() local 63 if (ct == NULL) in ct_free_data() 66 nl_addr_put(ct->ct_orig.src); in ct_free_data() 67 nl_addr_put(ct->ct_orig.dst); in ct_free_data() 68 nl_addr_put(ct->ct_repl.src); in ct_free_data() 69 nl_addr_put(ct->ct_repl.dst); in ct_free_data() 122 static void dump_icmp(struct nl_dump_params *p, struct nfnl_ct *ct, int reply) in dump_icmp() argument 124 if (nfnl_ct_test_icmp_type(ct, reply)) in dump_icmp() 125 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply)); in dump_icmp() 127 if (nfnl_ct_test_icmp_code(ct, reply)) in dump_icmp() [all …]
|
D | ct.c | 102 static int ct_parse_ip(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_ip() argument 116 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip() 125 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip() 134 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip() 143 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip() 157 static int ct_parse_proto(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_proto() argument 167 nfnl_ct_set_proto(ct, nla_get_u8(tb[CTA_PROTO_NUM])); in ct_parse_proto() 169 nfnl_ct_set_src_port(ct, repl, in ct_parse_proto() 172 nfnl_ct_set_dst_port(ct, repl, in ct_parse_proto() 175 if (ct->ct_family == AF_INET) { in ct_parse_proto() [all …]
|
/external/boringssl/src/third_party/wycheproof_testvectors/ |
D | rsa_oaep_misc_test.txt | 17 ct = 673779703fccab3ee7735e97e7be7fe3d1b39fa902ee35a858fabab8b2cd6b76b3a68f5971b42e28e8ceff7942cc4f… 24 ct = bb7914975c8a7817a50e7b3af7d79a93b4de5f9b3ce8a9a15300da83c75af932833d5f662ed58de5d195b4b03b4f70… 31 ct = 615a6e86e3d447a655ee83eba8d92e29e08812c5de4816649765457c9b3241498f6308b3b5b1ee54f70642b35b85ff… 38 ct = c3e50252a748d77060deb817e617367fa93ae234e535c7c3155c65e0131c1c249fc7ee8e6b8f58bb085a6a455b63ef… 45 ct = 6aacaa5bf3d71e04bad9ce95861983d5fa561c1bd4439aa47953d144fc880e82c1540487ab4586e24dc0749cb5d4f9… 52 ct = 0c0166f8e2d95d40d1343c4afe4ac038fbe7654fe7c96abf312e385626830eba877197b931039bd4270147d3480a99… 59 ct = be7e293ee24ecfa696de652c0ece7b95c8cb70b4eca65077616021f7ab5e2e3e6e1115283757d9fae9ddde688e69ad… 67 ct = 163a77d9bf01658d6c74efdf3615a6a44d3d06415a9b6aa7a43d0c8f3907d51a66d51d6ce250431dbf91c22dffb39b… 83 ct = 43292f009868017ff514f9c3c04c2bcbe7d39e33b2b39d163812815e7294a87eeae5e8503ec8bd57d1f5bd02795ea3… 90 ct = 583c33c713bf7f920f63add1f9da9051ef3716581c117b4fa41c82e59a45dc4539569ccfb8a86dde1ef4fad8bacfb8… [all …]
|
D | kwp_test.txt | 10 ct = 8cd63fa6788aa5edfa753fc87d645a672b14107c3b4519e7 16 ct = e8bac475d1429034b32f9bdeec09a37f9b3704028f1e0270 22 ct = 4c8bcd601b508ef399f71b841294497a4493c4a0014c0103 29 ct = 9e4510cc84c4bd7abab0a8a5d7f1e6ff3e6777ca2dff9be7e223652239fe57d8 37 ct = 8fbf39ae583bd4efa7a3e8f7b86870b34766ae7d8923a8e97b0cd289ad98cacb 45 ct = df2fbe5fa86418edc7b5b04a4aea724aca17e88cedc84ca8b0b0f048e64590cb 53 ct = 67f8edf57f84ea0a35b35511d67d3f299c9984b2c07d3809c3d7f5f45091f1a8fbb937ed447677f6 61 ct = 60d55a22ba7dbd7d8f317388e01e6be561d15d29f85c566f1259aa7e7dc3d5d30e0ef5f4c6267553 69 ct = d78a8291108f0f2d8be0ec10ec08240bf4d3021f0a5ed7faba0748db73762f34a0504bd373212df2 77 ct = 9341221aca1c647e2afc2bdd9cf4ed6e60058eb0a84cb3fc2daf3a87d9fad0a1f8268b27aaf7201d705e72f7e22403… [all …]
|
D | kw_test.txt | 10 ct = 9de453ced5d4ab46a5601708eeefefb5e593e6ae8e86b26b 16 ct = 8c3aba85cc0ae1ae10b36658b068f595baf8caafb745ef3c 22 ct = 1de093654826f18fcd0f3fd499416ff22ed75ee12fe0b624 29 ct = 9c3ddc23827b7b3c13105f9e8b11523baccdfb6c8b7e7825496e7a840bd32aec 36 ct = afb744aaf746dcc0b57f8b378c404cbe877f44cf3d45140d60814eda3f541f01 43 ct = cff98cd64cb51ab99b81aee82cee4274d0df3e1b6a4943d39236ea989846d0cc 50 ct = 58dcfb0e7ec4d3bc8003418d865fbd520c6b24b2bde35b1be5b1c5ff32a130f33d035e5932616083 57 ct = 4ee47bd68d418586c447a39111e2ec1502ff0f1726ea91c5d97370409d89b8e66e889b638ac40ced 64 ct = d3b093fd822ce454ebc251c6f21fa71c3858ee7e623ecbfbbf887398a30b40c55d0565c7a15e4015 71 ct = 222deadde6efb760cae42fa188310e0c07e7d557529766444a9efb330907d42f0dd8f3d17b3a38bf40d68c095a9cce… [all …]
|
/external/grpc-grpc/test/core/gpr/ |
D | cpu_test.cc | 68 struct cpu_test* ct = static_cast<struct cpu_test*>(arg); in worker_thread() local 81 GPR_ASSERT(cpu < ct->ncores); in worker_thread() 82 gpr_mu_lock(&ct->mu); in worker_thread() 83 ct->used[cpu] = 1; in worker_thread() 84 for (j = 0; j < ct->ncores; j++) { in worker_thread() 85 if (!ct->used[j]) break; in worker_thread() 87 gpr_mu_unlock(&ct->mu); in worker_thread() 88 if (j == ct->ncores) { in worker_thread() 92 gpr_mu_lock(&ct->mu); in worker_thread() 93 ct->r = r; /* make it look like we care about r's value... */ in worker_thread() [all …]
|
/external/libnetfilter_conntrack/utils/ |
D | conntrack_master.c | 14 struct nf_conntrack *ct, *expected; in main() local 17 ct = nfct_new(); in main() 18 if (!ct) { in main() 23 nfct_set_attr_u8(ct, ATTR_L3PROTO, AF_INET); in main() 24 nfct_set_attr_u32(ct, ATTR_IPV4_SRC, inet_addr("1.1.1.1")); in main() 25 nfct_set_attr_u32(ct, ATTR_IPV4_DST, inet_addr("2.2.2.2")); in main() 27 nfct_set_attr_u8(ct, ATTR_L4PROTO, IPPROTO_TCP); in main() 28 nfct_set_attr_u16(ct, ATTR_PORT_SRC, htons(20)); in main() 29 nfct_set_attr_u16(ct, ATTR_PORT_DST, htons(10)); in main() 31 nfct_setobjopt(ct, NFCT_SOPT_SETUP_REPLY); in main() [all …]
|
/external/libnl/src/lib/ |
D | ct.c | 25 struct nfnl_ct *ct; in nl_cli_ct_alloc() local 27 ct = nfnl_ct_alloc(); in nl_cli_ct_alloc() 28 if (!ct) in nl_cli_ct_alloc() 31 return ct; in nl_cli_ct_alloc() 39 void nl_cli_ct_parse_family(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_family() argument 48 nfnl_ct_set_family(ct, family); in nl_cli_ct_parse_family() 51 void nl_cli_ct_parse_protocol(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_protocol() argument 60 nfnl_ct_set_proto(ct, proto); in nl_cli_ct_parse_protocol() 63 void nl_cli_ct_parse_mark(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_mark() argument 66 nfnl_ct_set_mark(ct, mark); in nl_cli_ct_parse_mark() [all …]
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-function-mocker.h | 377 #define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...) \ argument 378 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 0, __VA_ARGS__) 379 #define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...) \ argument 380 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 1, __VA_ARGS__) 381 #define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...) \ argument 382 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 2, __VA_ARGS__) 383 #define MOCK_METHOD3_WITH_CALLTYPE(ct, m, ...) \ argument 384 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 3, __VA_ARGS__) 385 #define MOCK_METHOD4_WITH_CALLTYPE(ct, m, ...) \ argument 386 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 4, __VA_ARGS__) [all …]
|