Home
last modified time | relevance | path

Searched refs:LEN (Results 1 – 25 of 135) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/memcmp/
Dmemcmp01.c48 #define LEN 100 macro
86 if (memcmp(p, q, LEN)) { in main()
91 p[LEN - 1] = 0; in main()
93 if (!memcmp(p, q, LEN)) { in main()
98 p[LEN - 1] = 'a'; in main()
101 if (!memcmp(p, q, LEN)) { in main()
107 q[LEN - 1] = 0; in main()
109 if (!memcmp(p, q, LEN)) { in main()
114 q[LEN - 1] = 'a'; in main()
117 if (!memcmp(p, q, LEN)) { in main()
[all …]
/external/strace/tests/
Dpwritev.c38 # define LEN 8 macro
39 # define LIM (LEN - 1)
88 char *buf = tail_alloc(LEN); in main()
90 for (i = 0; i < LEN; ++i) in main()
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); in main()
94 for (i = 0; i < LEN; ++i) { in main()
97 iov[i].iov_len = LEN - i; in main()
103 for (i = 0; i < LEN; ++i) { in main()
108 print_iovec(iov, i + 1, LEN); in main()
113 for (i = 0; i <= LEN; ++i) { in main()
[all …]
Dpreadv.c38 # define LEN 8 macro
69 char *buf = tail_alloc(LEN); in main()
72 iov->iov_len = LEN; in main()
78 if (preadv(0, iov, 1, offset) != LEN) in main()
82 printf(", 1, %lld) = %u\n", (long long) offset, LEN); in main()
/external/strace/tests-mx32/
Dpwritev.c38 # define LEN 8 macro
39 # define LIM (LEN - 1)
88 char *buf = tail_alloc(LEN); in main()
90 for (i = 0; i < LEN; ++i) in main()
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); in main()
94 for (i = 0; i < LEN; ++i) { in main()
97 iov[i].iov_len = LEN - i; in main()
103 for (i = 0; i < LEN; ++i) { in main()
108 print_iovec(iov, i + 1, LEN); in main()
113 for (i = 0; i <= LEN; ++i) { in main()
[all …]
Dpreadv.c38 # define LEN 8 macro
69 char *buf = tail_alloc(LEN); in main()
72 iov->iov_len = LEN; in main()
78 if (preadv(0, iov, 1, offset) != LEN) in main()
82 printf(", 1, %lld) = %u\n", (long long) offset, LEN); in main()
/external/strace/tests-m32/
Dpwritev.c38 # define LEN 8 macro
39 # define LIM (LEN - 1)
88 char *buf = tail_alloc(LEN); in main()
90 for (i = 0; i < LEN; ++i) in main()
93 struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); in main()
94 for (i = 0; i < LEN; ++i) { in main()
97 iov[i].iov_len = LEN - i; in main()
103 for (i = 0; i < LEN; ++i) { in main()
108 print_iovec(iov, i + 1, LEN); in main()
113 for (i = 0; i <= LEN; ++i) { in main()
[all …]
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp71 rx_frame_.header.LEN = 2; in TEST_F()
139 rx_frame_.header.LEN = INF_LEN; in SetUp()
148 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in RunRules()
149 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in RunRules()
168 rx_frame_.header.LEN = 0; in TEST_F()
171 EXPECT_EQ(0U, rx_frame_.header.LEN); in TEST_F()
187 EXPECT_EQ(INF_LEN, rx_frame_.header.LEN); in TEST_F()
201 rx_frame_.header.LEN = 1; in TEST_F()
206 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in TEST_F()
207 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in TEST_F()
[all …]
/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_texture.c50 LEN(8); /* header */ in rbug_send_texture_list()
86 LEN(8); /* header */ in rbug_send_texture_info()
87 LEN(8); /* texture */ in rbug_send_texture_info()
134 LEN(8); /* header */ in rbug_send_texture_write()
135 LEN(8); /* texture */ in rbug_send_texture_write()
136 LEN(4); /* face */ in rbug_send_texture_write()
137 LEN(4); /* level */ in rbug_send_texture_write()
138 LEN(4); /* zslice */ in rbug_send_texture_write()
139 LEN(4); /* x */ in rbug_send_texture_write()
140 LEN(4); /* y */ in rbug_send_texture_write()
[all …]
Drbug_context.c48 LEN(8); /* header */ in rbug_send_context_list()
84 LEN(8); /* header */ in rbug_send_context_info()
85 LEN(8); /* context */ in rbug_send_context_info()
123 LEN(8); /* header */ in rbug_send_context_draw_block()
124 LEN(8); /* context */ in rbug_send_context_draw_block()
125 LEN(4); /* block */ in rbug_send_context_draw_block()
164 LEN(8); /* header */ in rbug_send_context_draw_step()
165 LEN(8); /* context */ in rbug_send_context_draw_step()
166 LEN(4); /* step */ in rbug_send_context_draw_step()
205 LEN(8); /* header */ in rbug_send_context_draw_unblock()
[all …]
Drbug_shader.c49 LEN(8); /* header */ in rbug_send_shader_list()
50 LEN(8); /* context */ in rbug_send_shader_list()
88 LEN(8); /* header */ in rbug_send_shader_info()
89 LEN(8); /* context */ in rbug_send_shader_info()
90 LEN(8); /* shader */ in rbug_send_shader_info()
130 LEN(8); /* header */ in rbug_send_shader_disable()
131 LEN(8); /* context */ in rbug_send_shader_disable()
132 LEN(8); /* shader */ in rbug_send_shader_disable()
133 LEN(1); /* disable */ in rbug_send_shader_disable()
175 LEN(8); /* header */ in rbug_send_shader_replace()
[all …]
Drbug_core.c48 LEN(8); /* header */ in rbug_send_noop()
83 LEN(8); /* header */ in rbug_send_ping()
119 LEN(8); /* header */ in rbug_send_error()
120 LEN(4); /* error */ in rbug_send_error()
157 LEN(8); /* header */ in rbug_send_ping_reply()
158 LEN(4); /* serial */ in rbug_send_ping_reply()
196 LEN(8); /* header */ in rbug_send_error_reply()
197 LEN(4); /* serial */ in rbug_send_error_reply()
198 LEN(4); /* error */ in rbug_send_error_reply()
/external/ltp/testcases/kernel/syscalls/memcpy/
Dmemcpy01.c53 #define LEN 100 macro
89 memcpy(q, p, LEN); in main()
96 if (p[-1] || p[LEN]) { in main()
101 if (q[-1] || q[LEN]) { in main()
116 memcpy(q, p, LEN); in main()
123 if (p[-1] || p[LEN]) { in main()
128 if (q[-1] || q[LEN]) { in main()
150 for (i = 0; i < LEN; i++) in fill()
157 for (i = 0; i < LEN; i++) in checkit()
/external/u-boot/board/ge/common/
Dvpd_reader.c95 static const int LEN = 1; variable
142 if (data[ID] != HEADER_BLOCK_ID || data[LEN] != HEADER_BLOCK_LEN || in vpd_reader()
157 if (ecc[ID] != ECC_BLOCK_ID || ecc[LEN] < BLOCK_SIZE || in vpd_reader()
158 ecc[LEN] + offset > size || in vpd_reader()
159 ecc[LEN] - BLOCK_SIZE != size_bits / 8 || ecc[VER] != 1 || in vpd_reader()
168 bch_configuration.prim_poly, &data[data[LEN]], in vpd_reader()
169 offset - data[LEN], &data[offset + BLOCK_SIZE], in vpd_reader()
170 ecc[LEN] - BLOCK_SIZE); in vpd_reader()
179 size -= data[LEN]; in vpd_reader()
180 data += data[LEN]; in vpd_reader()
[all …]
/external/blktrace/
Dstrverscmp.c81 #define LEN 3 macro
113 /* S_N */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP, in strverscmp()
115 /* S_I */ CMP, -1, -1, CMP, +1, LEN, LEN, CMP, in strverscmp()
116 +1, LEN, LEN, CMP, CMP, CMP, CMP, CMP, in strverscmp()
117 /* S_F */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP, in strverscmp()
146 case LEN: in strverscmp()
/external/libxml2/os400/
Dxmlcatalog.cmd13 PARM KWD(INSTMF) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
20 PARM KWD(KIND) TYPE(*CHAR) LEN(7) VARY(*YES *INT2) +
27 PARM KWD(OUTSTMF) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
35 PARM KWD(CONVERT) TYPE(*CHAR) LEN(10) VARY(*YES *INT2) +
42 PARM KWD(SUPERUPD) TYPE(*CHAR) LEN(17) VARY(*YES *INT2) +
49 PARM KWD(VERBOSE) TYPE(*CHAR) LEN(4) VARY(*YES *INT2) +
58 PARM KWD(DELETE) TYPE(*PNAME) LEN(256) VARY(*YES *INT2) +
67 XMLELEM: ELEM TYPE(*CHAR) LEN(16) VARY(*YES *INT2) DFT(*PUBLIC) +
80 ELEM TYPE(*PNAME) LEN(256) VARY(*YES *INT2) EXPR(*YES) +
82 ELEM TYPE(*PNAME) LEN(256) VARY(*YES *INT2) EXPR(*YES) +
[all …]
Dxmllint.cmd13 PARM KWD(STMF) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
20 PARM KWD(DTD) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
25 PARM KWD(DTDLOCATOR) TYPE(*CHAR) LEN(8) DFT(*DTDURL) +
31 PARM KWD(SCHEMA) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
36 PARM KWD(SCHEMAKIND) TYPE(*CHAR) LEN(12) VARY(*YES *INT2) +
47 PARM KWD(OUTSTMF) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
54 PARM KWD(XPATH) TYPE(*CHAR) LEN(5000) VARY(*YES *INT2) +
59 PARM KWD(PATTERN) TYPE(*CHAR) LEN(5000) VARY(*YES *INT2) +
66 PARM KWD(PATH) TYPE(*PNAME) LEN(5000) VARY(*YES *INT2) +
71 PARM KWD(PRETTY) TYPE(*CHAR) LEN(11) VARY(*YES *INT2) +
[all …]
/external/libese/libese-teq1/
Dteq1.c106 frame->INF[frame->header.LEN] = teq1_compute_LRC(frame); in teq1_transmit()
120 teq1_trace_transmit(frame->header.PCB, frame->header.LEN); in teq1_transmit()
121 teq1_dump_transmit(frame->val, sizeof(frame->header) + frame->header.LEN + 1); in teq1_transmit()
123 sizeof(frame->header) + frame->header.LEN + 1, 1); in teq1_transmit()
152 if (frame->header.LEN == 255) { in teq1_receive()
163 frame->header.LEN + 1, 1); in teq1_receive()
164 teq1_dump_receive((uint8_t *)(&(frame->INF[0])), frame->header.LEN + 1); in teq1_receive()
165 teq1_trace_receive(frame->header.PCB, frame->header.LEN); in teq1_receive()
177 return frame->header.LEN; /* Return data bytes read. */ in teq1_receive()
197 frame->header.LEN); in teq1_fill_info_block()
[all …]
/external/arm-optimized-routines/string/test/
Dstrcpy.c37 #define LEN 250000 macro
38 static char dbuf[LEN+2*A];
39 static char sbuf[LEN+2*A];
40 static char wbuf[LEN+2*A];
58 if (len > LEN || dalign >= A || salign >= A) in test()
91 for (; n < LEN; n *= 2) in main()
Dmemcpy.c37 #define LEN 250000 macro
38 static unsigned char dbuf[LEN+2*A];
39 static unsigned char sbuf[LEN+2*A];
40 static unsigned char wbuf[LEN+2*A];
58 if (len > LEN || dalign >= A || salign >= A) in test()
90 for (; n < LEN; n *= 2) in main()
Dmemmove.c35 #define LEN 250000 macro
36 static unsigned char dbuf[LEN+2*A];
37 static unsigned char sbuf[LEN+2*A];
38 static unsigned char wbuf[LEN+2*A];
56 if (len > LEN || dalign >= A || salign >= A) in test()
88 if (len > LEN || dalign >= A || salign >= A) in test_overlap()
134 for (; n < LEN; n *= 2) { in main()
Dmemcmp.c35 #define LEN 250000 macro
36 static unsigned char s1buf[LEN+2*A];
37 static unsigned char s2buf[LEN+2*A];
52 if (len > LEN || s1align >= A || s2align >= A) in test()
86 for (; n < LEN; n *= 2) { in main()
/external/boringssl/src/crypto/cipher_extra/asm/
Daes128gcmsiv-x86_64.pl413 my $LEN = "%eax";
752 my $LEN = "%r8";
790 test $LEN, $LEN
800 shrq \$4, $LEN # LEN = num of blocks
801 movq $LEN, %r10
815 shrq \$2, $LEN
857 subq \$1, $LEN
939 my $LEN = "%r8";
987 test $LEN, $LEN
1005 shrq \$4, $LEN # LEN = num of blocks
[all …]
/external/clang/test/OpenMP/
Dparallel_for_simd_ast_print.cpp114 template<int LEN> struct S2 {
117 #pragma omp parallel for simd safelen(LEN) linear(k1,k2:LEN) aligned(a:LEN) simdlen(LEN) in func()
122 k1 = k1 + LEN; in func()
123 k2 = k2 + LEN; in func()
Dsimd_ast_print.cpp117 template<int LEN> struct S2 {
120 #pragma omp simd safelen(LEN) linear(k1,k2:LEN) aligned(a:LEN) simdlen(LEN) in func()
125 k1 = k1 + LEN; in func()
126 k2 = k2 + LEN; in func()
Dfor_simd_ast_print.cpp113 template<int LEN> struct S2 {
116 #pragma omp for simd safelen(LEN) linear(k1,k2:LEN) aligned(a:LEN) simdlen(LEN) in func()
121 k1 = k1 + LEN; in func()
122 k2 = k2 + LEN; in func()

123456