/external/f2fs-tools/lib/ |
libf2fs.c | 40 int log_base_2(u_int32_t num) 43 if (num <= 0 || (num & (num - 1)) != 0) 46 while (num >>= 1) 147 int num = 0; local 151 num += 32; 156 num += 16; 160 num += 8; 164 num += 4 [all...] |
/external/openssl/crypto/bio/ |
bss_dgram.c | 100 static int dgram_write(BIO *h, const char *buf, int num); 109 static int dgram_sctp_write(BIO *h, const char *buf, int num); 224 bi->num=0; 256 SHUTDOWN2(a->num); 280 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 290 if ( getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 326 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 330 if ( setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, &timeleft, 350 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 354 if ( setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, &(data->socket_timeout) [all...] |
bio_cb.c | 89 bio->num,(unsigned long)argi, 90 bio->method->name,bio->num); 93 bio->num,(unsigned long)argi, 99 bio->num,(unsigned long)argi, 100 bio->method->name,bio->num); 103 bio->num,(unsigned long)argi,
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
reflist.cpp | 407 void SortPicByPicNum(AVCPictureData *data[], int num) 412 for (i = 0; i < num - 1; i++) 414 for (j = i + 1; j < num; j++) 429 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num) 434 for (i = 0; i < num - 1; i++) 436 for (j = i + 1; j < num; j++) 452 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num) 457 for (i = 0; i < num - 1; i++) 459 for (j = i + 1; j < num; j++) 474 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num) [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
f_enum.c | 103 int num=0,slen=0,first=1; local 151 if (num+i > slen) 155 (unsigned int)num+i*2); 158 (unsigned int)num+i*2); 166 slen=num+i*2; 184 s[num+j]<<=4; 185 s[num+j]|=m; 188 num+=i; 194 bs->length=num;
|
f_int.c | 108 int num=0,slen=0,first=1; local 156 if (num+i > slen) 160 (unsigned int)num+i*2); 162 sp=OPENSSL_realloc_clean(s,slen,num+i*2); 170 slen=num+i*2; 188 s[num+j]<<=4; 189 s[num+j]|=m; 192 num+=i; 198 bs->length=num;
|
/external/openssl/crypto/asn1/ |
evp_asn1.c | 82 int ret,num; local 93 num=ret; 95 num=max_len; 96 memcpy(data,p,num); 100 int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data, 114 ASN1_INTEGER_set(&in,num); 139 /* we return the actual length..., num may be missing, in which 142 int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num, unsigned char *data, 173 if (num != NULL) 174 *num=ASN1_INTEGER_get(ai) [all...] |
f_int.c | 109 int num=0,slen=0,first=1; local 166 if (num+i > slen) 170 (unsigned int)num+i*2); 172 sp=OPENSSL_realloc_clean(s,slen,num+i*2); 180 slen=num+i*2; 198 s[num+j]<<=4; 199 s[num+j]|=m; 202 num+=i; 208 bs->length=num;
|
/external/chromium_org/tools/traceline/traceline/scripts/ |
heap.js | 7 function toHex(num) { 10 while (num != 0) { 11 str = table.charAt(num & 0xf) + str; 12 num >>= 4; 31 function(num, data) { 32 if (num < this.min) 35 this.sorted.push([num, data]);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
Vector.h | 163 virtual void do_construct(void* storage, size_t num) const; 164 virtual void do_destroy(void* storage, size_t num) const; 165 virtual void do_copy(void* dest, const void* from, size_t num) const; 166 virtual void do_splat(void* dest, const void* item, size_t num) const; 167 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 168 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 318 void Vector<TYPE>::do_construct(void* storage, size_t num) const { 319 construct_type( reinterpret_cast<TYPE*>(storage), num ); local 323 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { 324 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local 329 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 334 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local 339 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 344 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local [all...] |
/external/aac/libSBRenc/src/ |
sbr_misc.cpp | 238 return: num*scale/denom 241 FIXP_DBL FDKsbrEnc_LSI_divide_scale_fract(FIXP_DBL num, FIXP_DBL denom, FIXP_DBL scale) 244 if (num != FL2FXCONST_DBL(0.0f)) { 247 INT shiftNum = CountLeadingBits(num); 251 num = num << shiftNum; 254 tmp = fMultDiv2(num,scale);
|
/external/lldb/test/python_api/lldbutil/iter/ |
TestRegistersIterator.py | 53 num = len(REGs) 55 print "\nNumber of general purpose registers: %d" % num 62 num = len(REGs) 64 print "\nNumber of floating point registers: %d" % num 71 num = len(REGs) 73 print "\nNumber of exception state registers: %d" % num
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
opj_malloc.h | 76 @param num Blocks to allocate 85 #define opj_calloc(num, size) ((size_t)(num) != 0 && (size_t)(num) >= (size_t)-0x100 / (size_t)(size) ? NULL : calloc(num, size)) 87 #define opj_calloc(num, size) calloc(num, size)
|
/external/qemu/target-i386/ |
int_helper.c | 46 unsigned int num, den, q, r; local 48 num = (EAX & 0xffff); 53 q = (num / den); 57 r = (num % den) & 0xff; 63 int num, den, q, r; local 65 num = (int16_t)EAX; 70 q = (num / den); 74 r = (num % den) & 0xff; 80 unsigned int num, den, q, r; local 82 num = (EAX & 0xffff) | ((EDX & 0xffff) << 16) 98 int num, den, q, r; local 117 uint64_t num, q; local 135 int64_t num, q; local [all...] |
/external/valgrind/main/none/tests/s390x/ |
tcxb.c | 5 static int tcxb(long double f, long long num) 13 : "f" (f), "a" (num) 18 static int tcdb(double f, long long num) 26 : "f" (f), "a" (num) 31 static int tceb(float f, long long num) 39 : "f" (f), "a" (num)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/sys/ |
quota.h | 53 #define dbtob(num) ((num) << 10) 54 #define btodb(num) ((num) >> 10) 60 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / BLOCK_SIZE)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
quota.h | 53 #define dbtob(num) ((num) << 10) 54 #define btodb(num) ((num) >> 10) 60 #define fs_to_dq_blocks(num, blksize) (((num) * (blksize)) / BLOCK_SIZE)
|
/external/aac/libSYS/include/ |
genericStds.h | 160 #define C_ALLOC_MEM(name,type,num) \ 161 type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type))); } \ 163 UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type)); } 166 #define C_ALLOC_MEM_STATIC(name,type,num) \ 167 static type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type))); } \ 169 static UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type)); } 178 #define C_AALLOC_MEM(name,type,num) \ 179 type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKaalloc((num)*sizeof(type), ALIGNMENT_DEFAULT)); } \ 181 UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type) + ALIGNMENT_DEFAULT + sizeof(void *)); } 190 #define C_ALLOC_MEM_L(name,type,num,s) [all...] |
/external/aac/libFDK/include/ |
fixpoint_math.h | 187 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) 192 : "%d" (tmp), "d" (denum) , "d" (num) 201 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) 206 "div %[result], %[num], %[tmp]\n" 208 : [denum]"r"(denum), [num]"r"(num) 217 inline FIXP_DBL schur_div(FIXP_DBL num, FIXP_DBL denum, INT count) 220 FDK_ASSERT (num>=(FIXP_DBL)0); 222 FDK_ASSERT (num <= denum); 227 while (num > tmp [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bc-incbin.c | 136 /*@dependent@*/ /*@null@*/ const yasm_intnum *num; local 141 num = yasm_expr_get_intnum(&incbin->start, 0); 142 if (num) 143 start = yasm_intnum_get_uint(num); 144 if (!num) { 154 num = yasm_expr_get_intnum(&incbin->maxlen, 0); 155 if (num) 156 maxlen = yasm_intnum_get_uint(num); 157 if (!num) { 205 /*@dependent@*/ /*@null@*/ const yasm_intnum *num; local [all...] |
/external/openssl/crypto/bn/asm/ |
ppc64-mont.pl | 107 $num="r8"; 170 # | __int64 tmp[num] | 174 # +(num+1)*8 +-------------------------------+ 178 # | double nap_d[4*num] | 202 cmpwi $num,`3*8/$SIZE_T` 206 andi. r0,$num,`16/$SIZE_T-1` ; $num has to be "even" 209 slwi $num,$num,`log($SIZE_T)/log(2)` ; num*=sizeof(BN_LONG [all...] |
/external/openssl/crypto/bn/ |
bn_print.c | 105 int i=0,num, ok = 0; local 112 * num <= (BN_num_bits(a) + 1) * log(2) 117 num=(i/10+i/1000+1)+1; 118 bn_data=(BN_ULONG *)OPENSSL_malloc((num/BN_DEC_NUM+1)*sizeof(BN_ULONG)); 119 buf=(char *)OPENSSL_malloc(num+3); 127 #define BUF_REMAIN (num+3 - (size_t)(p - buf)) 177 int num; local 186 num=i+neg; 187 if (bn == NULL) return(num); 233 return(num); 244 int num; local [all...] |
/external/openssl/crypto/engine/ |
eng_ctrl.c | 87 static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num) 92 while(!int_ctrl_cmd_is_null(defn) && (defn->cmd_num < num)) 97 if(defn->cmd_num == num) 254 int num; local 262 if((e->ctrl == NULL) || ((num = ENGINE_ctrl(e, 283 if (ENGINE_ctrl(e, num, i, p, f) > 0) 291 int num, flags; local 300 if((e->ctrl == NULL) || ((num = ENGINE_ctrl(e, 319 if(!ENGINE_cmd_is_executable(e, num)) 325 if((flags = ENGINE_ctrl(e, ENGINE_CTRL_GET_CMD_FLAGS, num, NULL, NULL)) < 0 [all...] |
/system/security/keystore-engine/ |
rsa_meth.cpp | 48 int num = RSA_size(rsa); local 49 UniquePtr<uint8_t> padded(new uint8_t[num]); 57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) { 62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) { 67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) { 94 num, &reply, &replyLen); 135 int num = RSA_size(rsa); local 164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num); 167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num) [all...] |
/external/chromium_org/third_party/libxslt/libexslt/ |
math.c | 476 int num; local 478 num = rand(); 479 ret = (double)num / (double)RAND_MAX; 510 * @num: a double 515 * Returns the absolute value of the argument, or xmlXPathNAN if @num is Nan. 518 exsltMathAbs (double num) { 521 if (xmlXPathIsNaN(num)) 523 ret = fabs(num); 553 * @num: a double 558 * Returns the square root of the argument, or xmlXPathNAN if @num is Nan [all...] |