Home
last modified time | relevance | path

Searched refs:ind (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/external/ltp/lib/
Drandom_range.c683 int ind; local
698 for (ind = 2; ind < argc; ind++) {
701 sscanf(argv[ind], "%i", &mask);
726 int ind; local
750 for (ind = 0; ind < PARTNUM; ind++)
751 cntarr[ind] = 0;
774 for (ind = 0; ind < PARTNUM; ind++) {
775 valbound[ind] = part * ind;
786 for (ind = 0; ind < PARTNUM - 1; ind++) {
787 if (valbound[ind] < lret
[all …]
/external/libopus/silk/
Dgain_quant.c40 …opus_int8 ind[ MAX_NB_SUBFR ], /* O gain indices … in silk_gains_quant()
51 ind[ k ] = silk_SMULWB( SCALE_Q16, silk_lin2log( gain_Q16[ k ] ) - OFFSET ); in silk_gains_quant()
54 if( ind[ k ] < *prev_ind ) { in silk_gains_quant()
55 ind[ k ]++; in silk_gains_quant()
57 ind[ k ] = silk_LIMIT_int( ind[ k ], 0, N_LEVELS_QGAIN - 1 ); in silk_gains_quant()
62ind[ k ] = silk_LIMIT_int( ind[ k ], *prev_ind + MIN_DELTA_GAIN_QUANT, N_LEVELS_QGAIN - 1 ); in silk_gains_quant()
63 *prev_ind = ind[ k ]; in silk_gains_quant()
66 ind[ k ] = ind[ k ] - *prev_ind; in silk_gains_quant()
70 if( ind[ k ] > double_step_size_threshold ) { in silk_gains_quant()
71ind[ k ] = double_step_size_threshold + silk_RSHIFT( ind[ k ] - double_step_size_threshold + 1, 1 … in silk_gains_quant()
[all …]
DLP_variable_cutoff.c44 const opus_int ind, in silk_LP_interpolate_filter_taps() argument
50 if( ind < TRANSITION_INT_NUM - 1 ) { in silk_LP_interpolate_filter_taps()
56 silk_Transition_LP_B_Q28[ ind ][ nb ], in silk_LP_interpolate_filter_taps()
57 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - in silk_LP_interpolate_filter_taps()
58 silk_Transition_LP_B_Q28[ ind ][ nb ], in silk_LP_interpolate_filter_taps()
63 silk_Transition_LP_A_Q28[ ind ][ na ], in silk_LP_interpolate_filter_taps()
64 silk_Transition_LP_A_Q28[ ind + 1 ][ na ] - in silk_LP_interpolate_filter_taps()
65 silk_Transition_LP_A_Q28[ ind ][ na ], in silk_LP_interpolate_filter_taps()
73 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ], in silk_LP_interpolate_filter_taps()
74 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - in silk_LP_interpolate_filter_taps()
[all …]
/external/ltp/testcases/kernel/syscalls/stat/
Dstat06.c180 int ind; in main() local
201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
203 fname = Test_cases[ind].pathname; in main()
204 desc = Test_cases[ind].desc; in main()
205 stbuf = Test_cases[ind].stbuf; in main()
234 Test_cases[ind].exp_errno) in main()
243 [ind].exp_errno); in main()
248 Test_cases[ind].exp_errno); in main()
263 int ind; in setup() local
280 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
[all …]
Dstat03.c133 int ind; /* counter to test different test conditions */ in main() local
147 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
148 file_name = Test_cases[ind].pathname; in main()
149 test_desc = Test_cases[ind].desc; in main()
160 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
168 Test_cases[ind].exp_errno); in main()
174 Test_cases[ind].exp_errno); in main()
199 int ind; in setup() local
225 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
226 if (!Test_cases[ind].pathname) in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod06.c123 int ind; /* counter to test different test conditions */ in main() local
137 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
138 node_name = Test_cases[ind].pathname; in main()
139 test_desc = Test_cases[ind].desc; in main()
153 Test_cases[ind].exp_errno); in main()
157 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
163 TEST_ERRNO, Test_cases[ind].exp_errno); in main()
188 int ind; in setup() local
201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
202 if (!Test_cases[ind].pathname) in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c147 int ind; /* counter to test different test conditions */ in main() local
161 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
162 test_file = Test_cases[ind].file; in main()
163 sym_file = Test_cases[ind].link; in main()
164 test_desc = Test_cases[ind].desc; in main()
178 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
186 Test_cases[ind].exp_errno); in main()
191 Test_cases[ind].exp_errno); in main()
211 int ind; in setup() local
232 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek02.c125 int ind; /* counter to test different test conditions */ in main() local
135 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
136 fildes = Test_cases[ind].fd; in main()
137 test_desc = Test_cases[ind].desc; in main()
138 whence = Test_cases[ind].Whence; in main()
158 Test_cases[ind].exp_errno); in main()
161 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
167 TEST_ERRNO, Test_cases[ind].exp_errno); in main()
185 int ind; in setup() local
194 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dopen_flags.c197 unsigned int ind; in parse_open_flags() local
210 for (ind = 0; in parse_open_flags()
211 ind < sizeof(Open_flags) / sizeof(struct open_flag_t); in parse_open_flags()
212 ind++) { in parse_open_flags()
213 if (strcmp(name, Open_flags[ind].symbol) == 0) { in parse_open_flags()
214 bits |= Open_flags[ind].flag; in parse_open_flags()
241 int ind; in openflags2symbols() local
263 for (ind = 1; ind < size; ind++) { in openflags2symbols()
265 if ((bits & Open_flags[ind].flag) == Open_flags[ind].flag) { in openflags2symbols()
269 strcat(Open_symbols, Open_flags[ind].symbol); in openflags2symbols()
[all …]
/external/grpc-grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc236 size_t ind; in gsec_test_multiple_random_encrypt_decrypt() local
237 for (ind = 0; ind < count; ind++) { in gsec_test_multiple_random_encrypt_decrypt()
238 size_t aad_length = (aad_lengths == nullptr) ? 0 : aad_lengths[ind]; in gsec_test_multiple_random_encrypt_decrypt()
240 (message_lengths == nullptr) ? 0 : message_lengths[ind]; in gsec_test_multiple_random_encrypt_decrypt()
241 gsec_test_random_array(&(nonces[ind]), nonce_length); in gsec_test_multiple_random_encrypt_decrypt()
242 gsec_test_random_array(&(aads[ind]), aad_length); in gsec_test_multiple_random_encrypt_decrypt()
243 gsec_test_random_array(&(messages[ind]), message_length); in gsec_test_multiple_random_encrypt_decrypt()
260 for (ind = 0; ind < count; ind++) { in gsec_test_multiple_random_encrypt_decrypt()
261 size_t aad_length = (aad_lengths == nullptr) ? 0 : aad_lengths[ind]; in gsec_test_multiple_random_encrypt_decrypt()
263 (message_lengths == nullptr) ? 0 : message_lengths[ind]; in gsec_test_multiple_random_encrypt_decrypt()
[all …]
/external/python/cpython3/Lib/test/
Dtest_index.py8 return self.ind
20 self.o.ind = -2
21 self.n.ind = 2
26 self.o.ind = 1
27 self.n.ind = 2
36 self.o.ind = 4
37 self.n.ind = 5
51 self.o.ind = 'dumb'
52 self.n.ind = 'bad'
103 self.o.ind = -2
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDERGeneralizedTime.java69 int ind = time.length - 2; in getDERTime() local
70 while (ind > 0 && time[ind] == '0') in getDERTime()
72 ind--; in getDERTime()
75 if (time[ind] == '.') in getDERTime()
77 byte[] derTime = new byte[ind + 1]; in getDERTime()
79 System.arraycopy(time, 0, derTime, 0, ind); in getDERTime()
80 derTime[ind] = (byte)'Z'; in getDERTime()
86 byte[] derTime = new byte[ind + 2]; in getDERTime()
88 System.arraycopy(time, 0, derTime, 0, ind + 1); in getDERTime()
89 derTime[ind + 1] = (byte)'Z'; in getDERTime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java67 int ind = time.length - 2; in getDERTime() local
68 while (ind > 0 && time[ind] == '0') in getDERTime()
70 ind--; in getDERTime()
73 if (time[ind] == '.') in getDERTime()
75 byte[] derTime = new byte[ind + 1]; in getDERTime()
77 System.arraycopy(time, 0, derTime, 0, ind); in getDERTime()
78 derTime[ind] = (byte)'Z'; in getDERTime()
84 byte[] derTime = new byte[ind + 2]; in getDERTime()
86 System.arraycopy(time, 0, derTime, 0, ind + 1); in getDERTime()
87 derTime[ind + 1] = (byte)'Z'; in getDERTime()
/external/python/cpython2/Lib/test/
Dtest_index.py10 return self.ind
14 return self.ind
30 self.o.ind = -2
31 self.n.ind = 2
36 self.o.ind = 1
37 self.n.ind = 2
46 self.o.ind = 4
47 self.n.ind = 5
63 self.o.ind = 'dumb'
64 self.n.ind = 'bad'
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dindependent_test.py56 ind = independent_lib.Independent(
60 x = ind.sample([4, 5], seed=42)
61 log_prob_x = ind.log_prob(x)
64 self.assertEqual([], ind.batch_shape)
65 self.assertEqual([2], ind.event_shape)
77 ind = independent_lib.Independent(
83 x = ind.sample([4, 5], seed=42)
84 log_prob_x = ind.log_prob(x)
87 self.assertEqual([], ind.batch_shape)
88 self.assertEqual([2, 2], ind.event_shape)
[all …]
/external/ltp/testcases/kernel/syscalls/sigaltstack/
Dsigaltstack02.c114 int ind; /* counter to test different test conditions */ in main() local
124 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
125 sigstk.ss_size = Test_cases[ind].size; in main()
126 sigstk.ss_flags = Test_cases[ind].flag; in main()
127 test_desc = Test_cases[ind].desc; in main()
135 Test_cases[ind].exp_errno) { in main()
145 [ind].exp_errno); in main()
150 Test_cases[ind].exp_errno); in main()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone04.c55 int lc, ind; in main() local
65 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
66 if (test_cases[ind].child_stack == NULL) { in main()
68 } else if (*test_cases[ind].child_stack == NULL) { in main()
76 TEST(ltp_clone(0, test_cases[ind].child_fn, NULL, in main()
80 (TEST_ERRNO == test_cases[ind].exp_errno)) { in main()
82 test_cases[ind].err_desc); in main()
87 test_cases[ind].exp_errno, in main()
/external/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname02.c108 int lc, ind; in main() local
120 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
125 TEST(setdomainname(test_cases[ind].name, in main()
126 (size_t) test_cases[ind].len)); in main()
129 (TEST_ERRNO == test_cases[ind].exp_errno)) { in main()
131 test_cases[ind].err_desc); in main()
136 test_cases[ind].exp_errno, in main()
/external/ltp/testcases/kernel/syscalls/sched_getparam/
Dsched_getparam03.c106 int lc, ind; in main() local
117 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
123 TEST(sched_getparam(*(test_cases[ind].pid), in main()
124 test_cases[ind].p)); in main()
127 (TEST_ERRNO == test_cases[ind].exp_errno)) { in main()
129 test_cases[ind].err_desc); in main()
134 test_cases[ind].exp_errno, in main()
/external/ltp/testcases/kernel/syscalls/sched_setparam/
Dsched_setparam04.c112 int lc, ind; in main() local
123 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
127 TEST(sched_setparam(*(test_cases[ind].pid), in main()
128 test_cases[ind].p)); in main()
131 (TEST_ERRNO == test_cases[ind].exp_errno)) { in main()
133 test_cases[ind].err_desc); in main()
138 test_cases[ind].exp_errno, in main()
/external/jemalloc_new/include/jemalloc/internal/
Djemalloc_internal_inlines_a.h58 arena_tdata_get(tsd_t *tsd, unsigned ind, bool refresh_if_missing) { in arena_tdata_get() argument
64 return arena_tdata_get_hard(tsd, ind); in arena_tdata_get()
66 if (unlikely(ind >= tsd_narenas_tdata_get(tsd))) { in arena_tdata_get()
71 return (refresh_if_missing ? arena_tdata_get_hard(tsd, ind) : in arena_tdata_get()
75 tdata = &arenas_tdata[ind]; in arena_tdata_get()
79 return arena_tdata_get_hard(tsd, ind); in arena_tdata_get()
83 arena_get(tsdn_t *tsdn, unsigned ind, bool init_if_missing) { in arena_get() argument
86 assert(ind < MALLOCX_ARENA_LIMIT); in arena_get()
88 ret = (arena_t *)atomic_load_p(&arenas[ind], ATOMIC_ACQUIRE); in arena_get()
91 ret = arena_init(tsdn, ind, in arena_get()
[all …]
/external/llvm/test/Transforms/LoopDistribute/
Dmetadata.ll23 %ind = phi i64 [ 0, %entry ], [ %add, %for.body ]
25 %arrayidxA = getelementptr inbounds i32, i32* %a, i64 %ind
28 %arrayidxB = getelementptr inbounds i32, i32* %b, i64 %ind
33 %add = add nuw nsw i64 %ind, 1
37 %arrayidxD = getelementptr inbounds i32, i32* %d, i64 %ind
40 %arrayidxE = getelementptr inbounds i32, i32* %e, i64 %ind
45 %arrayidxC = getelementptr inbounds i32, i32* %c, i64 %ind
67 %ind = phi i64 [ 0, %entry ], [ %add, %for.body ]
69 %arrayidxA = getelementptr inbounds i32, i32* %a, i64 %ind
72 %arrayidxB = getelementptr inbounds i32, i32* %b, i64 %ind
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopDistribute/
Dmetadata.ll23 %ind = phi i64 [ 0, %entry ], [ %add, %for.body ]
25 %arrayidxA = getelementptr inbounds i32, i32* %a, i64 %ind
28 %arrayidxB = getelementptr inbounds i32, i32* %b, i64 %ind
33 %add = add nuw nsw i64 %ind, 1
37 %arrayidxD = getelementptr inbounds i32, i32* %d, i64 %ind
40 %arrayidxE = getelementptr inbounds i32, i32* %e, i64 %ind
45 %arrayidxC = getelementptr inbounds i32, i32* %c, i64 %ind
67 %ind = phi i64 [ 0, %entry ], [ %add, %for.body ]
69 %arrayidxA = getelementptr inbounds i32, i32* %a, i64 %ind
72 %arrayidxB = getelementptr inbounds i32, i32* %b, i64 %ind
[all …]
/external/ltp/testcases/kernel/syscalls/sched_get_priority_min/
Dsched_get_priority_min01.c91 int lc, ind; in main() local
101 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
105 TEST(sched_get_priority_min(test_cases[ind].policy)); in main()
107 if (TEST_RETURN == test_cases[ind].retval) { in main()
109 test_cases[ind].desc); in main()
113 test_cases[ind].desc, TEST_RETURN); in main()
/external/ltp/testcases/kernel/syscalls/sched_get_priority_max/
Dsched_get_priority_max01.c91 int lc, ind; in main() local
101 for (ind = 0; ind < TST_TOTAL; ind++) { in main()
105 TEST(sched_get_priority_max(test_cases[ind].policy)); in main()
107 if (TEST_RETURN == test_cases[ind].retval) { in main()
109 test_cases[ind].desc); in main()
113 test_cases[ind].desc, TEST_RETURN); in main()

12345678910>>...16