/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
GLutils.cpp | 18 bool isPowerOf2(int num) { 19 return (num & (num -1)) == 0;
|
/external/llvm/test/FrontendC/ |
2004-02-20-Builtins.c | 5 void zsqrtxxx(float num) { 6 num = sqrt(num);
|
/external/kernel-headers/original/asm-generic/bitops/ |
__ffs.h | 14 int num = 0; local 18 num += 32; 23 num += 16; 27 num += 8; 31 num += 4; 35 num += 2; 39 num += 1; 40 return num;
|
/external/e2fsprogs/lib/e2p/ |
parse_num.c | 17 unsigned long long num; local 19 num = strtoull(arg, &p, 0); 26 num <<= 10; 28 num <<= 10; 30 num <<= 10; 32 num >>= log_block_size; 35 num >>= (1+log_block_size); 42 return num; 51 unsigned long num; local 59 num = parse_num_blocks(argv[1], log_block_size) [all...] |
hashstr.c | 20 int num; member in struct:hash 31 const char *e2p_hash2string(int num) 37 if (num == p->num) 40 sprintf(buf, "HASHALG_%d", num); 51 int num; local 55 return p->num; 63 num = strtol(string+8, &eptr, 10); 64 if (num > 255 || num < 0 [all...] |
/frameworks/base/opengl/libs/tools/ |
gltracegen | 40 for (my $num = 0; $num < $len; $num++) { 41 if ($args[$num] ne "void") { 52 for (my $num = 0; $num < $len; $num++) { 53 if ($args[$num] ne "void") { 54 if ($num > 0) { 64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
der_length_integer.c | 21 Gets length of DER encoding of num 22 @param num The int to get the size of 26 int der_length_integer(void *num, unsigned long *outlen) 31 LTC_ARGCHK(num != NULL); 34 if (mp_cmp_d(num, 0) != LTC_MP_LT) { 38 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { 45 z = len = leading_zero + mp_unsigned_bin_size(num); 50 z = mp_count_bits(num); 52 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) --z [all...] |
der_encode_integer.c | 24 @param num The first mp_int to encode 29 int der_encode_integer(void *num, unsigned char *out, unsigned long *outlen) 34 LTC_ARGCHK(num != NULL); 39 if ((err = der_length_integer(num, &tmplen)) != CRYPT_OK) { 48 if (mp_cmp_d(num, 0) != LTC_MP_LT) { 50 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { 56 /* get length of num in bytes (plus 1 since we force the msbyte to zero) */ 57 y = mp_unsigned_bin_size(num) + leading_zero; 60 y = mp_count_bits(num); [all...] |
/external/e2fsprogs/lib/et/ |
et_name.c | 23 const char * error_table_name(num) 24 errcode_t num; 30 /* num = aa aaa abb bbb bcc ccc cdd ddd d?? ??? ??? */ 32 num >>= ERRCODE_RANGE; 33 /* num = ?? ??? ??? aaa aaa bbb bbb ccc ccc ddd ddd */ 34 num &= 077777777L; 35 /* num = 00 000 000 aaa aaa bbb bbb ccc ccc ddd ddd */ 37 ch = (int)((num >> BITS_PER_CHAR * i) & ((1 << BITS_PER_CHAR) - 1));
|
/external/openssl/crypto/lhash/ |
num.pl | 10 $num{$a[3]}++; 13 @a=sort {$a <=> $b } keys %num; 16 printf "%4d:%4d\n",$_,$num{$_};
|
/bionic/libc/string/ |
strerror.c | 35 strerror(int num) 39 (void)strerror_r(num, buf, sizeof(buf));
|
/bionic/libc/stdlib/ |
div.c | 37 div(int num, int denom) 41 r.quot = num / denom; 42 r.rem = num % denom; 53 * sign of num; if both are negative and r.quot has been 55 * have the opposite sign of num). These are considered 58 * If both are num and denom are positive, r will always 62 * if num >= 0, but r.rem < 0, we got the wrong answer. 66 if (num >= 0 && r.rem < 0) {
|
ldiv.c | 37 ldiv(long num, long denom) 43 r.quot = num / denom; 44 r.rem = num % denom; 45 if (num >= 0 && r.rem < 0) {
|
lldiv.c | 37 lldiv(long long num, long long denom) 43 r.quot = num / denom; 44 r.rem = num % denom; 45 if (num >= 0 && r.rem < 0) {
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/ |
der_length_short_integer.c | 21 Gets length of DER encoding of num 22 @param num The integer to get the size of 26 int der_length_short_integer(unsigned long num, unsigned long *outlen) 33 num &= 0xFFFFFFFFUL; 37 y = num; 58 len += (num&(1UL<<((z<<3) - 1))) ? 1 : 0;
|
der_encode_short_integer.c | 23 @param num The integer to encode 28 int der_encode_short_integer(unsigned long num, unsigned char *out, unsigned long *outlen) 37 num &= 0xFFFFFFFFUL; 40 if ((err = der_length_short_integer(num, &len)) != CRYPT_OK) { 51 y = num; 63 z += (num&(1UL<<((z<<3) - 1))) ? 1 : 0; 67 num <<= 8; 83 out[x++] = (unsigned char)((num >> 24) & 0xFF); 84 num <<= 8;
|
/external/elfutils/libasm/ |
asm_addsleb128.c | 26 asm_addsleb128 (asmscn, num) 28 int32_t num; 33 if (asmscn->type == SHT_NOBITS && unlikely (num != 0)) 40 printf ("\t.sleb128\t%" PRId32 "\n", num); 43 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; 46 int32_t endval = num >> 31; 48 if (num == 0) 53 byte = num & 0x7f; 55 num >>= 7; 56 if (num == endval [all...] |
asm_adduleb128.c | 26 asm_adduleb128 (asmscn, num) 28 uint32_t num; 33 if (asmscn->type == SHT_NOBITS && unlikely (num != 0)) 40 printf ("\t.uleb128\t%" PRIu32 "\n", num); 43 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; 49 byte = num & 0x7f; 51 num >>= 7; 52 if (num == 0)
|
/external/openssl/crypto/des/ |
ofb_enc.c | 74 register int num=numbits; local 78 if (num > 64) return; 79 if (num > 32) 82 if (num >= 64) 85 mask1=(1L<<(num-32))-1; 89 if (num == 32) 92 mask0=(1L<<num)-1; 115 if (num == 32) 117 else if (num == 64) 119 else if (num > 32) /* && num != 64 * [all...] |
/frameworks/base/opengl/tests/gl_perf/ |
filltest.cpp | 45 for (uint32_t num = 0; num < gFragmentTestCount; num++) { 46 doSingleTest(num, 2); 47 if (gFragmentTests[num]->texCount) { 48 doSingleTest(num, 1);
|
/external/openssl/crypto/asn1/ |
t_pkey.c | 65 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, 71 if (num == NULL) return(1); 72 neg = (BN_is_negative(num))?"-":""; 75 if (BN_is_zero(num)) 82 if (BN_num_bytes(num) <= BN_BYTES) 85 (unsigned long)num->d[0],neg,(unsigned long)num->d[0]) 94 n=BN_bn2bin(num,&buf[1]);
|
/external/openssl/crypto/md4/ |
md4s.cpp | 38 void md4_block_x86(MD4_CTX *ctx, unsigned char *buffer,int num); 49 int i,num=0,numm; local 53 num=atoi(argv[1]); 55 if (num == 0) num=16; 56 if (num > 250) num=16; 57 numm=num+2; 58 num*=64; 70 md4_block_x86(&ctx,buffer,num); [all...] |
/external/openssl/crypto/md5/ |
md5s.cpp | 38 void md5_block_x86(MD5_CTX *ctx, unsigned char *buffer,int num); 49 int i,num=0,numm; local 53 num=atoi(argv[1]); 55 if (num == 0) num=16; 56 if (num > 250) num=16; 57 numm=num+2; 58 num*=64; 70 md5_block_x86(&ctx,buffer,num); [all...] |
/external/openssl/crypto/ripemd/asm/ |
rips.cpp | 40 void ripemd160_block_x86(RIPEMD160_CTX *ctx, unsigned char *buffer,int num); 51 int i,num=0,numm; local 55 num=atoi(argv[1]); 57 if (num == 0) num=16; 58 if (num > 250) num=16; 59 numm=num+2; 61 num*=64; 74 ripemd160_block_x86(&ctx,buffer,num); [all...] |
/external/webkit/Source/WebCore/platform/win/ |
GDIObjectCounter.h | 33 #define LOCAL_GDI_COUNTER(num, identifier) ((void)0) 35 #define LOCAL_GDI_COUNTER(num, identifier) GDIObjectCounter counter##num(identifier)
|