Home
last modified time | relevance | path

Searched refs:fileLength (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dumapfile.cpp288 int32_t fileLength; in uprv_mapFile() local
303 fileLength=umap_fsize(file); in uprv_mapFile()
304 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
310 p=uprv_malloc(fileLength); in uprv_mapFile()
318 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/third_party/node/deps/icu-small/source/common/
Dumapfile.cpp290 int32_t fileLength; in uprv_mapFile() local
305 fileLength=umap_fsize(file); in uprv_mapFile()
306 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
312 p=uprv_malloc(fileLength); in uprv_mapFile()
320 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/third_party/skia/third_party/externals/icu/source/common/
Dumapfile.cpp290 int32_t fileLength; in uprv_mapFile() local
305 fileLength=umap_fsize(file); in uprv_mapFile()
306 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
312 p=uprv_malloc(fileLength); in uprv_mapFile()
320 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/third_party/icu/icu4c/source/common/
Dumapfile.cpp290 int32_t fileLength; in uprv_mapFile() local
305 fileLength=umap_fsize(file); in uprv_mapFile()
306 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
312 p=uprv_malloc(fileLength); in uprv_mapFile()
320 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/third_party/icu/icu4c/source/tools/toolutil/
Dunewdata.cpp155 uint32_t fileLength=0; in udata_finish() local
164 fileLength=T_FileStream_size(pData->file); in udata_finish()
168 fileLength-=pData->headerSize; in udata_finish()
175 return fileLength; in udata_finish()
Dpackage.cpp310 int32_t fileLength, typeEnum; in readFile() local
322 fileLength=getFileLength(file); in readFile()
323 if(ferror(file) || fileLength<=0) { in readFile()
330 length=(fileLength+0xf)&~0xf; in readFile()
339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile()
346 if(fileLength<length) { in readFile()
347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile()
1132 int32_t fileLength; in extractItem() local
1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
Dxmlparser.cpp172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
188 fileLength=bytesLength; in parseFile()
191 fileLength=T_FileStream_size(f); in parseFile()
272 capacity=fileLength; // estimated capacity in parseFile()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dunewdata.cpp155 uint32_t fileLength=0; in udata_finish() local
164 fileLength=T_FileStream_size(pData->file); in udata_finish()
168 fileLength-=pData->headerSize; in udata_finish()
175 return fileLength; in udata_finish()
Dpackage.cpp310 int32_t fileLength, typeEnum; in readFile() local
322 fileLength=getFileLength(file); in readFile()
323 if(ferror(file) || fileLength<=0) { in readFile()
330 length=(fileLength+0xf)&~0xf; in readFile()
339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile()
346 if(fileLength<length) { in readFile()
347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile()
1132 int32_t fileLength; in extractItem() local
1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
Dxmlparser.cpp172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
188 fileLength=bytesLength; in parseFile()
191 fileLength=T_FileStream_size(f); in parseFile()
272 capacity=fileLength; // estimated capacity in parseFile()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dunewdata.cpp145 uint32_t fileLength=0; in udata_finish() local
154 fileLength=T_FileStream_size(pData->file); in udata_finish()
158 fileLength-=pData->headerSize; in udata_finish()
165 return fileLength; in udata_finish()
Dpackage.cpp310 int32_t fileLength, typeEnum; in readFile() local
322 fileLength=getFileLength(file); in readFile()
323 if(ferror(file) || fileLength<=0) { in readFile()
330 length=(fileLength+0xf)&~0xf; in readFile()
339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile()
346 if(fileLength<length) { in readFile()
347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile()
1132 int32_t fileLength; in extractItem() local
1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
Dxmlparser.cpp172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
188 fileLength=bytesLength; in parseFile()
191 fileLength=T_FileStream_size(f); in parseFile()
272 capacity=fileLength; // estimated capacity in parseFile()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dunewdata.cpp155 uint32_t fileLength=0; in udata_finish() local
164 fileLength=T_FileStream_size(pData->file); in udata_finish()
168 fileLength-=pData->headerSize; in udata_finish()
175 return fileLength; in udata_finish()
Dpackage.cpp310 int32_t fileLength, typeEnum; in readFile() local
322 fileLength=getFileLength(file); in readFile()
323 if(ferror(file) || fileLength<=0) { in readFile()
330 length=(fileLength+0xf)&~0xf; in readFile()
339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile()
346 if(fileLength<length) { in readFile()
347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile()
1132 int32_t fileLength; in extractItem() local
1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
Dxmlparser.cpp172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
188 fileLength=bytesLength; in parseFile()
191 fileLength=T_FileStream_size(f); in parseFile()
272 capacity=fileLength; // estimated capacity in parseFile()