Searched refs:fileLength (Results 1 - 13 of 13) sorted by relevance

/macosx-10.10.1/rsync-45/rsync/popt/
H A Dpoptconfig.c99 off_t fileLength; local
105 fileLength = lseek(fd, 0, SEEK_END);
106 if (fileLength == -1 || lseek(fd, 0, 0) == -1) {
115 file = alloca(fileLength + 1);
116 if (read(fd, (char *)file, fileLength) != fileLength) {
127 dst = buf = alloca(fileLength + 1);
130 end = (file + fileLength);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Daaplbfct.cpp68 off_t fileLength;
84 fileLength = lseek(dictFile, 0, SEEK_END);
86 if (fileLength < 0 || fileLength > PTRDIFF_MAX) {
93 dictRawData = (const char *) mmap(0, (size_t) fileLength, PROT_READ, MAP_SHARED, dictFile, 0);
106 encoding = ucnv_detectUnicodeSignature(dictRawData, fileLength, &signatureLength, &status);
113 uint32_t destCap = ucnv_toUChars(conv, NULL, 0, dictRawData, fileLength, &status);
120 (void) ucnv_toUChars(conv, dictBuffer, destCap+1, dictRawData, fileLength, &status);
134 dictDataLength = fileLength/sizeof(UChar);
172 (void) munmap((void *)dictRawData, (size_t) fileLength);
[all...]
H A Dumapfile.c234 int32_t fileLength; local
245 fileLength=umap_fsize(file);
246 if(ferror(file) || fileLength<=20) {
252 p=uprv_malloc(fileLength);
259 if(fileLength!=fread(p, 1, fileLength, file)) {
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dunewdata.c143 uint32_t fileLength=0; local
152 fileLength=T_FileStream_size(pData->file);
156 fileLength-=pData->headerSize;
163 return fileLength;
H A Dpackage.cpp311 int32_t fileLength, typeEnum; local
323 fileLength=getFileLength(file);
324 if(ferror(file) || fileLength<=0) {
331 length=(fileLength+0xf)&~0xf;
340 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
348 if(fileLength<length) {
349 memset(data+fileLength, 0xaa, length-fileLength);
1135 int32_t fileLength; local
[all...]
H A Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; local
186 fileLength=bytesLength;
189 fileLength=T_FileStream_size(f);
270 capacity=fileLength; // estimated capacity
/macosx-10.10.1/WebKit2-7600.1.25/Shared/
H A DSessionState.cpp39 encoder << fileLength; local
66 if (!decoder.decode(result.fileLength))
H A DSessionState.h66 Optional<int64_t> fileLength; member in struct:WebKit::HTTPBody::Element
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebCoreSupport/
H A DSessionStateConversion.cpp55 element.fileLength = formDataElement.m_fileLength;
134 formData->appendFileRange(element.filePath, element.fileStart, element.fileLength.valueOr(BlobDataItem::toEndOfFile), element.expectedFileModificationTime.valueOr(invalidFileTime()));
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/mac/
H A DLegacySessionStateCoding.cpp276 encoder << element.fileLength.valueOr(-1);
779 int64_t fileLength; local
780 decoder >> fileLength; local
781 if (fileLength != -1) {
782 if (fileLength < formDataElement.fileStart)
785 formDataElement.fileLength = fileLength;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_manifest/lib/
H A DManifestInternal.cpp735 void ManifestFileItem::ComputeDigestForAppleDoubleResourceFork (char* name, SHA1Digest &digest, size_t &fileLength) argument
796 fileLength = length;
809 void ManifestFileItem::ComputeDigestForFile (char* name, SHA1Digest &digest, size_t &fileLength, struct stat &st) argument
824 fileLength = (size_t)st.st_size;
/macosx-10.10.1/kext_tools-384.1.4/
H A Dmkextunpack_main.c87 size_t fileLength);
1233 size_t fileLength)
1297 while (bytesWritten < fileLength) {
1300 fileLength - bytesWritten);
1228 writeFileInDirectory( const char * basePath, char * subPath, const char * fileName, const char * fileData, size_t fileLength) argument
/macosx-10.10.1/dyld-353.2.1/src/
H A Ddyld.cpp2403 uint64_t fileLength = stat_buf.st_size; local
2413 if ( fileLength < 4096 ) {
2414 if ( pread(fd, firstPage, fileLength, 0) != (ssize_t)fileLength )
2426 if ( fatFindBest(fileStartAsFat, &fileOffset, &fileLength) ) {
2427 if ( (fileOffset+fileLength) > (uint64_t)(stat_buf.st_size) )
2428 throwf("truncated fat file. file length=%llu, but needed slice goes to %llu", stat_buf.st_size, fileOffset+fileLength);
2460 ImageLoader* image = ImageLoaderMachO::instantiateFromFile(path, fd, firstPage, fileOffset, fileLength, stat_buf, gLinkContext);
3611 uint64_t fileLength = len; local
3613 if ( fatFindBest(memStartAsFat, &fileOffset, &fileLength) ) {
4081 uint64_t fileLength; local
4479 uint64_t fileLength = sb.st_size; local
[all...]

Completed in 135 milliseconds