Searched refs:fileLength (Results 1 – 5 of 5) sorted by relevance
/external/oprofile/libpopt/ |
D | poptconfig.c | 102 off_t fileLength; in poptReadConfigFile() local 108 fileLength = lseek(fd, 0, SEEK_END); in poptReadConfigFile() 109 if (fileLength == -1 || lseek(fd, 0, 0) == -1) { in poptReadConfigFile() 116 file = alloca(fileLength + 1); in poptReadConfigFile() 117 if (read(fd, (char *)file, fileLength) != fileLength) { in poptReadConfigFile() 127 dst = buf = alloca(fileLength + 1); in poptReadConfigFile() 130 end = (file + fileLength); in poptReadConfigFile()
|
/external/icu4c/common/ |
D | umapfile.c | 262 int32_t fileLength; in uprv_mapFile() local 273 fileLength=umap_fsize(file); in uprv_mapFile() 274 if(ferror(file) || fileLength<=20) { in uprv_mapFile() 280 p=uprv_malloc(fileLength); in uprv_mapFile() 287 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
|
/external/icu4c/tools/toolutil/ |
D | unewdata.c | 115 uint32_t fileLength=0; in udata_finish() local 124 fileLength=T_FileStream_size(pData->file); in udata_finish() 128 fileLength-=pData->headerSize; in udata_finish() 135 return fileLength; in udata_finish()
|
D | package.cpp | 307 int32_t fileLength, typeEnum; in readFile() local 319 fileLength=getFileLength(file); in readFile() 320 if(ferror(file) || fileLength<=0) { in readFile() 327 length=(fileLength+0xf)&~0xf; in readFile() 335 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) { in readFile() 343 if(fileLength<length) { in readFile() 344 memset(data+fileLength, 0xaa, length-fileLength); in readFile() 1066 int32_t fileLength; in extractItem() local 1108 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem() 1110 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
|
D | xmlparser.cpp | 165 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 181 fileLength=bytesLength; in parseFile() 184 fileLength=T_FileStream_size(f); in parseFile() 265 capacity=fileLength; // estimated capacity in parseFile()
|