/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 48 tmp = extract_h(L_tmp << exp); 49 ener1 = vo_mult(ener1, tmp); 59 tmp = gain_code << exp; 60 tmp = vo_mult(tmp, tmp); 61 ener2 = vo_mult(ener2, tmp); 76 tmp = vo_sub(ener1, ener2); 79 if (tmp >= 0 [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_huffman_decoding.cpp | 263 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local 264 x += tmp >> 1; 265 if (tmp&1) 281 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local 282 y += tmp >> 1; 283 if (tmp&1)
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_seq_param_set.c | 88 u32 tmp, i, value; local 98 tmp = h264bsdGetBits(pStrmData, 8); 99 if (tmp == END_OF_STREAM) 101 if (tmp != 66) 103 DEBUG(("NOT BASELINE PROFILE %d\n", tmp)); 105 pSeqParamSet->profileIdc = tmp; 108 tmp = h264bsdGetBits(pStrmData, 1); 110 tmp = h264bsdGetBits(pStrmData, 1); 112 tmp = h264bsdGetBits(pStrmData, 1); 114 if (tmp == END_OF_STREAM 388 u32 tmp; local [all...] |
/hardware/invensense/mlsdk/mllite/ |
pressure.c | 134 unsigned char tmp[3]; local 145 inv_get_serial_handle(), tmp); 154 (((long)((signed char)tmp[0])) << 16) + (((long)tmp[1]) << 8) + 155 ((long)tmp[2]); 158 (((long)((signed char)tmp[2])) << 16) + (((long)tmp[1]) << 8) + 159 ((long)tmp[0]);
|
/system/core/libdiskconfig/ |
diskutils.c | 39 int tmp; local 83 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { 90 if (!tmp) 92 nr_bytes -= tmp;
|
/system/core/nexus/ |
ScanResult.cpp | 30 char tmp[255]; local 34 strncpy(tmp, p, (q - p)); 35 tmp[q-p] = '\0'; 36 mBssid = strdup(tmp); 41 strncpy(tmp, p, (q - p)); 42 tmp[q-p] = '\0'; 43 mFreq = atoi(tmp); 48 strncpy(tmp, p, (q - p)); 49 tmp[q-p] = '\0'; 50 mLevel = atoi(tmp); [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
BasicScheme.java | 165 StringBuilder tmp = new StringBuilder(); local 166 tmp.append(credentials.getUserPrincipal().getName()); 167 tmp.append(":"); 168 tmp.append((credentials.getPassword() == null) ? "null" : credentials.getPassword()); 171 EncodingUtils.getBytes(tmp.toString(), charset));
|
/frameworks/base/graphics/java/android/renderscript/ |
Matrix3f.java | 233 Matrix3f tmp = new Matrix3f(); local 234 tmp.loadMultiply(this, rhs); 235 load(tmp); 248 Matrix3f tmp = new Matrix3f(); local 249 tmp.loadRotate(rot, x, y, z); 250 multiply(tmp); 260 Matrix3f tmp = new Matrix3f(); local 261 tmp.loadRotate(rot); 262 multiply(tmp); 273 Matrix3f tmp = new Matrix3f() local 287 Matrix3f tmp = new Matrix3f(); local 300 Matrix3f tmp = new Matrix3f(); local [all...] |
Matrix2f.java | 156 Matrix2f tmp = new Matrix2f(); local 157 tmp.loadMultiply(this, rhs); 158 load(tmp); 167 Matrix2f tmp = new Matrix2f(); local 168 tmp.loadRotate(rot); 169 multiply(tmp); 179 Matrix2f tmp = new Matrix2f(); local 180 tmp.loadScale(x, y); 181 multiply(tmp);
|
/bionic/libc/inet/ |
inet_ntop.c | 75 char tmp[sizeof "255.255.255.255"]; local 78 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]); 83 strlcpy(dst, tmp, size); 103 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local 146 tp = tmp; 147 ep = tmp + sizeof(tmp); 191 if ((size_t)(tp - tmp) > size) { 195 strlcpy(dst, tmp, size);
|
/development/host/windows/usb/api/ |
adb_helper_routines.cpp | 88 AdbEnumInterfaceArray tmp;
local 114 tmp.push_back(AdbInstanceEnumEntry(dev_name.c_str(),
140 interfaces->swap(tmp);
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 53 char tmp[PATH_MAX]; // temp directory local 60 snprintf(tmp, sizeof(tmp), "/tmp/android-%s", user); 62 ret = ::lstat(tmp, &st); 67 ret = ::mkdir(tmp, 0766); 70 ERR("Could not create temp directory: %s", tmp); 71 user = NULL; // will fall-back to /tmp 75 user = NULL; // will fallback to /tmp 79 if (user == NULL) { // fallback to /tmp in case of erro [all...] |
/external/bluetooth/bluez/attrib/ |
utils.c | 112 char tmp[3]; local 120 tmp[2] = '\0'; 122 memcpy(tmp, str + (i * 2), 2); 123 (*data)[i] = (uint8_t) strtol(tmp, NULL, 16);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/ |
RDN.java | 81 AttributeTypeAndValue[] tmp = new AttributeTypeAndValue[values.size()]; local 83 for (int i = 0; i != tmp.length; i++) 85 tmp[i] = AttributeTypeAndValue.getInstance(values.getObjectAt(i)); 88 return tmp;
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
GeneralNames.java | 61 GeneralName[] tmp = new GeneralName[names.length]; local 63 System.arraycopy(names, 0, tmp, 0, names.length); 65 return tmp;
|
/external/chromium/base/win/ |
scoped_bstr_unittest.cc | 45 BSTR tmp = b2.Release(); local 46 EXPECT_TRUE(tmp != NULL); 47 EXPECT_EQ(0, lstrcmp(tmp, kTestString1)); 49 SysFreeString(tmp);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_drag_data.cc | 77 const char* tmp; local 78 if (!pickle->ReadBytes(&data_iterator, &tmp, sizeof(profile_id_))) 80 memcpy(&profile_id_, tmp, sizeof(profile_id_));
|
/external/chromium/net/tools/flip_server/ |
simple_buffer.h | 65 char* tmp = storage_; local 67 other->storage_ = tmp;
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
mucinviterecvtask.cc | 94 AvailableMediaEntry tmp; local 97 tmp.label = atoi(entry->Attr(QN_LABEL).c_str()); 98 tmp.type = static_cast<AvailableMediaEntry::type_t>( 104 tmp.status = static_cast<AvailableMediaEntry::status_t>( 110 v.push_back(tmp);
|
/external/clang/test/CodeGenCXX/ |
constructors.cpp | 104 C tmp = in; local
|
/external/dbus/test/ |
shell-test.c | 18 char *command_line, *tmp; local 28 tmp = va_arg (var_args, char *); 29 if (!tmp) 31 _dbus_list_append (&list, tmp); 32 } while (tmp);
|
/external/dropbear/libtomcrypt/testprof/ |
modes_test.c | 6 unsigned char pt[64], ct[64], tmp[64], key[16], iv[16], iv2[16]; local 53 zeromem(tmp, sizeof(tmp)); 54 DO(cbc_decrypt(ct, tmp, 64, &cbc)); 55 if (memcmp(tmp, pt, 64) != 0) { 76 zeromem(tmp, sizeof(tmp)); 77 DO(cfb_decrypt(ct, tmp, 64, &cfb)); 78 if (memcmp(tmp, pt, 64) != 0) { 98 zeromem(tmp, sizeof(tmp)) [all...] |
/external/dropbear/libtommath/ |
bn_mp_exteuclid.c | 23 mp_int u1,u2,u3,v1,v2,v3,t1,t2,t3,q,tmp; local 26 if ((err = mp_init_multi(&u1, &u2, &u3, &v1, &v2, &v3, &t1, &t2, &t3, &q, &tmp, NULL)) != MP_OKAY) { 44 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; } 45 if ((err = mp_sub(&u1, &tmp, &t1)) != MP_OKAY) { goto _ERR; } 46 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; } 47 if ((err = mp_sub(&u2, &tmp, &t2)) != MP_OKAY) { goto _ERR; } 48 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; } 49 if ((err = mp_sub(&u3, &tmp, &t3)) != MP_OKAY) { goto _ERR; } 75 _ERR: mp_clear_multi(&u1, &u2, &u3, &v1, &v2, &v3, &t1, &t2, &t3, &q, &tmp, NULL);
|
/external/dropbear/libtommath/mtest/ |
mtest.c | 72 int n, tmp; local 284 tmp = abs(rand()) & THE_MASK; 285 mp_add_d(&a, tmp, &b); 288 printf("%s\n%d\n", buf, tmp); 293 tmp = abs(rand()) & THE_MASK; 294 mp_sub_d(&a, tmp, &b); 297 printf("%s\n%d\n", buf, tmp);
|
/external/e2fsprogs/debugfs/ |
ncheck.c | 61 char *tmp; local 79 iw.iarray[i-1] = strtol(argv[i], &tmp, 0); 80 if (*tmp) {
|