HomeSort by relevance Sort by last modified time
    Searched refs:ct (Results 26 - 50 of 748) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/curl/docs/examples/
getinfo.c 40 char *ct; local
42 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
44 if((CURLE_OK == res) && ct)
45 printf("We received Content-Type: %s\n", ct);
  /external/vboot_reference/tests/
timer_utils.h 18 /* Start timer and update [ct]. */
19 void StartTimer(ClockTimerState* ct);
21 /* Stop timer and update [ct]. */
22 void StopTimer(ClockTimerState* ct);
25 uint32_t GetDurationMsecs(ClockTimerState* ct);
  /frameworks/rs/tests/cpp_api/cpp-globalguard/
compute.cpp 62 for (uint32_t ct=0; ct < numElems; ct++) {
63 buf[ct] = (uint32_t)ct;
72 for (uint32_t ct=0; ct < numElems; ct++) {
73 if (buf[ct] != ct * 2)
    [all...]
  /frameworks/rs/tests/cpp_api/cppallocation/
compute.cpp 39 for (uint32_t ct=0; ct < numElems; ct++) {
40 buf[ct] = (uint32_t)ct;
49 for (uint32_t ct=0; ct < numElems; ct++) {
50 if (buf[ct] != ct * 2)
    [all...]
  /external/libnetfilter_conntrack/src/conntrack/
grp_setter.c 40 static void set_attr_grp_orig_ipv4(struct nf_conntrack *ct, const void *value)
43 ct->head.orig.src.v4 = this->src;
44 ct->head.orig.dst.v4 = this->dst;
45 ct->head.orig.l3protonum = AF_INET;
48 static void set_attr_grp_repl_ipv4(struct nf_conntrack *ct, const void *value)
51 ct->repl.src.v4 = this->src;
52 ct->repl.dst.v4 = this->dst;
53 ct->repl.l3protonum = AF_INET;
56 static void set_attr_grp_orig_ipv6(struct nf_conntrack *ct, const void *value)
59 memcpy(&ct->head.orig.src.v6, this->src, sizeof(uint32_t)*4)
    [all...]
build.c 107 const struct nf_conntrack *ct)
111 switch(ct->head.orig.protonum) {
116 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) ||
117 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) ||
118 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) ||
119 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) ||
120 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) ||
121 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) ||
122 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) {
127 if (test_bit(ATTR_TCP_STATE, ct->head.set)
    [all...]
parse.c 209 struct nf_conntrack *ct)
216 ct->protoinfo.tcp.state =
218 set_bit(ATTR_TCP_STATE, ct->head.set);
222 memcpy(&ct->protoinfo.tcp.wscale[__DIR_ORIG],
225 set_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set);
229 memcpy(&ct->protoinfo.tcp.wscale[__DIR_REPL],
232 set_bit(ATTR_TCP_WSCALE_REPL, ct->head.set);
236 memcpy(&ct->protoinfo.tcp.flags[0],
239 set_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set);
240 set_bit(ATTR_TCP_MASK_ORIG, ct->head.set)
    [all...]
snprintf_default.c 14 const struct nf_conntrack *ct)
17 l3proto2str[ct->head.orig.l3protonum] == NULL ?
18 "unknown" : l3proto2str[ct->head.orig.l3protonum],
19 ct->head.orig.l3protonum));
24 const struct nf_conntrack *ct)
27 proto2str[ct->head.orig.protonum] == NULL ?
28 "unknown" : proto2str[ct->head.orig.protonum],
29 ct->head.orig.protonum));
34 const struct nf_conntrack *ct)
36 return snprintf(buf, len, "%u ", ct->timeout)
    [all...]
  /external/libnl/lib/netfilter/
ct.c 2 * lib/netfilter/ct.c Conntrack
17 * @defgroup ct Conntrack
29 #include <netlink/netfilter/ct.h>
119 static int ct_parse_ip(struct nfnl_ct *ct, int repl, struct nlattr *attr)
133 err = nfnl_ct_set_src(ct, repl, addr);
142 err = nfnl_ct_set_dst(ct, repl, addr);
151 err = nfnl_ct_set_src(ct, repl, addr);
160 err = nfnl_ct_set_dst(ct, repl, addr);
174 static int ct_parse_proto(struct nfnl_ct *ct, int repl, struct nlattr *attr)
184 nfnl_ct_set_proto(ct, nla_get_u8(tb[CTA_PROTO_NUM]))
337 struct nfnl_ct *ct; local
413 struct nfnl_ct *ct; local
    [all...]
  /external/libnetfilter_conntrack/examples/
nfct-mnl-create.c 19 struct nf_conntrack *ct; local
44 ct = nfct_new();
45 if (ct == NULL) {
50 nfct_set_attr_u8(ct, ATTR_L3PROTO, AF_INET);
51 nfct_set_attr_u32(ct, ATTR_IPV4_SRC, inet_addr("1.1.1.1"));
52 nfct_set_attr_u32(ct, ATTR_IPV4_DST, inet_addr("2.2.2.2"));
54 nfct_set_attr_u8(ct, ATTR_L4PROTO, IPPROTO_TCP);
55 nfct_set_attr_u16(ct, ATTR_PORT_SRC, htons(20));
56 nfct_set_attr_u16(ct, ATTR_PORT_DST, htons(10));
58 nfct_setobjopt(ct, NFCT_SOPT_SETUP_REPLY)
    [all...]
nfct-mnl-get.c 14 struct nf_conntrack *ct; local
17 ct = nfct_new();
18 if (ct == NULL)
21 nfct_nlmsg_parse(nlh, ct);
23 nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, 0);
26 nfct_destroy(ct);
38 struct nf_conntrack *ct; local
63 ct = nfct_new();
64 if (ct == NULL) {
69 nfct_set_attr_u8(ct, ATTR_L3PROTO, AF_INET)
    [all...]
nfct-mnl-del.c 19 struct nf_conntrack *ct; local
44 ct = nfct_new();
45 if (ct == NULL) {
50 nfct_set_attr_u8(ct, ATTR_L3PROTO, AF_INET);
51 nfct_set_attr_u32(ct, ATTR_IPV4_SRC, inet_addr("1.1.1.1"));
52 nfct_set_attr_u32(ct, ATTR_IPV4_DST, inet_addr("2.2.2.2"));
54 nfct_set_attr_u8(ct, ATTR_L4PROTO, IPPROTO_TCP);
55 nfct_set_attr_u16(ct, ATTR_PORT_SRC, htons(20));
56 nfct_set_attr_u16(ct, ATTR_PORT_DST, htons(10));
58 nfct_nlmsg_build(nlh, ct);
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetTest.java 59 for (CheckerThread ct : threads) {
60 ct.start();
63 for (CheckerThread ct : threads) {
64 ct.join();
67 for (CheckerThread ct : threads) {
68 assertTrue(!ct.failed);
  /external/libvpx/libvpx/vp9/encoder/
vp9_subexp.h 26 const unsigned int ct[2]);
28 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp,
31 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct,
  /frameworks/rs/tests/cpp_api/cppstrided/
compute.cpp 47 for (uint32_t ct=0; ct < numElems; ct++) {
48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems);
59 for (uint32_t ct=0; ct < numElems; ct++) {
60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2)
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
fp_mad.rs 28 for (int ct=0; ct < 1000 * (1000 / 80); ct++) {
51 for (int ct=0; ct < 1000 * (1000 / 20); ct++) {
74 for (int ct=0; ct < 1000 * 10; ct++) {
88 for (int ct=0; ct < 1000 * 10 / 4; ct++)
    [all...]
  /external/conscrypt/platform/src/main/java/org/conscrypt/ct/
CTLogStore.java 17 package org.conscrypt.ct;
  /frameworks/rs/
rsElement.cpp 45 for (uint32_t ct = 0; ct < elements.size(); ct++) {
46 if (elements[ct] == this) {
47 elements.erase(elements.begin() + ct);
77 for (size_t ct=0; ct < mFieldCount; ct++) {
78 total += mFields[ct].e->mBits * mFields[ct].arraySize
    [all...]
rsScriptGroup.cpp 37 for (size_t ct=0; ct < mLinks.size(); ct++) {
38 delete mLinks[ct];
62 for (size_t ct=0; ct < mNodes.size(); ct++) {
63 Node *n = mNodes[ct];
81 for (size_t ct=0; ct < n->mOutputs.size(); ct++)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicLut.java 48 for (int ct=0; ct < 256; ct++) {
49 mRed[ct] = (short)r.nextInt(256);
50 mGreen[ct] = (short)r.nextInt(256);
51 mBlue[ct] = (short)r.nextInt(256);
52 mAlpha[ct] = (short)r.nextInt(256);
53 mIntrinsic.setRed(ct, mRed[ct]);
54 mIntrinsic.setGreen(ct, mGreen[ct])
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicLUT.java 34 for (int ct=0; ct < 256; ct++) {
35 mCache[ct] = (byte)ct;
36 mCache[ct + 256] = (byte)ct;
37 mCache[ct + 512] = (byte)ct;
38 mCache[ct + 768] = (byte)ct
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicLUT.java 59 for (int ct=0; ct < 256; ct++) {
60 si.mCache[ct] = (byte)ct;
61 si.mCache[ct + 256] = (byte)ct;
62 si.mCache[ct + 512] = (byte)ct;
63 si.mCache[ct + 768] = (byte)ct
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/
pr12758b.c 3 int memcmp(const void *cs, const void *ct, size_t count)
8 for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
  /external/libnl/tests/
test-nf-cache-mngr.c 6 struct nfnl_ct *ct = (struct nfnl_ct *) obj; local
12 if (!nl_addr_cmp(hack, nfnl_ct_get_src(ct, 1)) ||
13 !nl_addr_cmp(hack, nfnl_ct_get_dst(ct, 1))) {
28 struct nl_cache *ct; local
39 err = nl_cache_mngr_add(mngr, "netfilter/ct", &change_cb, NULL, &ct);
41 nl_perror(err, "nl_cache_mngr_add(netfilter/ct)");
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
CrossProcess.java 32 for (int ct=0; ct < 256; ct++) {
33 float f = ((float)ct) / 255.f;
42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));

Completed in 803 milliseconds

12 3 4 5 6 7 8 91011>>