/external/libopus/silk/ |
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 ) );
|
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[ k ] = ind[ k ] - *prev_ind [all...] |
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 + 1 ][ nb ] 107 opus_int ind = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
isp_isf.c | 39 Word32 i, ind; local 41 ind = 127; /* beging at end of table -1 */ 46 ind = 127; /* beging at end of table -1 */ 49 while (table[ind] < isp[i]) 50 ind--; 51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */ 52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]); 68 Word32 i, ind, L_tmp; local [all...] |
/external/ltp/testcases/kernel/syscalls/sched_get_priority_max/ |
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/ |
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);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
gmed_n.h | 70 Word16 ind[], /* i : Past gain values */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
lsp_lsf.cpp | 174 Word16 i, ind, offset; 179 ind = shr (lsf[i], 8); // ind = b8-b15 of lsf[i] 182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset); 185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9))); 221 Word16 i, ind, offset local 354 Word16 ind; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
isp_isf.cpp | 154 int16 i, ind, offset; local 165 ind = isp[i] >> 7; /* ind = b7-b15 of isf[i] */ 168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */ 170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset); 171 isp[i] = add_int16(table[ind], (int16)(L_tmp >> 8));
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
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/ |
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...] |
unlink08.c | 164 int ind; local 183 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 185 fname = Test_cases[ind].pathname; 186 desc = Test_cases[ind].desc; 195 if (Test_cases[ind].exp_ret == -1) { /* neg test */ 197 Test_cases[ind].exp_errno) 208 [ind].exp_errno); 215 if (Test_cases[ind].exp_ret == -1) 240 int ind; local [all...] |
/external/ltp/testcases/kernel/syscalls/stat/ |
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].exp_errno) 263 int ind; local 312 int ind; local 331 int ind; local [all...] |
/external/ltp/testcases/kernel/syscalls/clone/ |
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].exp_errno [all...] |
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
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].exp_errno) [all...] |
/external/ltp/lib/ |
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] = 0 [all...] |
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
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/ |
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/ |
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/ |
llseek02.c | 125 int ind; /* counter to test different test conditions */ local 135 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 136 fildes = Test_cases[ind].fd; 137 test_desc = Test_cases[ind].desc; 138 whence = Test_cases[ind].Whence; 158 Test_cases[ind].exp_errno); 161 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 167 TEST_ERRNO, Test_cases[ind].exp_errno) 185 int ind; local [all...] |
/prebuilts/go/darwin-x86/test/ |
loopbce.go | 145 a[i-10] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 80$" 146 a[i-5] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 85$" 147 a[i] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 90$" 148 a[i+5] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 95$" 149 a[i+10] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 100$ [all...] |
/prebuilts/go/linux-x86/test/ |
loopbce.go | 145 a[i-10] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 80$" 146 a[i-5] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 85$" 147 a[i] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 90$" 148 a[i+5] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 95$" 149 a[i+10] = i // ERROR "Found redundant \(IsInBounds ind 100\), ind < 100$ [all...] |
/external/ltp/testcases/kernel/fs/doio/ |
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...] |
/external/ltp/testcases/kernel/syscalls/dup/ |
dup02.c | 131 int ind; local 141 for (ind = 0; ind < nfds; ind++) { 143 TEST(dup(Fds[ind]));
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
symlink03.c | 156 int ind; /* counter to test different test conditions */ local 170 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { 171 test_file = Test_cases[ind].file; 172 sym_file = Test_cases[ind].link; 173 test_desc = Test_cases[ind].desc; 191 if (TEST_ERRNO == Test_cases[ind].exp_errno) { 199 Test_cases[ind].exp_errno); 204 Test_cases[ind].exp_errno) 224 int ind; local 326 int ind; \/* counter variable *\/ local [all...] |