/external/quake/quake/src/WinQuake/ |
H A D | wad.cpp | 134 void *W_GetLumpNum (int num) argument 138 if (num < 0 || num > wad_numlumps) 139 Sys_Error ("W_GetLumpNum: bad number: %i", num); 141 lump = wad_lumps + num;
|
H A D | sbar.cpp | 27 #define STAT_MINUS 10 // num frame for '-' stats digit 288 void Sbar_DrawCharacter (int x, int y, int num) argument 291 Draw_Character ( x /*+ ((vid.width - 320)>>1) */ + 4 , y + vid.height-SBAR_HEIGHT, num); 293 Draw_Character ( x + ((vid.width - 320)>>1) + 4 , y + vid.height-SBAR_HEIGHT, num); 314 int Sbar_itoa (int num, char *buf) argument 322 if (num < 0) 325 num = -num; 328 for (pow10 = 10 ; num >= pow10 ; pow10 *= 10) 334 dig = num/pow1 350 Sbar_DrawNum(int x, int y, int num, int digits, int color) argument 549 char num[6]; local 772 char num[12]; local 841 char num[12]; local 1058 Sbar_IntermissionNumber(int x, int y, int num, int digits, int color) argument 1096 char num[12]; local 1177 char num[12]; local 1277 int num; local [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_asm.c | 71 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) argument 75 assert(num >= 0); 76 if (num <= 0) return(c1); 79 while (num&~3) 85 ap+=4; rp+=4; num-=4; 88 while (num) 91 ap++; rp++; num--; 97 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) argument 101 assert(num >= 0); 102 if (num < 146 bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) argument 175 bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) argument 847 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0p, int num) argument 941 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num) argument 986 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0p, int num) argument 1025 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num) argument [all...] |
H A D | 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/bn/asm/ |
H A D | s390x-mont.pl | 63 $num="%r1"; 71 #$num="160(%r15)" # int num); 90 lgf $num,`$stdframe+$SIZE_T-4`($sp) # pull $num 91 sla $num,`log($SIZE_T)/log(2)` # $num to enumerate bytes 92 la $bp,0($num,$bp) 96 cghi $num,16 # 98 blr %r14 # if($num<1 [all...] |
/external/astl/include/ |
H A D | algorithm | 194 template<typename _T> static _T *fill_n(_T *begin, size_t num, 197 for (size_t i = 0; i < num; ++i, ++begin) 207 template<typename _T> static _T *fill_n(_T *begin, size_t num, 212 for (size_t i = 0; i < num; ++i, ++begin) 228 inline unsigned char *fill_n(unsigned char *begin, size_t num, 232 std::memset(begin, tmp, num); 233 return begin + num; 236 inline signed char *fill_n(signed char *begin, size_t num, 240 std::memset(begin, tmp, num); 241 return begin + num; [all...] |
/external/openssl/crypto/bio/ |
H A D | bss_conn.c | 92 /* int socket; this will be kept in bio->num so that it is 101 static int conn_write(BIO *h, const char *buf, int num); 221 b->num=ret; 228 if (!BIO_socket_nbio(b->num,1)) 241 i=setsockopt(b->num,SOL_SOCKET,SO_KEEPALIVE,(char *)&i,sizeof(i)); 255 ret=connect(b->num, 282 i=BIO_sock_error(b->num); 361 bi->num=INVALID_SOCKET; 374 if (bio->num != INVALID_SOCKET) 378 shutdown(bio->num, 452 conn_ctrl(BIO *b, int cmd, long num, void *ptr) argument [all...] |
H A D | bss_dgram.c | 90 static int dgram_write(BIO *h, const char *buf, int num); 99 static int dgram_sctp_write(BIO *h, const char *buf, int num); 214 bi->num=0; 246 SHUTDOWN2(a->num); 268 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 277 if ( getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 311 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 315 if ( setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, &timeleft, 335 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, 339 if ( setsockopt(b->num, SOL_SOCKE 442 dgram_ctrl(BIO *b, int cmd, long num, void *ptr) argument 1297 dgram_sctp_ctrl(BIO *b, int cmd, long num, void *ptr) argument [all...] |
H A D | 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,
|
/external/quake/quake/src/QW/client/ |
H A D | sbar.c | 27 #define STAT_MINUS 10 // num frame for '-' stats digit 267 void Sbar_DrawCharacter (int x, int y, int num) argument 269 Draw_Character ( x /*+ ((vid.width - 320)>>1) */ + 4, y + vid.height-SBAR_HEIGHT, num); 287 int Sbar_itoa (int num, char *buf) argument 295 if (num < 0) 298 num = -num; 301 for (pow10 = 10 ; num >= pow10 ; pow10 *= 10) 307 dig = num/pow10; 309 num 323 Sbar_DrawNum(int x, int y, int num, int digits, int color) argument 503 char num[6]; local 613 char num[12]; local 864 Sbar_IntermissionNumber(int x, int y, int num, int digits, int color) argument 903 char num[12]; local 997 char num[12]; local 1163 char num[12]; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_printf.cc | 36 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, argument 45 num_buffer[pos++] = num % base; 46 num /= base; 47 } while (num > 0); 58 static int AppendSignedDecimal(char **buff, const char *buff_end, s64 num) { 60 if (num < 0) { 62 num = -num; 64 result += AppendUnsigned(buff, buff_end, (u64)num, 10, 0);
|
/external/openssl/crypto/asn1/ |
H A D | evp_asn1.c | 78 int ret,num; local 89 num=ret; 91 num=max_len; 92 memcpy(data,p,num); 96 int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data, argument 110 ASN1_INTEGER_set(&in,num); 135 /* we return the actual length..., num may be missing, in which 138 int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num, unsigned char *data, argument 169 if (num != NULL) 170 *num [all...] |
H A D | 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/aac/libSBRenc/src/ |
H A D | 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) argument 244 if (num != FL2FXCONST_DBL(0.0f)) { 247 INT shiftNum = CountLeadingBits(num); 251 num = num << shiftNum; 254 tmp = fMultDiv2(num,scale);
|
/external/chromium/base/ |
H A D | version.cc | 86 int num; local 87 if (!base::StringToInt(*i, &num)) 89 if (num < 0) 92 if (num > max) 95 if (base::IntToString(num) != *i) 97 uint16 component = static_cast<uint16>(num);
|
/external/valgrind/main/none/tests/s390x/ |
H A D | tcxb.c | 5 static int tcxb(long double f, long long num) argument 13 : "f" (f), "a" (num) 18 static int tcdb(double f, long long num) argument 26 : "f" (f), "a" (num) 31 static int tceb(float f, long long num) argument 39 : "f" (f), "a" (num)
|
/external/aac/libSYS/include/ |
H A D | genericStds.h | 163 #define C_ALLOC_MEM(name,type,num) \ 164 type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type))); } \ 166 UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type)); } 169 #define C_ALLOC_MEM_STATIC(name,type,num) \ 170 static type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKcalloc(num, sizeof(type))); } \ 172 static UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type)); } 181 #define C_AALLOC_MEM(name,type,num) \ 182 type * Get ## name(int n) { FDK_ASSERT((n) == 0); return ((type*)FDKaalloc((num)*sizeof(type), ALIGNMENT_DEFAULT)); } \ 184 UINT GetRequiredMem ## name(void) { return ALGN_SIZE_EXTRES((num) * sizeof(type) + ALIGNMENT_DEFAULT + sizeof(void *)); } 193 #define C_ALLOC_MEM_L(name,type,num, [all...] |
/external/aac/libFDK/include/ |
H A D | fixpoint_math.h | 187 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) argument 192 : "%d" (tmp), "d" (denum) , "d" (num) 201 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) argument 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) argument 220 FDK_ASSERT (num>=(FIXP_DBL)0); 222 FDK_ASSERT (num <= denum); 227 while (num > tm [all...] |
/external/openssl/crypto/engine/ |
H A D | eng_ctrl.c | 87 static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num) argument 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, NUL [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/webNavigation/basic/ |
H A D | navigation_collector.js | 280 sendResponse({result: this.getMostRequestedUrls(request.num)}); 308 * @param {number=} num The number of successful navigation requests to 314 getMostRequestedUrls: function(num) { 315 return this.getMostFrequentUrls_(this.completed, num); 322 * @param {number=} num The number of unsuccessful navigation requests to 329 getMostErroredUrls: function(num) { 330 return this.getMostErroredUrls_(this.errored, num); 338 * @param {number=} num The number of navigation requests to return. If 345 getMostFrequentUrls_: function(list, num) { 369 return num [all...] |
/external/dropbear/ |
H A D | scpmisc.c | 156 args->num = 0; 157 } else if (args->num+2 >= nalloc) 162 args->list[args->num++] = cp; 163 args->list[args->num] = NULL; 179 if (which >= args->num) 181 which, args->num); 192 for (i = 0; i < args->num; i++) 195 args->nalloc = args->num = 0;
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | bitmaps.c | 150 ext2_ino_t start, unsigned int num, 155 start, num, in)); 159 ext2_ino_t start, unsigned int num, 164 start, num, out)); 168 blk_t start, unsigned int num, 173 start, num, in)); 177 blk_t start, unsigned int num, 182 start, num, out)); 149 ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *in) argument 158 ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *out) argument 167 ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *in) argument 176 ext2fs_get_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *out) argument
|
/external/kernel-headers/original/sound/ |
H A D | tlv.h | 71 #define TLV_DB_RANGE_HEAD(num) \ 72 SNDRV_CTL_TLVT_DB_RANGE, 6 * (num) * sizeof(unsigned int)
|
/external/openssl/apps/ |
H A D | rand.c | 73 * num - write 'num' bytes 87 int num = -1; local 144 if (num < 0) 146 r = sscanf(argv[i], "%d", &num); 147 if (r == 0 || num < 0) 160 if (num < 0) 165 BIO_printf(bio_err, "Usage: rand [options] num\n"); 212 while (num > 0) 217 chunk = num; [all...] |
/external/openssl/crypto/rand/ |
H A D | rand_lib.c | 146 void RAND_seed(const void *buf, int num) argument 150 meth->seed(buf,num); 153 void RAND_add(const void *buf, int num, double entropy) argument 157 meth->add(buf,num,entropy); 160 int RAND_bytes(unsigned char *buf, int num) argument 164 return meth->bytes(buf,num); 168 int RAND_pseudo_bytes(unsigned char *buf, int num) argument 172 return meth->pseudorand(buf,num);
|