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

/macosx-10.9.5/rsync-42/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.9.5/ICU-511.35/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.c231 int32_t fileLength; local
242 fileLength=umap_fsize(file);
243 if(ferror(file) || fileLength<=20) {
249 p=uprv_malloc(fileLength);
256 if(fileLength!=fread(p, 1, fileLength, file)) {
/macosx-10.9.5/ICU-511.35/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);
1079 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.9.5/WebCore-7537.78.1/platform/network/
H A DFormData.h41 FormDataElement(const String& filename, long long fileStart, long long fileLength, double expectedFileModificationTime, bool shouldGenerateFile) : m_type(encodedFile), m_filename(filename), m_fileStart(fileStart), m_fileLength(fileLength), m_expectedFileModificationTime(expectedFileModificationTime), m_shouldGenerateFile(shouldGenerateFile) { } argument
H A DFormData.cpp509 int64_t fileLength;
510 if (!decoder.decodeInt64(fileLength))
512 if (fileLength != BlobDataItem::toEndOfFile && fileLength < fileStart)
527 element.m_fileLength = fileLength;
/macosx-10.9.5/Security-55471.14.18/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.9.5/kext_tools-326.95.1/
H A Dmkextunpack_main.c87 size_t fileLength);
1227 size_t fileLength)
1291 while (bytesWritten < fileLength) {
1294 fileLength - bytesWritten);
1222 writeFileInDirectory( const char * basePath, char * subPath, const char * fileName, const char * fileData, size_t fileLength) argument
/macosx-10.9.5/dyld-239.4/src/
H A Ddyld.cpp2292 uint64_t fileLength = stat_buf.st_size; local
2302 if ( fileLength < 4096 ) {
2303 if ( pread(fd, firstPage, fileLength, 0) != (ssize_t)fileLength )
2315 if ( fatFindBest(fileStartAsFat, &fileOffset, &fileLength) ) {
2316 if ( (fileOffset+fileLength) > (uint64_t)(stat_buf.st_size) )
2317 throwf("truncated fat file. file length=%llu, but needed slice goes to %llu", stat_buf.st_size, fileOffset+fileLength);
2342 ImageLoader* image = ImageLoaderMachO::instantiateFromFile(path, fd, firstPage, fileOffset, fileLength, stat_buf, gLinkContext);
3397 uint64_t fileLength = len; local
3399 if ( fatFindBest(memStartAsFat, &fileOffset, &fileLength) ) {
3858 uint64_t fileLength; local
4211 uint64_t fileLength = sb.st_size; local
[all...]
/macosx-10.9.5/CF-855.17/
H A DCFBundle.c2088 off_t fileLength = 0; local
2096 fileLength = statBuf.st_size;
2099 fileLength = length;
2101 if (fileLength > offset + sizeof(struct mach_header_64)) {
2108 if (endofcmds > loc + fileLength) endofcmds = loc + fileLength;
2120 if (sectlength64 <= 0xffffffff && loc <= sectbytes && sectbytes + sectlength <= loc + fileLength) result = (CFDictionaryRef)_CFBundleCreateInfoDictFromData(sectbytes, sectlength);
2134 if (endofcmds > loc + fileLength) endofcmds = loc + fileLength;
2144 if (loc <= sectbytes && sectbytes + sectlength <= loc + fileLength) resul
2407 _CFBundleGrokFileTypeForZipFile(int fd, const unsigned char *bytes, CFIndex length, off_t fileLength) argument
2542 off_t fileLength = 0; local
[all...]

Completed in 106 milliseconds