Searched refs:num (Results 201 - 225 of 1985) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Daddressmap-inl.h254 // Allocates a zeroed array of T with length "num". Also inserts
257 template <class T> T* New(int num) { argument
258 void* ptr = (*alloc_)(sizeof(Object) + num*sizeof(T));
259 memset(ptr, 0, sizeof(Object) + num*sizeof(T));
295 const Number num = reinterpret_cast<Number>(key); local
296 const Cluster* const c = FindCluster(num, false/*do not create*/);
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) {
309 const Number num = reinterpret_cast<Number>(key); local
310 Cluster* const c = FindCluster(num, true/*create*/);
313 const int block = BlockID(num);
341 const Number num = reinterpret_cast<Number>(key); local
364 Number num = key_num; // we'll move this to move back through the clusters local
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Daddressmap-inl.h254 // Allocates a zeroed array of T with length "num". Also inserts
257 template <class T> T* New(int num) { argument
258 void* ptr = (*alloc_)(sizeof(Object) + num*sizeof(T));
259 memset(ptr, 0, sizeof(Object) + num*sizeof(T));
295 const Number num = reinterpret_cast<Number>(key); local
296 const Cluster* const c = FindCluster(num, false/*do not create*/);
298 for (Entry* e = c->blocks[BlockID(num)]; e != NULL; e = e->next) {
309 const Number num = reinterpret_cast<Number>(key); local
310 Cluster* const c = FindCluster(num, true/*create*/);
313 const int block = BlockID(num);
341 const Number num = reinterpret_cast<Number>(key); local
364 Number num = key_num; // we'll move this to move back through the clusters local
[all...]
/external/openssl/crypto/bio/
H A Dbf_lbuf.c65 static int linebuffer_write(BIO *h, const char *buf,int num);
150 int i,num=0,foundnl; local
189 num += p - in;
199 num += i;
216 if (i < 0) return((num > 0)?num:i);
217 if (i == 0) return(num);
242 if (i < 0) return((num > 0)?num:i);
243 if (i == 0) return(num);
266 linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) argument
[all...]
H A Dbss_file.c98 static int MS_CALLBACK file_write(BIO *h, const char *buf, int num);
208 bi->num=0;
273 static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr) argument
285 ret=(long)UP_fseek(b->ptr,num,0);
287 ret=(long)fseek(fp,num,0);
304 b->shutdown=(int)num&BIO_CLOSE;
320 UP_fsetmod(b->ptr,(char)((num&BIO_FP_TEXT)?'t':'b'));
326 if (num & BIO_FP_TEXT)
333 if (num & BIO_FP_TEXT)
340 if (num
[all...]
/external/openssl/crypto/evp/
H A Dencode.c127 ctx->num=0;
140 if ((ctx->num+inl) < ctx->length)
142 memcpy(&(ctx->enc_data[ctx->num]),in,inl);
143 ctx->num+=inl;
146 if (ctx->num != 0)
148 i=ctx->length-ctx->num;
149 memcpy(&(ctx->enc_data[ctx->num]),in,i);
153 ctx->num=0;
171 ctx->num=inl;
179 if (ctx->num !
419 int i,num=0,bad=0; local
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
H A Dbss_file.c98 static int MS_CALLBACK file_write(BIO *h, const char *buf, int num);
208 bi->num=0;
273 static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr) argument
285 ret=(long)UP_fseek(b->ptr,num,0);
287 ret=(long)fseek(fp,num,0);
304 b->shutdown=(int)num&BIO_CLOSE;
320 UP_fsetmod(b->ptr,(char)((num&BIO_FP_TEXT)?'t':'b'));
326 if (num & BIO_FP_TEXT)
333 if (num & BIO_FP_TEXT)
340 if (num
[all...]
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dlogging.cc16 void AppendNumberTo(std::string* str, uint64_t num) { argument
18 snprintf(buf, sizeof(buf), "%llu", (unsigned long long) num);
36 std::string NumberToString(uint64_t num) { argument
38 AppendNumberTo(&r, num);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_prob.h54 static INLINE vp9_prob get_prob(int num, int den) { argument
55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
58 static INLINE vp9_prob get_prob(int num, int den) { argument
59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c155 unsigned num,
162 assert(start + num <= PIPE_MAX_SAMPLERS);
169 if (start + num <= svga->curr.num_samplers &&
170 !memcmp(svga->curr.sampler + start, samplers, num * sizeof(void *))) {
175 for (i = 0; i < num; i++)
180 unsigned j = MAX2(svga->curr.num_samplers, start + num);
192 unsigned num, void **sampler)
194 svga_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, sampler);
236 unsigned num,
245 assert(start + num <
152 svga_bind_sampler_states(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned num, void **samplers) argument
191 svga_bind_fragment_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument
233 svga_set_sampler_views(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned num, struct pipe_sampler_view **views) argument
301 svga_set_fragment_sampler_views(struct pipe_context *pipe, unsigned num, struct pipe_sampler_view **views) argument
[all...]
/external/chromium_org/tools/traceline/traceline/scripts/
H A Dcrit_sec.js7 function toHex(num) {
10 while (num != 0) {
11 str = table.charAt(num & 0xf) + str;
12 num >>= 4;
/external/e2fsprogs/lib/ext2fs/
H A Dbitmaps.c246 ext2_ino_t start, unsigned int num,
251 start, num, in));
255 __u64 start, size_t num,
258 return (ext2fs_set_generic_bmap_range(bmap, start, num, in));
262 ext2_ino_t start, unsigned int num,
267 start, num, out));
271 __u64 start, size_t num,
274 return (ext2fs_get_generic_bmap_range(bmap, start, num, out));
278 blk_t start, unsigned int num,
283 start, num, i
245 ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *in) argument
254 ext2fs_set_inode_bitmap_range2(ext2fs_inode_bitmap bmap, __u64 start, size_t num, void *in) argument
261 ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *out) argument
270 ext2fs_get_inode_bitmap_range2(ext2fs_inode_bitmap bmap, __u64 start, size_t num, void *out) argument
277 ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *in) argument
286 ext2fs_set_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t start, size_t num, void *in) argument
293 ext2fs_get_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *out) argument
302 ext2fs_get_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t start, size_t num, void *out) argument
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_prob.h54 static INLINE vp9_prob get_prob(int num, int den) { argument
55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
58 static INLINE vp9_prob get_prob(int num, int den) { argument
59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dpmu-bison.h57 unsigned long num; member in union:YYSTYPE
/external/llvm/include/llvm/Support/
H A DPluginLoader.h26 static std::string& getPlugin(unsigned num);
/external/lzma/CPP/7zip/UI/Console/
H A DPercentPrinter.cpp14 static void ClearPrev(char *p, int num) argument
17 for (i = 0; i < num; i++) *p++ = '\b';
18 for (i = 0; i < num; i++) *p++ = ' ';
19 for (i = 0; i < num; i++) *p++ = '\b';
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c155 unsigned num,
162 assert(start + num <= PIPE_MAX_SAMPLERS);
169 if (start + num <= svga->curr.num_samplers &&
170 !memcmp(svga->curr.sampler + start, samplers, num * sizeof(void *))) {
175 for (i = 0; i < num; i++)
180 unsigned j = MAX2(svga->curr.num_samplers, start + num);
192 unsigned num, void **sampler)
194 svga_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, sampler);
236 unsigned num,
245 assert(start + num <
152 svga_bind_sampler_states(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned num, void **samplers) argument
191 svga_bind_fragment_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument
233 svga_set_sampler_views(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned num, struct pipe_sampler_view **views) argument
301 svga_set_fragment_sampler_views(struct pipe_context *pipe, unsigned num, struct pipe_sampler_view **views) argument
[all...]
/external/srec/srec/include/
H A Dfft.h40 int place_sample_data(fft_info *fft, fftdata *seq, fftdata *smooth, int num);
/external/chromium_org/v8/test/mjsunit/
H A Dstring-fromcharcode.js61 function test(num) {
88 var receiver = (num < 5) ? String : (num < 9) ? "dummy" : 42;
89 fcc2 = (num < 5) ? fcc
90 : (num < 9) ? constFun(Object("dummy"))
92 var expected = (num < 5) ? " " : (num < 9) ? Object("dummy") : Object(42);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/
H A Dgen_xmlpool.py47 num = 0
60 num = num * 16 + int(s[i],16)
67 r = r + chr(num)
70 num = num * 8 + int(s[i],8)
77 r = r + chr(num)
84 num = int(s[i],8)
85 if num <= 3:
91 num
[all...]
/external/e2fsprogs/ext2ed/
H A Dblockbitmap_com.c118 long entry_num,num=1; local
124 num=atol (buffer);
129 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) {
134 while (num) { /* And call allocate_block */
136 num--;entry_num++;
147 long entry_num,num=1; local
153 num=atol (buffer);
157 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) {
162 while (num) {
164 num
[all...]
H A Dinodebitmap_com.c83 long entry_num,num=1; local
89 num=atol (buffer);
93 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) {
98 while (num) {
100 num--;entry_num++;
109 long entry_num,num=1; local
115 num=atol (buffer);
119 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) {
124 while (num) {
126 num
[all...]
/external/elfutils/0.153/libelf/
H A Delf_getshdrstrndx.c102 Elf32_Word num; local
104 num = (elf->class == ELFCLASS32
110 if (unlikely (num == SHN_XINDEX))
119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
131 num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_link;
150 num = shdr_mem.sh_link;
157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
169 num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_link;
188 num = shdr_mem.sh_link;
195 *dst = num;
[all...]
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
H A Dgen_xmlpool.py47 num = 0
60 num = num * 16 + int(s[i],16)
67 r = r + chr(num)
70 num = num * 8 + int(s[i],8)
77 r = r + chr(num)
84 num = int(s[i],8)
85 if num <= 3:
91 num
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/aes/
H A Daes.h110 unsigned char *ivec, int *num, const int enc);
113 unsigned char *ivec, int *num, const int enc);
116 unsigned char *ivec, int *num, const int enc);
119 unsigned char *ivec, int *num);
124 unsigned int *num);
/external/chromium_org/third_party/openssl/openssl/include/openssl/
H A Daes.h110 unsigned char *ivec, int *num, const int enc);
113 unsigned char *ivec, int *num, const int enc);
116 unsigned char *ivec, int *num, const int enc);
119 unsigned char *ivec, int *num);
124 unsigned int *num);

Completed in 910 milliseconds

1234567891011>>