/prebuilts/go/linux-x86/src/math/ |
sinh.go | 45 var temp float64 48 temp = Exp(x) / 2 51 temp = (Exp(x) - Exp(-x)) / 2 55 temp = (((P3*sq+P2)*sq+P1)*sq + P0) * x 56 temp = temp / (((sq+Q2)*sq+Q1)*sq + Q0) 60 temp = -temp 62 return temp
|
/prebuilts/misc/windows/sdl2/test/ |
testrendercopyex.c | 43 SDL_Surface *temp; local 47 temp = SDL_LoadBMP(file); 48 if (temp == NULL) { 55 if (temp->format->palette) { 56 SDL_SetColorKey(temp, SDL_TRUE, *(Uint8 *) temp->pixels); 58 switch (temp->format->BitsPerPixel) { 60 SDL_SetColorKey(temp, SDL_TRUE, 61 (*(Uint16 *) temp->pixels) & 0x00007FFF); 64 SDL_SetColorKey(temp, SDL_TRUE, *(Uint16 *) temp->pixels) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
toaiff.py | 70 for temp in temps[:]: 71 if temp != ret: 73 os.unlink(temp) 76 temps.remove(temp) 104 (fd, temp) = tempfile.mkstemp() 106 temps.append(temp) 107 sts = table[ftype].copy(fname, temp) 110 return temp
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
toaiff.py | 70 for temp in temps[:]: 71 if temp != ret: 73 os.unlink(temp) 76 temps.remove(temp) 104 (fd, temp) = tempfile.mkstemp() 106 temps.append(temp) 107 sts = table[ftype].copy(fname, temp) 110 return temp
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
atomicops_internals_arm64_gcc.h | 56 int32_t temp; local 63 "stxr %w[temp], %w[new_value], %[ptr] \n\t" // Try to store the new value. 64 "cbnz %w[temp], 0b \n\t" // Retry if it did not work. 67 [temp]"=&r" (temp), 80 int32_t temp; local 85 "stxr %w[temp], %w[new_value], %[ptr] \n\t" // Try to store the new value. 86 "cbnz %w[temp], 0b \n\t" // Retry if it did not work. 88 [temp]"=&r" (temp), 100 int32_t temp; local 192 int32_t temp; local 216 int32_t temp; local 236 int32_t temp; local [all...] |
/external/libcups/cups/ |
adminutil.c | 1167 cups_file_t *temp; /* Temporary file */ local [all...] |
snprintf.c | 43 temp[1024]; /* Buffer for formatted numbers */ local 44 size_t templen; /* Length of "temp" */ 176 if ((width + 2) > sizeof(temp)) 179 sprintf(temp, tformat, va_arg(ap, double)); 180 templen = strlen(temp): 188 strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); 193 memcpy(bufptr, temp, templen + 1); 207 if ((width + 2) > sizeof(temp)) 210 sprintf(temp, tformat, va_arg(ap, int)); 211 templen = strlen(temp) [all...] |
/external/libgsm/src/ |
short_term.c | 153 register word temp; local 158 /* temp = GSM_ABS( *LARp ); 160 * if (temp < 11059) temp <<= 1; 161 * else if (temp < 20070) temp += 11059; 162 * else temp = GSM_ADD( temp >> 2, 26112 ); 164 * *LARp = *LARp < 0 ? -temp : temp; 242 register float sav, di, temp; local 321 register float scalef = 3.0517578125e-5, temp; local [all...] |
/external/webp/src/dsp/ |
upsampling_msa.c | 333 uint8_t temp[3 * 16] = { 0 }; local 334 memcpy(temp, y, length * sizeof(*temp)); 335 CALC_RGB16(temp, u, v, R, G, B); 336 STORE16_3(R, G, B, temp); 337 memcpy(dst, temp, length * 3 * sizeof(*dst)); 339 uint8_t temp[3 * 8] = { 0 }; local 340 memcpy(temp, y, length * sizeof(*temp)); 341 CALC_RGB8(temp, u, v, R, G, B) 360 uint8_t temp[3 * 16] = { 0 }; local 366 uint8_t temp[3 * 8] = { 0 }; local 388 uint8_t temp[4 * 16] = { 0 }; local 394 uint8_t temp[4 * 8] = { 0 }; local 416 uint8_t temp[4 * 16] = { 0 }; local 422 uint8_t temp[4 * 8] = { 0 }; local 444 uint8_t temp[4 * 16] = { 0 }; local 450 uint8_t temp[4 * 8] = { 0 }; local 474 uint8_t temp[2 * 16] = { 0 }; local 483 uint8_t temp[2 * 8] = { 0 }; local 510 uint8_t temp[2 * 16] = { 0 }; local 519 uint8_t temp[2 * 8] = { 0 }; local [all...] |
/external/ltp/testcases/kernel/syscalls/nftw/ |
tools.c | 34 extern FILE *temp; 70 FILE *temp = stderr; local 75 fprintf(temp, "ERROR: setup_path function failed\n"); 84 fprintf(temp, 94 fprintf(temp, 104 fprintf(temp, 113 fprintf(temp, 126 fprintf(temp, "ERROR: setup_path function failed\n"); 134 fprintf(temp, "ERROR: setup_path function failed\n"); 142 fprintf(temp, "ERROR: setup_path function failed\n") [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
FilesTest.java | 174 File temp = createTempFile(); local 175 Files.write(I18N, temp, Charsets.UTF_16LE); 176 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); 180 File temp = createTempFile(); local 182 Files.write(data, temp); 183 assertTrue(Arrays.equals(data, Files.toByteArray(temp))); 186 Files.write(null, temp); 193 File temp = createTempFile(); local 194 Files.append(I18N, temp, Charsets.UTF_16LE); 195 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)) 218 File temp = createTempFile(); local 237 File temp = createTempFile(); local 262 File temp = createTempFile(); local 306 File temp = createTempFile(); local 331 File temp = createTempFile(); local 355 File temp = createTempFile(); local 416 File temp = Files.createTempDir(); local 501 File temp = createTempFile(); local 520 File temp = createTempFile(); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; local 87 temp = min_err; 89 temp = vo_L_add(temp, min_err); 91 temp = vo_L_add(temp, min_err); 93 if(temp < distance) 95 distance = temp; 117 temp = min_err; 119 temp = vo_L_add(temp, min_err) 156 Word32 temp, min_err, distance; local 451 Word16 temp, *p_dico; local 498 Word16 temp, *p_dico; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilitiesTest.java | 138 int[] temp = new int[baseData.width]; local 142 GraphicsUtilities.getVerticalPixels(null, 0, 0, 1, temp); 163 GraphicsUtilities.getVerticalPixels(baseData, -1, 0, 1, temp); 170 GraphicsUtilities.getVerticalPixels(baseData, 0, -1, 1, temp); 177 GraphicsUtilities.getVerticalPixels(baseData, 0, 0, 0, temp); 184 GraphicsUtilities.getVerticalPixels(baseData, baseData.width, 0, baseData.height, temp); 192 .getVerticalPixels(baseData, 0, baseData.height, baseData.height, temp); 199 GraphicsUtilities.getVerticalPixels(baseData, 0, 1, baseData.height, temp); 212 int[] temp = new int[baseData.width]; local 214 GraphicsUtilities.getVerticalPixels(baseData, 0, 0, baseData.height, temp); 228 int[] temp = new int[baseData.width]; local 303 int[] temp = new int[baseData.width]; local 309 assertEquals(baseData.getPixel(x, 0), temp[x]); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 306 double temp = ya * HEX_40000000; local 307 double yaa = ya + temp - temp; 312 temp = recip * HEX_40000000; 313 double recipa = recip + temp - temp; 322 temp = ya + recipa; 323 yb += -(temp - ya - recipa); 324 ya = temp; 325 temp = ya + recipb 370 double temp = ya * HEX_40000000; local 411 double temp = ratio * HEX_40000000; local 484 double temp = na + yb; local 530 double temp = da + yb; local 872 double temp = tempA + tempB; local 893 double temp = za + zb; local 2003 final double temp = sinEpsA * HEX_40000000; local 2147 double temp = sinEpsA * HEX_40000000; local 2815 double temp = 1.0\/xa; local 2822 double temp = epsA + epsB; local 3045 double temp = ra + rb; local 3087 double temp = x * HEX_40000000; local 3163 double temp = x * HEX_40000000; local 3271 double temp = est * HEX_40000000; local [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
WriteIndicCharts.java | 105 String[] temp = (String[])table.get(UTF16.valueOf(i)); local 107 for(int k=1;k<temp.length && temp[k]!=null;k++){ 108 if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 || 109 temp[k].indexOf(":UNASSIGNED")<0){ 115 for(int j=0; j<temp.length;j++){ 116 if(temp[j]!=null){ 121 String str = temp[j]; 123 if(temp[j].indexOf(":FALLBACK")>=0){ 124 str = temp[j].substring(0,temp[j].indexOf(":")) 248 String[] temp = (String[])table.get(UTF16.valueOf(i)); local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_buffer.c | 145 unsigned temp[4]; local 147 temp[0] = ((uint32_t *)rgba[c])[j]; 148 format_desc->pack_rgba_uint(dptr, 0, temp, 0, 1, 1); 172 unsigned temp[4]; local 174 format_desc->fetch_rgba_uint(temp, dptr, 0, 0); 175 sdata[c] = temp[0]; 188 unsigned temp = sdata[c]; local 190 ((uint32_t *)rgba[c])[qi] = temp; 195 unsigned temp = sdata[c]; local 197 ((uint32_t *)rgba[c])[qi] = temp; 205 unsigned temp = sdata[c]; local 212 unsigned temp = sdata[c]; local 219 unsigned temp = sdata[c]; local 226 unsigned temp = sdata[c]; local 270 unsigned temp[4]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_bicubic_filter.c | 78 struct ureg_dst temp[11]; local 83 temp[i] = ureg_DECL_temporary(shader); 87 * |temp[0]| | 0 2 0 0 | |tex_a| 88 * |temp[1]| = | -1 0 1 0 |* |tex_b| 89 * |temp[2]| | 2 -5 4 -1 | |tex_c| 90 * |temp[3]| | -1 3 -3 1 | |tex_d| 92 ureg_MUL(shader, temp[0], tex_b, ureg_imm1f(shader, 2.0f)); 94 ureg_MUL(shader, temp[1], tex_a, ureg_imm1f(shader, -1.0f)); 95 ureg_MAD(shader, temp[1], tex_c, ureg_imm1f(shader, 1.0f), 96 ureg_src(temp[1])) [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
vec2.h | 34 Vec2<T> temp(mX + param.x(), mY + param.y()); 35 return temp; 39 Vec2<T> temp(mX - param.x(), mY - param.y()); 40 return temp;
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMAxisIteratorBase.java | 83 final boolean temp = _isRestartable; 89 _isRestartable = temp; 134 final int temp = _position; // Save state local 145 _position = temp;
|
/external/autotest/client/cros/ |
certificate_util.py | 33 with tempfile.NamedTemporaryFile() as temp: 34 temp.write(self._pem_contents) 35 temp.flush() 38 (self.OPENSSL_COMMAND, attribute, temp.name))
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
r1mpyq.h | 15 Scalar temp = v_givens[j].c() * a[i+m*j] - v_givens[j].s() * a[i+m*(n-1)]; local 17 a[i+m*j] = temp; 22 Scalar temp = w_givens[j].c() * a[i+m*j] + w_givens[j].s() * a[i+m*(n-1)]; local 24 a[i+m*j] = temp;
|
/external/emma/core/java12/com/vladium/emma/ |
AppLoggers.java | 55 Set temp = null; local 62 temp = new HashSet (tokenizer.countTokens ()); 65 temp.add (tokenizer.nextToken ()); 70 filter = temp;
|
/external/libopus/silk/float/ |
find_LTP_FLP.c | 47 silk_float xx, temp; local 56 temp = 1.0f / silk_max( xx, LTP_CORR_INV_MAX * 0.5f * ( XX_ptr[ 0 ] + XX_ptr[ 24 ] ) + 1.0f ); 57 silk_scale_vector_FLP( XX_ptr, temp, LTP_ORDER * LTP_ORDER ); 58 silk_scale_vector_FLP( xX_ptr, temp, LTP_ORDER );
|
/external/ltp/testcases/lib/ |
tst_checkpoint.c | 37 unsigned long temp; local 41 temp = strtoul(arg, &e, 10); 42 if (errno || (e == arg) || (temp > UINT_MAX)) { 48 *val = temp;
|
/external/ltp/testcases/misc/math/abs/ |
abs01.c | 56 FILE *temp; variable 71 setup(); /* temp file is now open */ 78 fprintf(temp, "abs of minimum integer failed."); 88 fprintf(temp, "abs(0) failed, returned %lld\n", i); 116 temp = stderr;
|