/external/libopus/silk/ |
H A D | sigm_Q15.c | 53 opus_int ind; local 62 ind = silk_RSHIFT( in_Q5, 5 ); 63 return( sigm_LUT_neg_Q15[ ind ] - silk_SMULBB( sigm_LUT_slope_Q10[ ind ], in_Q5 & 0x1F ) ); 71 ind = silk_RSHIFT( in_Q5, 5 ); 72 return( sigm_LUT_pos_Q15[ ind ] + silk_SMULBB( sigm_LUT_slope_Q10[ ind ], in_Q5 & 0x1F ) );
|
H A D | gain_quant.c | 40 opus_int8 ind[ MAX_NB_SUBFR ], /* O gain indices */ 51 ind[ k ] = silk_SMULWB( SCALE_Q16, silk_lin2log( gain_Q16[ k ] ) - OFFSET ); 54 if( ind[ k ] < *prev_ind ) { 55 ind[ k ]++; 57 ind[ k ] = silk_LIMIT_int( ind[ k ], 0, N_LEVELS_QGAIN - 1 ); 62 ind[ k ] = silk_LIMIT_int( ind[ k ], *prev_ind + MIN_DELTA_GAIN_QUANT, N_LEVELS_QGAIN - 1 ); 63 *prev_ind = ind[ k ]; 66 ind[ [all...] |
H A D | LP_variable_cutoff.c | 44 const opus_int ind, 50 if( ind < TRANSITION_INT_NUM - 1 ) { 56 silk_Transition_LP_B_Q28[ ind ][ nb ], 57 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - 58 silk_Transition_LP_B_Q28[ ind ][ nb ], 63 silk_Transition_LP_A_Q28[ ind ][ na ], 64 silk_Transition_LP_A_Q28[ ind + 1 ][ na ] - 65 silk_Transition_LP_A_Q28[ ind ][ na ], 73 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ], 74 silk_Transition_LP_B_Q28[ ind 41 silk_LP_interpolate_filter_taps( opus_int32 B_Q28[ TRANSITION_NB ], opus_int32 A_Q28[ TRANSITION_NA ], const opus_int ind, const opus_int32 fac_Q16 ) argument 107 opus_int ind = 0; local [all...] |
/external/ltp/testcases/kernel/syscalls/sched_get_priority_max/ |
H A D | sched_get_priority_max01.c | 91 int lc, ind; local 101 for (ind = 0; ind < TST_TOTAL; ind++) { 105 TEST(sched_get_priority_max(test_cases[ind].policy)); 107 if (TEST_RETURN == test_cases[ind].retval) { 109 test_cases[ind].desc); 113 test_cases[ind].desc, TEST_RETURN);
|
/external/ltp/testcases/kernel/syscalls/sched_get_priority_min/ |
H A D | sched_get_priority_min01.c | 91 int lc, ind; local 101 for (ind = 0; ind < TST_TOTAL; ind++) { 105 TEST(sched_get_priority_min(test_cases[ind].policy)); 107 if (TEST_RETURN == test_cases[ind].retval) { 109 test_cases[ind].desc); 113 test_cases[ind].desc, TEST_RETURN);
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
H A D | mknod06.c | 137 int ind; /* counter to test different test conditions */ local 151 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 152 node_name = Test_cases[ind].pathname; 153 test_desc = Test_cases[ind].desc; 173 Test_cases[ind].exp_errno); 177 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 183 TEST_ERRNO, Test_cases[ind].exp_errno); 208 int ind; local 250 int ind; /* counter variable */ local [all...] |
/external/ltp/testcases/kernel/syscalls/unlink/ |
H A D | unlink07.c | 175 int ind; local 194 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 196 fname = Test_cases[ind].pathname; 197 desc = Test_cases[ind].desc; 211 Test_cases[ind].exp_errno) 220 [ind].exp_errno); 225 Test_cases[ind].exp_errno); 240 int ind; local 286 int ind; local [all...] |
H A D | unlink08.c | 163 int ind; local 182 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 184 fname = Test_cases[ind].pathname; 185 desc = Test_cases[ind].desc; 194 if (Test_cases[ind].exp_ret == -1) { /* neg test */ 196 Test_cases[ind].exp_errno) 207 [ind].exp_errno); 214 if (Test_cases[ind] 239 int ind; local [all...] |
/external/ltp/testcases/kernel/syscalls/stat/ |
H A D | stat06.c | 180 int ind; local 201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 203 fname = Test_cases[ind].pathname; 204 desc = Test_cases[ind].desc; 205 stbuf = Test_cases[ind].stbuf; 234 Test_cases[ind].exp_errno) 243 [ind].exp_errno); 248 Test_cases[ind] 263 int ind; local 312 int ind; local 331 int ind; local [all...] |
H A D | stat03.c | 142 int ind; /* counter to test different test conditions */ local 156 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 157 file_name = Test_cases[ind].pathname; 158 test_desc = Test_cases[ind].desc; 175 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 183 Test_cases[ind].exp_errno); 189 Test_cases[ind].exp_errno); 214 int ind; local 341 int ind; /* counter variable */ local [all...] |
/external/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone04.c | 55 int lc, ind; local 65 for (ind = 0; ind < TST_TOTAL; ind++) { 66 if (test_cases[ind].child_stack == NULL) { 68 } else if (*test_cases[ind].child_stack == NULL) { 76 TEST(ltp_clone(0, test_cases[ind].child_fn, NULL, 80 (TEST_ERRNO == test_cases[ind].exp_errno)) { 82 test_cases[ind].err_desc); 87 test_cases[ind] [all...] |
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
H A D | sigaltstack02.c | 114 int ind; /* counter to test different test conditions */ local 124 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 125 sigstk.ss_size = Test_cases[ind].size; 126 sigstk.ss_flags = Test_cases[ind].flag; 127 test_desc = Test_cases[ind].desc; 135 Test_cases[ind].exp_errno) { 145 [ind].exp_errno); 150 Test_cases[ind] [all...] |
/external/ltp/lib/ |
H A D | random_range.c | 683 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] [all...] |
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
H A D | sched_getparam03.c | 106 int lc, ind; local 117 for (ind = 0; ind < TST_TOTAL; ind++) { 123 TEST(sched_getparam(*(test_cases[ind].pid), 124 test_cases[ind].p)); 127 (TEST_ERRNO == test_cases[ind].exp_errno)) { 129 test_cases[ind].err_desc); 134 test_cases[ind].exp_errno,
|
/external/ltp/testcases/kernel/syscalls/sched_setparam/ |
H A D | sched_setparam04.c | 112 int lc, ind; local 123 for (ind = 0; ind < TST_TOTAL; ind++) { 127 TEST(sched_setparam(*(test_cases[ind].pid), 128 test_cases[ind].p)); 131 (TEST_ERRNO == test_cases[ind].exp_errno)) { 133 test_cases[ind].err_desc); 138 test_cases[ind].exp_errno,
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
H A D | setdomainname02.c | 108 int lc, ind; local 120 for (ind = 0; ind < TST_TOTAL; ind++) { 125 TEST(setdomainname(test_cases[ind].name, 126 (size_t) test_cases[ind].len)); 129 (TEST_ERRNO == test_cases[ind].exp_errno)) { 131 test_cases[ind].err_desc); 136 test_cases[ind].exp_errno,
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
H A D | llseek02.c | 124 int ind; /* counter to test different test conditions */ local 134 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 135 fildes = Test_cases[ind].fd; 136 test_desc = Test_cases[ind].desc; 137 whence = Test_cases[ind].Whence; 157 Test_cases[ind].exp_errno); 160 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 166 TEST_ERRNO, Test_cases[ind] 184 int ind; local [all...] |
/external/ltp/testcases/kernel/fs/doio/ |
H A D | open_flags.c | 197 unsigned int ind; local 210 for (ind = 0; 211 ind < sizeof(Open_flags) / sizeof(struct open_flag_t); 212 ind++) { 213 if (strcmp(name, Open_flags[ind].symbol) == 0) { 214 bits |= Open_flags[ind].flag; 241 int ind; local 263 for (ind = 1; ind < size; ind [all...] |
H A D | forker.c | 163 static int ind = 0; local 165 Forker_pids[ind] = 0; 244 int ind; local 274 for (ind = 0; ind < Forker_npids; ind++) { 275 printf("%d ind:%-2d pid:%d\n", getpid(), ind, Forker_pids[ind]);
|
/external/ltp/testcases/kernel/syscalls/dup/ |
H A D | dup02.c | 130 int ind; local 140 for (ind = 0; ind < nfds; ind++) { 142 TEST(dup(Fds[ind]));
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink03.c | 155 int ind; /* counter to test different test conditions */ local 169 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 170 test_file = Test_cases[ind].file; 171 sym_file = Test_cases[ind].link; 172 test_desc = Test_cases[ind].desc; 190 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 198 Test_cases[ind].exp_errno); 203 Test_cases[ind] 223 int ind; local 341 int ind; /* counter variable */ local [all...] |
/external/opencv/cv/src/ |
H A D | cvdominants.cpp | 145 int ind; local 157 ind = (i + i_plus) % n; 158 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); 159 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); 166 int ind; local 180 ind = (i + i_plus) % n; 182 dx = (float) (ptInf[i].pt.x - ptInf[ind].pt.x); 183 dy = (float) (ptInf[i].pt.y - ptInf[ind].pt.y); 192 int ind; local 204 ind 216 int ind; local 259 int ind = (i + k) % n; local 303 int ind = i + j; local [all...] |
/external/ltp/testcases/kernel/syscalls/lseek/ |
H A D | lseek01.c | 135 int ind; local 157 for (ind = 0; Whence[ind] >= 0; ind++) { 162 TEST(lseek(Fd, (long)offset, Whence[ind])); 173 Fname, offset, Whence[ind],
|
H A D | lseek10.c | 128 int ind; /* counter to test different test conditions */ local 138 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 139 fildes = Test_cases[ind].fd; 140 test_desc = Test_cases[ind].desc; 141 whence = Test_cases[ind].Whence; 162 Test_cases[ind].exp_errno); 165 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 171 TEST_ERRNO, Test_cases[ind] 189 int ind; local [all...] |
/external/jemalloc/test/unit/ |
H A D | arena_reset.c | 42 get_size_impl(const char *cmd, size_t ind) argument 52 mib[2] = ind; 55 0, "Unexpected mallctlbymib([\"%s\", %zu], ...) failure", cmd, ind); local 61 get_small_size(size_t ind) argument 64 return (get_size_impl("arenas.bin.0.size", ind)); 68 get_large_size(size_t ind) argument 71 return (get_size_impl("arenas.lrun.0.size", ind)); 75 get_huge_size(size_t ind) argument 78 return (get_size_impl("arenas.hchunk.0.size", ind));
|