Searched refs:byteCount (Results 1 - 25 of 75) sorted by relevance

123

/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/sha2Time/
H A Dsha2Time.cpp24 unsigned byteCount; local
29 byteCount = atoi(argv[1]);
43 unsigned toMove = byteCount;
71 printf("SHA1: Digest %u bytes : %.2f ms\n", byteCount, timeSpentMs);
80 toMove = byteCount;
97 printf("SHA256: Digest %u bytes : %.2f ms\n", byteCount, timeSpentMs);
106 toMove = byteCount;
123 printf("SHA512: Digest %u bytes : %.2f ms\n", byteCount, timeSpentMs);
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/generic/
H A Drmd128.c49 byte byteCount; /* number of bytes in buffer */ member in struct:ripemd_context
136 ctx->byteCount = 0;
168 ctx->buf [ctx->byteCount] = character;
169 ctx->byteCount ++;
171 if (ctx->byteCount == CHUNK_SIZE) {
178 ctx->byteCount = 0;
210 if ((ctx->byteCount + bufLen) < CHUNK_SIZE) {
216 memcpy ((VOID*) (ctx->buf + ctx->byteCount), (VOID*) buffer, bufLen);
217 ctx->byteCount += bufLen;
225 int k = CHUNK_SIZE - ctx->byteCount;
[all...]
H A Drmd160.c49 byte byteCount; /* number of bytes in buffer */ member in struct:ripemd_context
136 ctx->byteCount = 0;
168 ctx->buf [ctx->byteCount] = character;
169 ctx->byteCount ++;
171 if (ctx->byteCount == CHUNK_SIZE) {
178 ctx->byteCount = 0;
210 if ((ctx->byteCount + bufLen) < CHUNK_SIZE) {
216 memcpy ((VOID*) (ctx->buf + ctx->byteCount), (VOID*) buffer, bufLen);
217 ctx->byteCount += bufLen;
225 int k = CHUNK_SIZE - ctx->byteCount;
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A DMacOSStubs.c135 Ptr NewPtrSysClear (Size byteCount) argument
138 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
140 bzero(tmptr, byteCount);
146 Ptr NewPtr (Size byteCount) argument
149 MALLOC (tmptr, Ptr, byteCount, M_TEMP, M_WAITOK);
H A Dhfs_macos_defs.h282 BlockMoveData(const void * srcPtr, void * destPtr, Size byteCount);
293 NewPtr(Size byteCount); variable
296 NewPtrSysClear(Size byteCount); variable
/macosx-10.10.1/JavaScriptCore-7600.1.17/disassembler/
H A DARM64Disassembler.cpp41 size_t byteCount = size; local
43 while (byteCount) {
48 byteCount -= sizeof(uint32_t);
/macosx-10.10.1/objc4-646/runtime/
H A Dobjc-file.mm32 unsigned long byteCount = 0; \
34 getsectiondata(hi->mhdr, SEG_DATA, sectname, &byteCount); \
35 *outCount = byteCount / sizeof(type); \
55 unsigned long byteCount = 0;
57 getsectiondata(mhdr, SEG_DATA, "__objc_imageinfo", &byteCount);
58 *outBytes = byteCount;
H A Dobjc-file-old.mm75 unsigned long byteCount = 0; \
77 getsectiondata(hi->mhdr, SEG_OBJC, sectname, &byteCount); \
78 *outCount = byteCount / sizeof(type); \
92 unsigned long byteCount = 0;
94 getsectiondata(mhdr, SEG_OBJC, "__image_info", &byteCount);
95 *outBytes = byteCount;
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Modules/
H A D_CoreFoundation_CFBitVector.m26 Py_ssize_t byteCount;
29 byteCount = -1;
31 byteCount = count / 8;
34 r = PyObjC_PythonToCArray(NO, NO, "z", py_bytes, &bytes, &byteCount, &buf);
40 count = byteCount * 8;
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Modules/
H A D_CoreFoundation_CFBitVector.m26 Py_ssize_t byteCount;
29 byteCount = -1;
31 byteCount = count / 8;
34 r = PyObjC_PythonToCArray(NO, NO, "z", py_bytes, &bytes, &byteCount, &buf);
40 count = byteCount * 8;
/macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDSystem/IOHIDDescriptorParser/
H A DHIDGetUsageValueArray.c102 int byteCount; local
157 byteCount = (ptReportItem->globals.reportSize * iCount + 7)/8;
158 if (byteCount > iByteLength)
159 byteCount = iByteLength;
160 for (i=0; i<byteCount; i++)
H A DHIDSetUsageValueArray.c102 int byteCount; local
157 byteCount = (ptReportItem->globals.reportSize * iCount + 7)/8;
158 if (byteCount > iByteLength)
159 byteCount = iByteLength;
160 for (i=0; i<byteCount; i++)
H A DHIDProcessLocalItem.c104 if (ptItem->byteCount == 4)
129 if (ptItem->byteCount == 4)
149 if (ptItem->byteCount == 4)
176 if (ptItem->byteCount == 4)
196 if (ptItem->byteCount == 4)
H A DHIDNextItem.c130 ptItem->byteCount = iSize;
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DSStubs.c111 Handle NewHandleClear(Size byteCount) argument
113 return NewHandle(byteCount);
116 Handle NewHandle(Size byteCount) argument
124 if (byteCount)
125 if (!(p = calloc(1, byteCount)))
133 *((Size *)(h + 1)) = byteCount;
/macosx-10.10.1/hfs-285/CopyHFSMeta/
H A Dmisc.c55 retval->byteCount = 0;
112 vdp->byteCount += length;
133 printf("\tByte count %lld\n", vop->byteCount);
181 printf("* * * Wrote %lld of %lld\n", total, vop->byteCount);
183 printf("%d%%\n", (int)((total * 100) / vop->byteCount));
192 printf("* * Wrote %lld of %lld (%d%%)\n", totalWritten, vop->byteCount, (int)((totalWritten * 100) / vop->byteCount));
194 printf("%d%%\n", (int)((totalWritten * 100) / vop->byteCount));
218 printf("Wrote %lld of %lld\n", total, vop->byteCount);
220 printf("%d%%\n", (int)((total * 100) / vop->byteCount));
[all...]
H A Dmain.c139 printf("Estimate %llu\n", vop->byteCount);
167 if (freeSpace < (vop->byteCount - restart)) {
168 errx(kNoSpaceExit, "free space (%lld) < required space (%lld)", freeSpace, vop->byteCount - restart);
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Modules/
H A D_CoreFoundation_CFBitVector.m32 Py_ssize_t byteCount;
35 byteCount = -1;
37 byteCount = count / 8;
40 r = PyObjC_PythonToCArray(NO, NO, "z", py_bytes, &bytes, &byteCount, &buf);
46 count = byteCount * 8;
/macosx-10.10.1/OpenSSL098-52/src/MacOS/GetHTTPS.src/
H A DCPStringUtils.cpp993 long handleMaxLength,handleCurrentLength,stringLength,byteCount; local
1031 byteCount = handleCurrentLength + stringLength + 1;
1033 if (byteCount > handleMaxLength)
1049 if (byteCount > handleMaxLength)
1078 long handleMaxLength,handleCurrentLength,byteCount; local
1114 byteCount = handleCurrentLength + numChars + 1;
1116 if (byteCount > handleMaxLength)
1132 if (byteCount > handleMaxLength)
1701 long byteCount; local
1706 byteCount
1740 int byteCount; local
1837 int byteCount; local
2036 int byteCount; local
[all...]
/macosx-10.10.1/AppleRAID-4.0.6/
H A DAppleRAIDConcatSet.cpp234 UInt32 byteCount = memoryDescriptor->getLength();
235 UInt64 byteEnd = byteStart + byteCount - 1;
237 IOLogRW("concat start=%llu end=%llu bytestart=%llu byteCount=%u\n", mdMemberStart, mdMemberEnd, byteStart, (uint32_t)byteCount);
246 byteCount -= mdMemberOffset;
253 byteCount -= byteEnd - mdMemberEnd;
256 _length = byteCount;
H A DAppleRAIDMirrorSet.cpp256 void AppleRAIDMirrorSet::activeReadMembers(AppleRAIDMember ** activeMembers, UInt64 byteStart, UInt32 byteCount) argument
311 UInt64 perMemberCount = byteCount / balancedBlockCount / arActiveCount * balancedBlockCount;
320 count = perMemberCount ? min(byteCount, perMemberCount) : min(byteCount, balancedBlockCount);
323 byteCount -= count;
330 assert(byteCount == 0);
357 UInt64 byteCount; local
363 byteCount = 0;
397 byteCount, arMembers[cnt], (uint32_t)arMembers[cnt]->getMemberState());
417 byteCount
990 UInt32 byteCount = memoryDescriptor->getLength(); local
[all...]
H A DAppleRAIDStripeSet.cpp149 UInt32 byteCount = memoryDescriptor->getLength(); local
157 setBlockStop = (byteStart + byteCount - 1) / mdSetBlockSize;
158 setBlockEndOffset = (byteStart + byteCount - 1) % mdSetBlockSize;
/macosx-10.10.1/JavaScriptCore-7600.1.17/interpreter/
H A DJSStack.cpp148 void JSStack::addToCommittedByteCount(long byteCount) argument
151 ASSERT(static_cast<long>(committedBytesCount) + byteCount > -1);
152 committedBytesCount += byteCount;
/macosx-10.10.1/tcl-105/tk/tk/generic/
H A DtkCanvText.c917 int byteIndex, byteCount, charsAdded;
921 string = Tcl_GetStringFromObj((Tcl_Obj *) string, &byteCount);
932 byteCount = strlen(string);
933 if (byteCount == 0) {
937 newStr = (char *) ckalloc((unsigned) textPtr->numBytes + byteCount + 1);
940 strcpy(newStr + byteIndex + byteCount, text + byteIndex);
944 charsAdded = Tcl_NumUtfChars(string, byteCount);
946 textPtr->numBytes += byteCount;
999 int byteIndex, byteCount, charsRemoved;
1016 byteCount
910 int byteIndex, byteCount, charsAdded; local
991 int byteIndex, byteCount, charsRemoved; local
1378 int byteCount; local
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkCanvText.c923 int byteIndex, byteCount, charsAdded;
927 string = Tcl_GetStringFromObj((Tcl_Obj *) string, &byteCount);
938 byteCount = strlen(string);
939 if (byteCount == 0) {
943 new = (char *) ckalloc((unsigned) textPtr->numBytes + byteCount + 1);
946 strcpy(new + byteIndex + byteCount, text + byteIndex);
950 charsAdded = Tcl_NumUtfChars(string, byteCount);
952 textPtr->numBytes += byteCount;
1006 int byteIndex, byteCount, charsRemoved;
1023 byteCount
916 int byteIndex, byteCount, charsAdded; local
998 int byteIndex, byteCount, charsRemoved; local
1387 int byteCount; local
[all...]

Completed in 198 milliseconds

123