/external/chromium/third_party/libevent/test/ |
D | regress.gen.c | 47 struct msg *tmp; in msg_new() local 48 if ((tmp = malloc(sizeof(struct msg))) == NULL) { in msg_new() 52 tmp->base = &__msg_base; in msg_new() 54 tmp->from_name_data = NULL; in msg_new() 55 tmp->from_name_set = 0; in msg_new() 57 tmp->to_name_data = NULL; in msg_new() 58 tmp->to_name_set = 0; in msg_new() 60 tmp->attack_data = NULL; in msg_new() 61 tmp->attack_set = 0; in msg_new() 63 tmp->run_data = NULL; in msg_new() [all …]
|
/external/stlport/test/unit/ |
D | valarray_test.cpp | 37 valarray<double> tmp; in transcendentals() local 38 tmp = abs(darray); in transcendentals() 39 tmp = acos(darray); in transcendentals() 40 tmp = asin(darray); in transcendentals() 41 tmp = atan(darray); in transcendentals() 42 tmp = atan2(darray, tmp); in transcendentals() 43 tmp = atan2(1.0, darray); in transcendentals() 44 tmp = atan2(darray, 1.0); in transcendentals() 45 tmp = cos(darray); in transcendentals() 46 tmp = cosh(darray); in transcendentals() [all …]
|
/external/qemu/target-arm/ |
D | translate.c | 140 TCGv tmp; in new_tmp() local 147 tmp = tcg_temp_new_i32(); in new_tmp() 148 temps[num_temps++] = tmp; in new_tmp() 149 return tmp; in new_tmp() 153 static void dead_tmp(TCGv tmp) in dead_tmp() argument 158 if (TCGV_EQUAL(temps[i], tmp)) in dead_tmp() 162 while (!TCGV_EQUAL(temps[i], tmp)) in dead_tmp() 168 temps[i] = tmp; in dead_tmp() 173 TCGv tmp = new_tmp(); in load_cpu_offset() local 174 tcg_gen_ld_i32(tmp, cpu_env, offset); in load_cpu_offset() [all …]
|
D | neon_helper.c | 186 uint32_t tmp = (uint32_t)src1 + (uint32_t)src2; \ 187 if (tmp != (type)tmp) { \ 191 dest = tmp; \ 202 int32_t tmp = (uint32_t)src1 + (uint32_t)src2; \ 203 if (tmp != (type)tmp) { \ 206 tmp = (1 << (sizeof(type) * 8 - 1)) - 1; \ 208 tmp = 1 << (sizeof(type) * 8 - 1); \ 211 dest = tmp; \ 222 uint32_t tmp = (uint32_t)src1 - (uint32_t)src2; \ 223 if (tmp != (type)tmp) { \ [all …]
|
/external/e2fsprogs/lib/uuid/ |
D | pack.c | 40 uint32_t tmp; in uuid_pack() local 43 tmp = uu->time_low; in uuid_pack() 44 out[3] = (unsigned char) tmp; in uuid_pack() 45 tmp >>= 8; in uuid_pack() 46 out[2] = (unsigned char) tmp; in uuid_pack() 47 tmp >>= 8; in uuid_pack() 48 out[1] = (unsigned char) tmp; in uuid_pack() 49 tmp >>= 8; in uuid_pack() 50 out[0] = (unsigned char) tmp; in uuid_pack() 52 tmp = uu->time_mid; in uuid_pack() [all …]
|
D | unpack.c | 41 uint32_t tmp; in uuid_unpack() local 43 tmp = *ptr++; in uuid_unpack() 44 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 45 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 46 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 47 uu->time_low = tmp; in uuid_unpack() 49 tmp = *ptr++; in uuid_unpack() 50 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 51 uu->time_mid = tmp; in uuid_unpack() 53 tmp = *ptr++; in uuid_unpack() [all …]
|
/external/qemu/ |
D | sys-tree.h | 92 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 93 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 94 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 95 (head)->sph_root = tmp; \ 98 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 99 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \ 100 SPLAY_LEFT(tmp, field) = (head)->sph_root; \ 101 (head)->sph_root = tmp; \ 104 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 105 SPLAY_LEFT(tmp, field) = (head)->sph_root; \ [all …]
|
/external/skia/src/core/ |
D | SkLineClipper.cpp | 69 SkPoint tmp[2]; in IntersectLine() local 70 memcpy(tmp, src, sizeof(tmp)); in IntersectLine() 73 if (tmp[index0].fY < clip.fTop) { in IntersectLine() 74 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); in IntersectLine() 76 if (tmp[index1].fY > clip.fBottom) { in IntersectLine() 77 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom); in IntersectLine() 80 if (tmp[0].fX < tmp[1].fX) { in IntersectLine() 89 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && in IntersectLine() 90 tmp[index0].fX < tmp[index1].fX) { in IntersectLine() 95 if (tmp[index0].fX < clip.fLeft) { in IntersectLine() [all …]
|
D | SkEdgeClipper.cpp | 85 SkPoint tmp[5]; // for SkChopQuadAt in chop_quad_in_Y() local 91 SkChopQuadAt(pts, tmp, t); in chop_quad_in_Y() 92 clamp_ge(tmp[2].fY, clip.fTop); in chop_quad_in_Y() 93 clamp_ge(tmp[3].fY, clip.fTop); in chop_quad_in_Y() 94 pts[0] = tmp[2]; in chop_quad_in_Y() 95 pts[1] = tmp[3]; in chop_quad_in_Y() 110 SkChopQuadAt(pts, tmp, t); in chop_quad_in_Y() 111 clamp_le(tmp[1].fY, clip.fBottom); in chop_quad_in_Y() 112 clamp_le(tmp[2].fY, clip.fBottom); in chop_quad_in_Y() 113 pts[1] = tmp[1]; in chop_quad_in_Y() [all …]
|
/external/tinyxml/ |
D | tinystr.cpp | 45 TiXmlString tmp; in reserve() local 46 tmp.init(length(), cap); in reserve() 47 memcpy(tmp.start(), data(), length()); in reserve() 48 swap(tmp); in reserve() 58 TiXmlString tmp; in assign() local 59 tmp.init(len); in assign() 60 memcpy(tmp.start(), str, len); in assign() 61 swap(tmp); in assign() 87 TiXmlString tmp; in operator +() local 88 tmp.reserve(a.length() + b.length()); in operator +() [all …]
|
/external/e2fsprogs/lib/e2p/ |
D | uuid.c | 34 __u32 tmp; in e2p_unpack_uuid() local 36 tmp = *ptr++; in e2p_unpack_uuid() 37 tmp = (tmp << 8) | *ptr++; in e2p_unpack_uuid() 38 tmp = (tmp << 8) | *ptr++; in e2p_unpack_uuid() 39 tmp = (tmp << 8) | *ptr++; in e2p_unpack_uuid() 40 uu->time_low = tmp; in e2p_unpack_uuid() 42 tmp = *ptr++; in e2p_unpack_uuid() 43 tmp = (tmp << 8) | *ptr++; in e2p_unpack_uuid() 44 uu->time_mid = tmp; in e2p_unpack_uuid() 46 tmp = *ptr++; in e2p_unpack_uuid() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-580.js | 33 var tmp = 0; 34 x = (tmp = 1578221999, tmp)+(tmp = 572285336, tmp); 39 x = (tmp = -1500000000, tmp)+(tmp = -2000000000, tmp); 44 x = (tmp = 1578221999, tmp)-(tmp = -572285336, tmp); 49 x = (tmp = -1500000000, tmp)-(tmp = 2000000000, tmp);
|
/external/wpa_supplicant/ |
D | eloop_none.c | 76 struct eloop_sock *tmp; in eloop_register_read_sock() local 78 tmp = (struct eloop_sock *) in eloop_register_read_sock() 81 if (tmp == NULL) in eloop_register_read_sock() 84 tmp[eloop.reader_count].sock = sock; in eloop_register_read_sock() 85 tmp[eloop.reader_count].eloop_data = eloop_data; in eloop_register_read_sock() 86 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock() 87 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock() 89 eloop.readers = tmp; in eloop_register_read_sock() 125 struct eloop_timeout *timeout, *tmp, *prev; in eloop_register_timeout() local 148 tmp = eloop.timeout; in eloop_register_timeout() [all …]
|
D | eloop_win.c | 124 struct eloop_sock *tmp; in eloop_register_read_sock() local 140 tmp = os_realloc(eloop.readers, in eloop_register_read_sock() 142 if (tmp == NULL) { in eloop_register_read_sock() 148 tmp[eloop.reader_count].sock = sock; in eloop_register_read_sock() 149 tmp[eloop.reader_count].eloop_data = eloop_data; in eloop_register_read_sock() 150 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock() 151 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock() 152 tmp[eloop.reader_count].event = event; in eloop_register_read_sock() 154 eloop.readers = tmp; in eloop_register_read_sock() 194 struct eloop_event *tmp; in eloop_register_event() local [all …]
|
D | eloop.c | 84 struct eloop_sock *tmp; in eloop_sock_table_add_sock() local 89 tmp = (struct eloop_sock *) in eloop_sock_table_add_sock() 92 if (tmp == NULL) in eloop_sock_table_add_sock() 95 tmp[table->count].sock = sock; in eloop_sock_table_add_sock() 96 tmp[table->count].eloop_data = eloop_data; in eloop_sock_table_add_sock() 97 tmp[table->count].user_data = user_data; in eloop_sock_table_add_sock() 98 tmp[table->count].handler = handler; in eloop_sock_table_add_sock() 100 table->table = tmp; in eloop_sock_table_add_sock() 230 struct eloop_timeout *timeout, *tmp, *prev; in eloop_register_timeout() local 256 tmp = eloop.timeout; in eloop_register_timeout() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | eloop_none.c | 76 struct eloop_sock *tmp; in eloop_register_read_sock() local 78 tmp = (struct eloop_sock *) in eloop_register_read_sock() 81 if (tmp == NULL) in eloop_register_read_sock() 84 tmp[eloop.reader_count].sock = sock; in eloop_register_read_sock() 85 tmp[eloop.reader_count].eloop_data = eloop_data; in eloop_register_read_sock() 86 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock() 87 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock() 89 eloop.readers = tmp; in eloop_register_read_sock() 125 struct eloop_timeout *timeout, *tmp, *prev; in eloop_register_timeout() local 148 tmp = eloop.timeout; in eloop_register_timeout() [all …]
|
D | eloop_win.c | 124 struct eloop_sock *tmp; in eloop_register_read_sock() local 140 tmp = os_realloc(eloop.readers, in eloop_register_read_sock() 142 if (tmp == NULL) { in eloop_register_read_sock() 148 tmp[eloop.reader_count].sock = sock; in eloop_register_read_sock() 149 tmp[eloop.reader_count].eloop_data = eloop_data; in eloop_register_read_sock() 150 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock() 151 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock() 152 tmp[eloop.reader_count].event = event; in eloop_register_read_sock() 154 eloop.readers = tmp; in eloop_register_read_sock() 194 struct eloop_event *tmp; in eloop_register_event() local [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
D | Tables8kGCMMultiplier.java | 17 int[] tmp = new int[4]; in init() local 18 System.arraycopy(M[1][j + j], 0, tmp, 0, 4); in init() 20 GCMUtil.multiplyP(tmp); in init() 21 M[1][j] = tmp; in init() 25 int[] tmp = new int[4]; in init() local 26 System.arraycopy(M[1][1], 0, tmp, 0, 4); in init() 28 GCMUtil.multiplyP(tmp); in init() 29 M[0][8] = tmp; in init() 34 int[] tmp = new int[4]; in init() local 35 System.arraycopy(M[0][j + j], 0, tmp, 0, 4); in init() [all …]
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_exptmod.c | 34 void *tmp, *tmpa, *tmpb; in rsa_exptmod() local 54 …if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) … in rsa_exptmod() 55 …if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) … in rsa_exptmod() 58 if (mp_cmp(key->N, tmp) == LTC_MP_LT) { in rsa_exptmod() 66 …if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { go… in rsa_exptmod() 69 …if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { go… in rsa_exptmod() 72 …if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { go… in rsa_exptmod() 73 …if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { got… in rsa_exptmod() 76 …if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { go… in rsa_exptmod() 77 …if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { go… in rsa_exptmod() [all …]
|
/external/iproute2/ |
D | configure | 8 cat >/tmp/atmtest.c <<EOF 16 gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 24 rm -f /tmp/atmtest.c /tmp/atmtest 30 cat >/tmp/ipttest.c <<EOF 50 if gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl -lxtables >/dev/null 2>&1 55 rm -f /tmp/ipttest.c /tmp/ipttest 67 cat >/tmp/ipttest.c <<EOF 87 gcc -I$INCLUDE $IPTC -o /tmp/ipttest /tmp/ipttest.c $IPTL -ldl >/dev/null 2>&1 94 rm -f /tmp/ipttest.c /tmp/ipttest 106 cat >/tmp/ipttest.c <<EOF [all …]
|
/external/openssl/crypto/asn1/ |
D | a_strnid.c | 216 ASN1_STRING_TABLE *tmp; in ASN1_STRING_TABLE_add() local 224 if(!(tmp = ASN1_STRING_TABLE_get(nid))) { in ASN1_STRING_TABLE_add() 225 tmp = OPENSSL_malloc(sizeof(ASN1_STRING_TABLE)); in ASN1_STRING_TABLE_add() 226 if(!tmp) { in ASN1_STRING_TABLE_add() 231 tmp->flags = flags | STABLE_FLAGS_MALLOC; in ASN1_STRING_TABLE_add() 232 tmp->nid = nid; in ASN1_STRING_TABLE_add() 234 } else tmp->flags = (tmp->flags & STABLE_FLAGS_MALLOC) | flags; in ASN1_STRING_TABLE_add() 235 if(minsize != -1) tmp->minsize = minsize; in ASN1_STRING_TABLE_add() 236 if(maxsize != -1) tmp->maxsize = maxsize; in ASN1_STRING_TABLE_add() 237 tmp->mask = mask; in ASN1_STRING_TABLE_add() [all …]
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_exptmod.c | 34 void *tmp, *tmpa, *tmpb; in katja_exptmod() local 54 …if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) … in katja_exptmod() 55 …if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) … in katja_exptmod() 58 if (mp_cmp(key->N, tmp) == LTC_MP_LT) { in katja_exptmod() 66 …if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { go… in katja_exptmod() 69 …if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { go… in katja_exptmod() 72 …if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { go… in katja_exptmod() 73 …if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { go… in katja_exptmod() 76 …if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { go… in katja_exptmod() 77 …if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { go… in katja_exptmod() [all …]
|
/external/libvpx/ |
D | y4minput.c | 241 unsigned char *tmp; in y4m_convert_42xpaldv_42xjpeg() local 254 tmp=_aux+2*c_sz; in y4m_convert_42xpaldv_42xjpeg() 259 y4m_42xmpeg2_42xjpeg_helper(tmp,_aux,c_w,c_h); in y4m_convert_42xpaldv_42xjpeg() 267 _dst[y*c_w]=(unsigned char)OC_CLAMPI(0,(tmp[0] in y4m_convert_42xpaldv_42xjpeg() 268 -9*tmp[OC_MAXI(y-2,0)*c_w]+35*tmp[OC_MAXI(y-1,0)*c_w] in y4m_convert_42xpaldv_42xjpeg() 269 +114*tmp[y*c_w]-17*tmp[OC_MINI(y+1,c_h-1)*c_w] in y4m_convert_42xpaldv_42xjpeg() 270 +4*tmp[OC_MINI(y+2,c_h-1)*c_w]+64)>>7,255); in y4m_convert_42xpaldv_42xjpeg() 273 _dst[y*c_w]=(unsigned char)OC_CLAMPI(0,(tmp[(y-3)*c_w] in y4m_convert_42xpaldv_42xjpeg() 274 -9*tmp[(y-2)*c_w]+35*tmp[(y-1)*c_w]+114*tmp[y*c_w] in y4m_convert_42xpaldv_42xjpeg() 275 -17*tmp[(y+1)*c_w]+4*tmp[(y+2)*c_w]+64)>>7,255); in y4m_convert_42xpaldv_42xjpeg() [all …]
|
/external/kernel-headers/original/asm-arm/ |
D | spinlock.h | 28 unsigned long tmp; in __raw_spin_lock() local 39 : "=&r" (tmp) in __raw_spin_lock() 48 unsigned long tmp; in __raw_spin_trylock() local 54 : "=&r" (tmp) in __raw_spin_trylock() 58 if (tmp == 0) { in __raw_spin_trylock() 92 unsigned long tmp; in __raw_write_lock() local 103 : "=&r" (tmp) in __raw_write_lock() 112 unsigned long tmp; in __raw_write_trylock() local 118 : "=&r" (tmp) in __raw_write_trylock() 122 if (tmp == 0) { in __raw_write_trylock() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/ |
D | rc2.c | 73 unsigned char tmp[128]; in rc2_setup() local 89 tmp[i] = key[i] & 255; in rc2_setup() 95 tmp[i] = permute[(tmp[i - 1] + tmp[i - keylen]) & 255]; in rc2_setup() 103 tmp[128 - T8] = permute[tmp[128 - T8] & TM]; in rc2_setup() 105 tmp[i] = permute[tmp[i + 1] ^ tmp[i + T8]]; in rc2_setup() 110 xkey[i] = (unsigned)tmp[2*i] + ((unsigned)tmp[2*i+1] << 8); in rc2_setup() 114 zeromem(tmp, sizeof(tmp)); in rc2_setup() 307 unsigned char tmp[2][8]; in rc2_test() 310 zeromem(tmp, sizeof(tmp)); in rc2_test() 315 rc2_ecb_encrypt(tests[x].pt, tmp[0], &skey); in rc2_test() [all …]
|