/external/ltp/testcases/network/tcp_cmds/echo/ |
createfile.c | 22 int fsize; local 27 for (fsize = 0; fsize < BUFSIZ; fsize++) { 28 if ((fsize % 2) == 0) 29 buf[fsize++] = 'U'; 31 buf[fsize++] = '\n'; 34 fsize = strtol(argv[1], NULL, 10); 38 if (fsize >= BUFSIZ) { 39 count = fsize / BUFSIZ [all...] |
/external/syslinux/dos/ |
malloc.c | 42 size_t fsize; local 45 fsize = fp->a.size; 48 if (fsize >= size + 2 * sizeof(struct arena_header)) { 54 nfp->a.size = fsize - size;
|
/external/curl/docs/examples/ |
ftpupload.c | 72 curl_off_t fsize; local 83 fsize = (curl_off_t)file_info.st_size; 85 printf("Local file size: %" CURL_FORMAT_CURL_OFF_T " bytes.\n", fsize); 120 (curl_off_t)fsize);
|
/external/ltp/testcases/kernel/fs/fs-bench/ |
random-del-create.c | 73 int fsize; local
|
/external/ltp/testcases/kernel/mem/mtest06/ |
mmap2.c | 157 unsigned long fsize = 128; local 198 fsize = atoi(optarg); 199 if (fsize == 0) 201 "fsize %lu MB\n", fsize = 128); 218 "\tSize of temp file in MB: %lu\n", exec_time, fsize); 222 if (fsize > avail_memory_mb) { 245 fd = mkfile(fsize); 255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE, 264 memset(memptr, 'A', ((fsize * MB) / sizeof(char))) [all...] |
mmap3.c | 87 int fsize; local 99 if ((fd = mkfile(&fsize)) == -1) 102 addr = SAFE_MMAP(NULL, fsize, PROT_WRITE | PROT_READ, 105 memset(addr, 'A', fsize); 108 tid, addr, fsize/1024, i); 112 SAFE_MUNMAP(addr, fsize);
|
shmat1.c | 94 int fsize; /* size of the file to be created. */ variable 237 fsize = (1 + (int)(1000.0 * rand() / (RAND_MAX + 1.0))) * 4096; 239 if ((shmid = shmget(shmkey, fsize, IPC_CREAT | 0666)) == -1) { 245 STR_SHMAT, pthread_self(), fsize);
|
/external/syslinux/core/mem/ |
malloc.c | 23 size_t fsize; local 27 fsize = ARENA_SIZE_GET(fp->a.attrs); 30 if ( fsize >= size+2*sizeof(struct arena_header) ) { 37 ARENA_SIZE_SET(nfp->a.attrs, fsize-size);
|
/external/syslinux/gpxe/src/core/ |
posix_io.c | 323 ssize_t fsize ( int fd ) { function
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 48 size_t fsize; local 58 fsize = ftell (fp); 61 *calData = (unsigned char *)inv_malloc(fsize); 64 "aborting\n", fsize); 69 *bytesRead = fread(*calData, 1, fsize, fp); 70 if (*bytesRead != fsize) { 72 *bytesRead, fsize);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 48 size_t fsize; local 58 fsize = ftell (fp); 61 *calData = (unsigned char *)inv_malloc(fsize); 64 "aborting\n", fsize); 69 *bytesRead = fread(*calData, 1, fsize, fp); 70 if (*bytesRead != fsize) { 72 *bytesRead, fsize);
|
/system/media/audio_utils/spdif/ |
DTSFrameScanner.cpp | 88 uint32_t fsize = parser.readBits(14); local 104 if (fsize < DTS_MINIMUM_FSIZE) { 105 ALOGE("DTSFrameScanner: ERROR - fsize = %u", fsize); 128 mFrameSizeBytes = fsize + 1;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 111 uptr fsize = internal_filesize(fd); local 112 EXPECT_EQ(len1 + len2, fsize); 118 EXPECT_EQ(fsize, (uptr)st3.st_size);
|
/external/fio/engines/ |
pmemblk.c | 144 * the block size and file size are returned in pbsize and fsize. 189 uint64_t fsize = 0; local 191 pmb_parse_path(pathspec, &path, &bsize, &fsize); 206 (flags & PMB_CREATE) && (0 < fsize) && (0 < bsize)) { 208 pmemblk_create(path, bsize, fsize, 0644); 409 uint64_t fsize = 0; local 417 pmb_parse_path(f->file_name, &path, &bsize, &fsize);
|
/external/libmicrohttpd/src/examples/ |
spdy_fileserver.c | 166 char *fsize; local 204 if(-1 == asprintf(&fsize, "%zd", filesize) 205 || SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_CONTENT_LENGTH,fsize)) 210 free(fsize);
|
/external/ltp/testcases/misc/math/float/ |
thread_code.c | 45 size_t fsize; local 66 fsize = bufstat.st_size; 67 if (!fsize) { 72 while ((buffer = malloc(fsize)) == NULL) { 95 while (read(fd, buffer, fsize) != fsize) { 112 return fsize; 280 size_t fsize, fsize2, fsize3; local 284 fsize = read_file(th_data->th_func.din_fname, (void **)&din); 285 if (fsize == (size_t) 0) [all...] |
/external/syslinux/core/fs/xfs/ |
xfs.c | 98 int fsize; local 134 fsize = XFS_DFORK_SIZE(core, fs, XFS_DATA_FORK); 135 pp = XFS_BMDR_PTR_ADDR(rblock, 1, xfs_bmdr_maxrecs(fsize, 0));
|
xfs_dir2.c | 522 int fsize; local 543 fsize = XFS_DFORK_SIZE(core, fs, XFS_DATA_FORK); 544 pp = XFS_BMDR_PTR_ADDR(rblock, 1, xfs_bmdr_maxrecs(fsize, 0));
|
/system/extras/mmap-perf/ |
mmapPerf.cpp | 17 static size_t fsize = 1024 * (1ull << 20); variable 18 static size_t pagesTotal = fsize / pageSize; 114 FileMap file{"/data/local/tmp/mmap_test", fsize}; 124 FileMap file{"/data/local/tmp/mmap_test", fsize}; 134 FileMap file{"/data/local/tmp/mmap_test", fsize}; 145 FileMap file{"/data/local/tmp/mmap_test", fsize};
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.cc | 253 uptr fsize = internal_filesize(fd); local 254 CHECK_NE(fsize, (uptr)-1); 255 CHECK_GT(fsize, 0); 256 *buff_size = RoundUpTo(fsize, GetPageSizeCached());
|
/external/ltp/testcases/kernel/sched/tool/ |
trace_sched.c | 140 int fsize = -1; /* size of the /proc/<pid>/stat file. */ local 156 if ((fsize = read(fd, fbuff, 512)) == -1) { 163 return atoi(&fbuff[fsize - 2]);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_vce.c | 229 unsigned fsize = pitch * (vpitch + vpitch / 2); local 231 *luma_offset = slot->index * fsize;
|
/system/core/trusty/storage/tests/ |
main.cpp | 1150 storage_off_t fsize = (storage_off_t)(-1); local 1196 storage_off_t fsize = (storage_off_t)(-1); local 1241 storage_off_t fsize = (storage_off_t)(-1); local 1285 storage_off_t fsize = (storage_off_t)(-1); local 1330 storage_off_t fsize = (storage_off_t)(-1); local 1382 storage_off_t fsize = (storage_off_t)(-1); local 1449 storage_off_t fsize = (storage_off_t)(-1); local 1498 storage_off_t fsize = (storage_off_t)(-1); local 1553 storage_off_t fsize = (storage_off_t)(-1); local 1600 storage_off_t fsize = (storage_off_t)(-1); local 1671 storage_off_t fsize = (storage_off_t)(-1); local 1749 storage_off_t fsize = (storage_off_t)(-1); local 1857 storage_off_t fsize = (storage_off_t)(-1); local 2006 storage_off_t fsize = (storage_off_t)(-1); local 2084 storage_off_t fsize = (storage_off_t)(-1); local 2140 storage_off_t fsize = (storage_off_t)(-1); local 2221 storage_off_t fsize = (storage_off_t)(-1); local 2335 storage_off_t fsize = (storage_off_t)(-1); local 2533 storage_off_t fsize = (storage_off_t)(-1); local 2702 storage_off_t fsize = (storage_off_t)(-1); local 2774 storage_off_t fsize = (storage_off_t)(-1); local 2854 storage_off_t fsize = (storage_off_t)(-1); local 2932 storage_off_t fsize = (storage_off_t)(-1); local 2990 storage_off_t fsize = (storage_off_t)(-1); local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
FirmwareVolumeBuffer.c | 587 UINTN fsize;
local 619 fsize = FvBufGetFfsFileSize (fhdr);
620 if (fsize == 0 || (offset + fsize > fvSize)) {
624 offset = offset + fsize;
960 UINTN fsize;
local 987 fsize = FvBufGetFfsFileSize (fhdr);
1014 *Key = *Key + fsize;
1023 *Key = *Key + fsize;
[all...] |
/external/libopus/tests/ |
test_opus_encode.c | 137 int fsize; local 391 fsize=fast_rand()%31; 404 int frame_size=fsizes[db62[fsize]]; 447 fsize=(fsize+1)%36; 448 new_size=fsizes[db62[fsize]];
|