/external/libnl/lib/netfilter/ |
D | ct_obj.c | 58 struct nfnl_ct *ct = (struct nfnl_ct *) c; in ct_free_data() local 60 if (ct == NULL) in ct_free_data() 63 nl_addr_put(ct->ct_orig.src); in ct_free_data() 64 nl_addr_put(ct->ct_orig.dst); in ct_free_data() 65 nl_addr_put(ct->ct_repl.src); in ct_free_data() 66 nl_addr_put(ct->ct_repl.dst); in ct_free_data() 119 static void dump_icmp(struct nl_dump_params *p, struct nfnl_ct *ct, int reply) in dump_icmp() argument 121 if (nfnl_ct_test_icmp_type(ct, reply)) in dump_icmp() 122 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply)); in dump_icmp() 124 if (nfnl_ct_test_icmp_type(ct, reply)) in dump_icmp() [all …]
|
D | ct.c | 105 static int ct_parse_ip(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_ip() argument 119 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip() 128 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip() 137 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip() 146 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip() 160 static int ct_parse_proto(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_proto() argument 170 nfnl_ct_set_proto(ct, nla_get_u8(tb[CTA_PROTO_NUM])); in ct_parse_proto() 172 nfnl_ct_set_src_port(ct, repl, in ct_parse_proto() 175 nfnl_ct_set_dst_port(ct, repl, in ct_parse_proto() 178 nfnl_ct_set_icmp_id(ct, repl, in ct_parse_proto() [all …]
|
/external/libnl/src/lib/ |
D | ct.c | 24 struct nfnl_ct *ct; in nl_cli_ct_alloc() local 26 ct = nfnl_ct_alloc(); in nl_cli_ct_alloc() 27 if (!ct) in nl_cli_ct_alloc() 30 return ct; in nl_cli_ct_alloc() 38 void nl_cli_ct_parse_family(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_family() argument 47 nfnl_ct_set_family(ct, family); in nl_cli_ct_parse_family() 50 void nl_cli_ct_parse_protocol(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_protocol() argument 59 nfnl_ct_set_proto(ct, proto); in nl_cli_ct_parse_protocol() 62 void nl_cli_ct_parse_mark(struct nfnl_ct *ct, char *arg) in nl_cli_ct_parse_mark() argument 65 nfnl_ct_set_mark(ct, mark); in nl_cli_ct_parse_mark() [all …]
|
/external/libnl/src/ |
D | nf-ct-list.c | 52 struct nfnl_ct *ct; in main() local 58 ct = nl_cli_ct_alloc(); in main() 105 case '4': nfnl_ct_set_family(ct, AF_INET); break; in main() 106 case '6': nfnl_ct_set_family(ct, AF_INET6); break; in main() 110 case 'i': nl_cli_ct_parse_id(ct, optarg); break; in main() 111 case 'p': nl_cli_ct_parse_protocol(ct, optarg); break; in main() 112 case ARG_TCP_STATE: nl_cli_ct_parse_tcp_state(ct, optarg); break; in main() 113 case ARG_ORIG_SRC: nl_cli_ct_parse_src(ct, 0, optarg); break; in main() 114 case ARG_ORIG_SPORT: nl_cli_ct_parse_src_port(ct, 0, optarg); break; in main() 115 case ARG_ORIG_DST: nl_cli_ct_parse_dst(ct, 0, optarg); break; in main() [all …]
|
/external/iptables/extensions/ |
D | libxt_u32.c | 45 const struct xt_u32_test *ct; in u32_dump() local 50 ct = &data->tests[testind]; in u32_dump() 55 printf("0x%x", ct->location[0].number); in u32_dump() 56 for (i = 1; i < ct->nnums; ++i) { in u32_dump() 57 switch (ct->location[i].nextop) { in u32_dump() 71 printf("0x%x", ct->location[i].number); in u32_dump() 75 for (i = 0; i < ct->nvalues; ++i) { in u32_dump() 78 if (ct->value[i].min == ct->value[i].max) in u32_dump() 79 printf("0x%x", ct->value[i].min); in u32_dump() 81 printf("0x%x:0x%x", ct->value[i].min, in u32_dump() [all …]
|
/external/pdfium/third_party/libopenjpeg20/ |
D | mqc.c | 210 mqc->ct = 7; in opj_mqc_byteout() 216 mqc->ct = 8; in opj_mqc_byteout() 224 mqc->ct = 7; in opj_mqc_byteout() 229 mqc->ct = 8; in opj_mqc_byteout() 239 mqc->ct--; in opj_mqc_renorme() 240 if (mqc->ct == 0) { in opj_mqc_renorme() 312 mqc->ct = i & 0x0f; in opj_mqc_bytein() 327 mqc->ct = 8; in opj_mqc_bytein() 331 mqc->ct = 7; in opj_mqc_bytein() 336 mqc->ct = 8; in opj_mqc_bytein() [all …]
|
D | bio.c | 83 bio->ct = bio->buf == 0xff00 ? 7 : 8; in opj_bio_byteout() 93 bio->ct = bio->buf == 0xff00 ? 7 : 8; in opj_bio_bytein() 102 if (bio->ct == 0) { in opj_bio_putbit() 105 bio->ct--; in opj_bio_putbit() 106 bio->buf |= b << bio->ct; in opj_bio_putbit() 110 if (bio->ct == 0) { in opj_bio_getbit() 113 bio->ct--; in opj_bio_getbit() 114 return (bio->buf >> bio->ct) & 1; in opj_bio_getbit() 143 bio->ct = 8; in opj_bio_init_enc() 151 bio->ct = 0; in opj_bio_init_dec() [all …]
|
D | raw.c | 73 raw->ct = 0; in opj_raw_init_dec() 78 if (raw->ct == 0) { in opj_raw_decode() 79 raw->ct = 8; in opj_raw_decode() 84 raw->ct = 7; in opj_raw_decode() 90 raw->ct--; in opj_raw_decode() 91 d = (raw->c >> raw->ct) & 0x01; in opj_raw_decode()
|
/external/gmock/include/gmock/ |
D | gmock-generated-function-mockers.h | 353 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument 354 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ 372 #define GMOCK_METHOD1_(tn, constness, ct, Method, ...) \ argument 373 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ 391 #define GMOCK_METHOD2_(tn, constness, ct, Method, ...) \ argument 392 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ 412 #define GMOCK_METHOD3_(tn, constness, ct, Method, ...) \ argument 413 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ 437 #define GMOCK_METHOD4_(tn, constness, ct, Method, ...) \ argument 438 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ [all …]
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-generated-function-mockers.h | 347 #define GMOCK_METHOD0_(tn, constness, ct, Method, F) \ argument 348 GMOCK_RESULT_(tn, F) ct Method() constness { \ 363 #define GMOCK_METHOD1_(tn, constness, ct, Method, F) \ argument 364 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1) constness { \ 379 #define GMOCK_METHOD2_(tn, constness, ct, Method, F) \ argument 380 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ 397 #define GMOCK_METHOD3_(tn, constness, ct, Method, F) \ argument 398 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ 419 #define GMOCK_METHOD4_(tn, constness, ct, Method, F) \ argument 420 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ [all …]
|
/external/vboot_reference/tests/ |
D | timer_utils.c | 8 void StartTimer(ClockTimerState* ct) { in StartTimer() argument 9 clock_gettime(CLOCK_REALTIME, &ct->start_time); in StartTimer() 12 void StopTimer(ClockTimerState* ct) { in StopTimer() argument 13 clock_gettime(CLOCK_REALTIME, &ct->end_time); in StopTimer() 16 uint32_t GetDurationMsecs(ClockTimerState* ct) { in GetDurationMsecs() argument 17 uint64_t start = ((uint64_t) ct->start_time.tv_sec * 1000000000 + in GetDurationMsecs() 18 (uint64_t) ct->start_time.tv_nsec); in GetDurationMsecs() 19 uint64_t end = ((uint64_t) ct->end_time.tv_sec * 1000000000 + in GetDurationMsecs() 20 (uint64_t) ct->end_time.tv_nsec); in GetDurationMsecs()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | prob.h | 64 const unsigned int ct[2], in merge_probs() 67 const vpx_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs() 68 const unsigned int count = VPXMIN(ct[0] + ct[1], count_sat); in merge_probs() 80 const unsigned int ct[2]) { in mode_mv_merge_probs() 81 const unsigned int den = ct[0] + ct[1]; in mode_mv_merge_probs() 88 clip_prob(((int64_t)(ct[0]) * 256 + (den >> 1)) / den); in mode_mv_merge_probs()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_subexp.c | 119 int vp9_prob_diff_update_savings_search(const unsigned int *ct, in vp9_prob_diff_update_savings_search() argument 122 const int old_b = cost_branch256(ct, oldp); in vp9_prob_diff_update_savings_search() 128 const int new_b = cost_branch256(ct, newp); in vp9_prob_diff_update_savings_search() 140 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct, in vp9_prob_diff_update_savings_search_model() argument 151 old_b += cost_branch256(ct + 2 * i, oldplist[i]); in vp9_prob_diff_update_savings_search_model() 152 old_b += cost_branch256(ct + 2 * PIVOT_NODE, oldplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model() 165 new_b += cost_branch256(ct + 2 * i, newplist[i]); in vp9_prob_diff_update_savings_search_model() 166 new_b += cost_branch256(ct + 2 * PIVOT_NODE, newplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model() 183 new_b += cost_branch256(ct + 2 * i, newplist[i]); in vp9_prob_diff_update_savings_search_model() 184 new_b += cost_branch256(ct + 2 * PIVOT_NODE, newplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model() [all …]
|
/external/boringssl/src/crypto/aes/ |
D | internal.h | 63 #define PUTU32(ct, st) \ argument 64 { *((uint32_t *)(ct)) = SWAP((st)); } 69 #define PUTU32(ct, st) \ 71 (ct)[0] = (uint8_t)((st) >> 24); \ 72 (ct)[1] = (uint8_t)((st) >> 16); \ 73 (ct)[2] = (uint8_t)((st) >> 8); \ 74 (ct)[3] = (uint8_t)(st); \
|
/external/skia/src/pdf/ |
D | SkPDFBitmap.cpp | 73 static bool SkIsBGRA(SkColorType ct) { in SkIsBGRA() argument 74 SkASSERT(kBGRA_8888_SkColorType == ct || kRGBA_8888_SkColorType == ct); in SkIsBGRA() 75 return kBGRA_8888_SkColorType == ct; in SkIsBGRA() 82 static U8CPU SkGetA32Component(uint32_t value, SkColorType ct) { in SkGetA32Component() argument 83 return (value >> (SkIsBGRA(ct) ? SK_BGRA_A32_SHIFT : SK_RGBA_A32_SHIFT)) & 0xFF; in SkGetA32Component() 85 static U8CPU SkGetR32Component(uint32_t value, SkColorType ct) { in SkGetR32Component() argument 86 return (value >> (SkIsBGRA(ct) ? SK_BGRA_R32_SHIFT : SK_RGBA_R32_SHIFT)) & 0xFF; in SkGetR32Component() 88 static U8CPU SkGetG32Component(uint32_t value, SkColorType ct) { in SkGetG32Component() argument 89 return (value >> (SkIsBGRA(ct) ? SK_BGRA_G32_SHIFT : SK_RGBA_G32_SHIFT)) & 0xFF; in SkGetG32Component() 91 static U8CPU SkGetB32Component(uint32_t value, SkColorType ct) { in SkGetB32Component() argument [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument 86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello() 88 "received content type 0x%x", ct); in tls_process_server_hello() 346 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument 355 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 357 "received content type 0x%x", ct); in tls_process_certificate() 387 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 26 u8 ct, const u8 *in_data, 121 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument 131 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello() 133 ct); in tls_process_client_hello() 368 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument 377 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 379 ct); in tls_process_certificate() 417 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate() 779 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument [all …]
|
/external/boringssl/src/crypto/cipher/ |
D | aead_test.cc | 41 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TestAEAD() local 46 !t->GetBytes(&ct, "CT") || in TestAEAD() 69 if (out.size() != ct.size() + tag.size()) { in TestAEAD() 71 (unsigned)(ct.size() + tag.size())); in TestAEAD() 74 if (!t->ExpectBytesEqual(ct.data(), ct.size(), out.data(), ct.size()) || in TestAEAD() 75 !t->ExpectBytesEqual(tag.data(), tag.size(), out.data() + ct.size(), in TestAEAD() 80 out.resize(ct.size() + tag.size()); in TestAEAD() 81 memcpy(out.data(), ct.data(), ct.size()); in TestAEAD() 82 memcpy(out.data() + ct.size(), tag.data(), tag.size()); in TestAEAD()
|
/external/libnl/tests/ |
D | test-nf-cache-mngr.c | 6 struct nfnl_ct *ct = (struct nfnl_ct *) obj; in change_cb() local 12 if (!nl_addr_cmp(hack, nfnl_ct_get_src(ct, 1)) || in change_cb() 13 !nl_addr_cmp(hack, nfnl_ct_get_dst(ct, 1))) { in change_cb() 28 struct nl_cache *ct; in main() local 38 ct = nl_cache_mngr_add(mngr, "netfilter/ct", &change_cb); in main() 39 if (ct == NULL) { in main()
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_setmeta.py | 34 ct = 'image/gif' 36 '-h', 'Content-Type:%s' % ct, 'cp', inpath, objuri]) 41 self.assertRegexpMatches(stdout, r'Content-Type:\s+%s' % ct) 66 ct = 'image/gif' 70 '-h', 'Content-Type:%s' % ct, suri(object_uri)], expected_status=1, 81 '-h', 'Content-Type:%s' % ct, suri(object_uri)]) 83 self.assertRegexpMatches(stdout, r'Content-Type:\s+%s' % ct) 90 ct = 'image/gif' 94 '-h', 'Content-Type:%s' % ct, suri(object_uri)], expected_status=1, 100 '-h', 'Content-Type:%s' % ct, suri(object_uri)]) [all …]
|
/external/skia/include/core/ |
D | SkImageInfo.h | 89 static int SkColorTypeBytesPerPixel(SkColorType ct) { in SkColorTypeBytesPerPixel() argument 104 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel() 105 return gSize[ct]; in SkColorTypeBytesPerPixel() 108 static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) { in SkColorTypeMinRowBytes() argument 109 return width * SkColorTypeBytesPerPixel(ct); in SkColorTypeMinRowBytes() 116 static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) { in SkColorTypeComputeOffset() argument 118 switch (SkColorTypeBytesPerPixel(ct)) { in SkColorTypeComputeOffset() 178 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at, 180 return SkImageInfo(width, height, ct, at, pt); 312 SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, SkColorProfileType pt) in SkImageInfo() [all …]
|
/external/libcxx/test/std/localization/locale.categories/ |
D | __scan_keyword.pass.cpp | 44 const std::ctype<char>& ct = std::use_facet<std::ctype<char> >(std::locale::classic()); in main() local 53 ct, err); in main() 65 ct, err); in main() 77 ct, err); in main() 89 ct, err); in main() 101 ct, err); in main() 113 ct, err, false); in main()
|
/external/jetty/src/java/org/eclipse/jetty/http/gzip/ |
D | CompressedResponseWrapper.java | 128 public void setContentType(String ct) in setContentType() argument 130 super.setContentType(ct); in setContentType() 134 if (ct!=null) in setContentType() 136 int colon=ct.indexOf(";"); in setContentType() 138 ct=ct.substring(0,colon); in setContentType() 142 (_mimeTypes==null && ct!=null && ct.contains("gzip") || in setContentType() 143 … _mimeTypes!=null && (ct==null||!_mimeTypes.contains(StringUtil.asciiToLowerCase(ct))))) in setContentType()
|
/external/llvm/test/CodeGen/Generic/ |
D | 2003-07-08-BadCastToBool.ll | 5 ;; Function: int %adj(uint %d.1, uint %ct.1) 14 @.str_1 = internal constant [30 x i8] c"d = %d, ct = %d, d ^ ct = %d\0A\00" 18 define i32 @adj(i32 %d.1, i32 %ct.1) { 20 %tmp.19 = icmp eq i32 %ct.1, 2 ; <i1> [#uses=1] 21 %tmp.22.not = trunc i32 %ct.1 to i1 ; <i1> [#uses=1]
|
/external/conscrypt/src/test/resources/ |
D | README | 4 - ct-server-key-public.pem: Public Key of a test Certificate Transparency log 8 - cert-ct-poisoned.pem: Same certificate as cert.pem, but with an extra CT Poison extension 10 - cert-ct-embedded.pem: Same certificate as cert.pem, but with an embedded signed certificate 13 - ct-signed-timestamp-list: TLS-encoded SignedCertificateTimestampList containing one SCT for 16 - ct-signed-timestamp-list-invalid: TLS-encoded SignedCertificateTimestampList containing one SCT 19 - ct-signed-timestamp-list-unknown: TLS-encoded SignedCertificateTimestampList containing one SCT
|