Searched refs:bytes (Results 51 - 75 of 1605) sorted by relevance

1234567891011>>

/macosx-10.9.5/CommonCrypto-60049/test/util/
H A DtestbyteBuffer.c16 printf("Dumping %d bytes from %s\n", (int) len, name);
27 printBytes(bb->bytes, bb->len, name);
37 retval->bytes = (uint8_t *) (retval + 1) ; /* just past the byteBuffer in malloc'ed space */
70 bzero(retval->bytes, retval->len);
72 // fill bytes randomly
73 while((err = CCRandomCopyBytes(kCCRandomDefault, retval->bytes, retval->len)) != kCCSuccess) {
90 /* Convert a string of characters representing a hex buffer into a series of bytes of that real value */
102 retval->bytes[i] = (nibbleFromChar(*p) << 4) | nibbleFromChar(*(p+1));
105 retval->bytes[len] = 0;
112 bytesToBytes(void *bytes, size_ argument
[all...]
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/
H A Dpacket.pl21 # the standard input, in the form of a series of bytes in hexidecimal.
97 my $bytes;
99 $bytes = $sock->send($data);
101 $bytes = $sock->syswrite(pack("n", $len), 2);
102 $bytes += $sock->syswrite($data, $len);
105 print ("sent $bytes bytes to $addr:$port\n");
/macosx-10.9.5/pdisk-9/
H A Dconvert.c69 void reverse2(u8 *bytes);
70 void reverse4(u8 *bytes);
109 // whether to check for the signature before or after we flip the bytes.
144 // before or after we flip the bytes and to determine which form of
187 reverse2(u8 *bytes) argument
191 t = *bytes;
192 *bytes = bytes[1];
193 bytes[1] = t;
198 reverse4(u8 *bytes) argument
[all...]
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/
H A Dwebdav_utils.h29 * date/time bytes and returns time_t. If the parse fails, this function
33 const UInt8 *bytes, /* -> pointer to bytes to parse */
34 CFIndex length); /* -> number of bytes to parse */
/macosx-10.9.5/BerkeleyDB-21/db/env/
H A Denv_file.c67 u_int32_t mbytes, bytes; local
71 (ret = __os_ioinfo(env, path, fhp, &mbytes, &bytes, NULL)) == 0) {
79 __db_file_write(env, fhp, mbytes, bytes, 255)) != 0)
82 __db_file_write(env, fhp, mbytes, bytes, 0)) != 0)
85 __db_file_write(env, fhp, mbytes, bytes, 255)) != 0)
103 __db_file_write(env, fhp, mbytes, bytes, pattern)
107 u_int32_t mbytes, bytes;
126 for (; bytes > 0; bytes -= (u_int32_t)len) {
127 len = bytes < FILE_WRITE_IO_SIZ
[all...]
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dbackchannel.c49 * Reads up to "bytes" bytes from the backchannel/backend. The "timeout"
58 size_t bytes, /* I - Bytes to read */
85 * Read bytes from the pipe...
89 return ((ssize_t)_read(3, buffer, (unsigned)bytes));
91 return (read(3, buffer, bytes));
99 * Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter
110 size_t bytes, /* I - Bytes to write */
116 ssize_t count; /* Current bytes */
57 cupsBackChannelRead(char *buffer, size_t bytes, double timeout) argument
108 cupsBackChannelWrite( const char *buffer, size_t bytes, double timeout) argument
[all...]
H A Dfile.c37 static ssize_t cups_compress(cups_file_t *fp, const char *buf, size_t bytes);
41 static ssize_t cups_read(cups_file_t *fp, char *buf, size_t bytes);
42 static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes);
590 ssize_t bytes; /* Bytes to write */ local
605 bytes = (ssize_t)(fp->ptr - fp->buf);
607 DEBUG_printf(("2cupsFileFlush: Flushing " CUPS_LLFMT " bytes...",
608 CUPS_LLCAST bytes));
610 if (bytes > 0)
614 bytes = cups_compress(fp, fp->buf, bytes);
1310 ssize_t bytes; /* Formatted size */ local
1460 ssize_t bytes, /* Number of bytes written */ local
1520 ssize_t bytes; /* Bytes to write */ local
1581 cupsFileRead(cups_file_t *fp, char *buf, size_t bytes) argument
1733 ssize_t bytes; /* Number bytes in buffer */ local
2032 cupsFileWrite(cups_file_t *fp, const char *buf, size_t bytes) argument
2097 cups_compress(cups_file_t *fp, const char *buf, size_t bytes) argument
2150 ssize_t bytes; /* Number of bytes read */ local
2557 cups_read(cups_file_t *fp, char *buf, size_t bytes) argument
2613 cups_write(cups_file_t *fp, const char *buf, size_t bytes) argument
[all...]
/macosx-10.9.5/dtrace-118.1/test/tst/common/mib/
H A Dtst.tcp.ksh42 bytes = args[0];
51 /opens && bytes && segs/
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.h27 /// stack frame in bytes.
40 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/mac_lib/
H A Dxxx_client_mac_lib.c59 int bytes[4]; local
62 if(sscanf(hnam,"%d.%d.%d.%d",bytes,bytes+1,bytes+2,bytes+3)!=4)
66 ip|=(bytes[i]&0x0ff);
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/
H A DtclStringObj.c51 CONST char *bytes, int numBytes));
53 CONST char *bytes, int numBytes));
95 * of UTF bytes == the number of chars. */
100 * for the Unicode string (minus 2 bytes for
163 * TCL_GROWTH_MIN_ALLOC Additional space, in bytes, to allocate when
232 * copy of the length bytes starting at "bytes". If "length" is
233 * negative, use bytes up to the first NULL byte; i.e., assume "bytes"
245 Tcl_NewStringObj(bytes, lengt
1201 char *bytes; local
1371 CONST char *bytes; local
[all...]
H A DtclLiteral.c37 static unsigned int HashString _ANSI_ARGS_((CONST char *bytes,
171 TclRegisterLiteral(envPtr, bytes, length, onHeap)
174 register char *bytes; /* Points to string for which to find or
177 int length; /* Number of bytes in the string. If < 0,
178 * the string consists of all bytes up to
181 * bytes and ownership is passed to this
195 length = (bytes? strlen(bytes) : 0);
197 hash = HashString(bytes, length);
209 || ((objPtr->bytes[
366 char *bytes; local
412 char *bytes; local
553 char *bytes; local
680 char *bytes; local
824 char *bytes; local
974 char *bytes; local
1029 char *bytes; local
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A DbyteRep.c50 #define ENC_BYTE(n, b, bytes) \
52 bytes++;
54 #define ENC_INT(n, b, bytes, i) \
56 bytes += i; \
59 #define ENC_GIANT(g, b, bytes, i) \
61 bytes += i; \
64 #define DEC_BYTE(n, b, blen, bytes) \
66 bytes++; \
69 #define DEC_INT(n, b, blen, bytes) \
72 bytes
385 int bytes = 0; local
453 int bytes = 0; local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A DbyteRep.c50 #define ENC_BYTE(n, b, bytes) \
52 bytes++;
54 #define ENC_INT(n, b, bytes, i) \
56 bytes += i; \
59 #define ENC_GIANT(g, b, bytes, i) \
61 bytes += i; \
64 #define DEC_BYTE(n, b, blen, bytes) \
66 bytes++; \
69 #define DEC_INT(n, b, blen, bytes) \
72 bytes
385 int bytes = 0; local
453 int bytes = 0; local
[all...]
/macosx-10.9.5/tcl-102/tcl/tcl/generic/
H A DtclLiteral.c36 static unsigned int HashString(const char *bytes, int length);
135 if (objPtr->bytes == NULL) {
250 char *bytes,
268 hash = HashString(bytes, length);
276 || ((objPtr->bytes[0] == bytes[0])
277 && (memcmp(objPtr->bytes, bytes, (unsigned) length) == 0)))) {
289 ckfree(bytes);
297 ckfree(bytes);
244 TclCreateLiteral( Interp *iPtr, char *bytes, int length, unsigned int hash, int *newPtr, Namespace *nsPtr, int flags, LiteralEntry **globalPtrPtr) argument
400 TclRegisterLiteral( CompileEnv *envPtr, register char *bytes, int length, int flags) argument
511 char *bytes; local
557 char *bytes; local
692 char *bytes; local
821 char *bytes; local
888 HashString( register const char *bytes, int length) argument
945 char *bytes; local
1090 char *bytes; local
1144 char *bytes; local
[all...]
/macosx-10.9.5/bind9-45.100/bind9/bin/tools/
H A Dgenrandom.c43 generate(char *filename, unsigned int bytes) { argument
52 while (bytes > 0) {
68 bytes -= 2;
75 unsigned int bytes; local
112 bytes = k << 10;
118 generate(argv[isc_commandline_index], bytes);
131 generate(name, bytes);
/macosx-10.9.5/llvmCore-3425.0.33/utils/
H A Dcodegen-diff13 my ($addr, $bytes, $instr) = ($1, $2, $4);
15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace
17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
33 my ($addr, $bytes, $instr) = ($1, $3, $2);
34 $bytes =~ s/0x//g;
35 $bytes =~ s/\s+/ /g; # regularize whitespace
36 $bytes
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsdata.py75 """Test -bytes"""
77 bytes = data.bytes()
78 self.assertEquals(len(bytes), len(rawBytes), "bytes() and rawBytes not equal length.")
79 for i in range(0,len(bytes)):
80 self.assertEquals(rawBytes[i], bytes[i], "byte %s of bytes and rawBytes are not equal." % i)
83 bytes[3] = 0xAE
117 bytes
161 def bytes(self): member in class:MyData2
171 def bytes(self): member in class:MyData3
183 def bytes(self): member in class:MyData4
193 def bytes(self): member in class:MyData5
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DMarkedAllocator.cpp30 inline void* MarkedAllocator::tryAllocateHelper(size_t bytes) argument
40 if (bytes > block->cellSize()) {
62 inline void* MarkedAllocator::tryAllocate(size_t bytes) argument
66 void* result = tryAllocateHelper(bytes);
71 void* MarkedAllocator::allocateSlowCase(size_t bytes) argument
80 m_heap->didAllocate(m_freeList.bytes);
82 void* result = tryAllocate(bytes);
90 result = tryAllocate(bytes);
97 MarkedBlock* block = allocateBlock(bytes);
101 result = tryAllocate(bytes);
106 allocateBlock(size_t bytes) argument
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/misc/libffi/src/
H A Dprep_cif.c128 unsigned bytes = 0; local
163 bytes = STACK_ARG_SIZE(sizeof(void*));
181 if ((align - 1) & bytes)
182 bytes = ALIGN(bytes, align);
183 bytes += STACK_ARG_SIZE((*ptr)->size);
192 bytes += sizeof(void*);
197 if (((*ptr)->alignment - 1) & bytes)
198 bytes = ALIGN(bytes, (*pt
[all...]
/macosx-10.9.5/libffi-18.1/
H A Dffi.c144 unsigned int bytes = 0; local
174 bytes = STACK_ARG_SIZE(sizeof(void*));
197 if ((align - 1) & bytes)
198 bytes = ALIGN(bytes, align);
200 bytes += STACK_ARG_SIZE((*ptr)->size);
208 bytes += sizeof(void*);
213 if (((*ptr)->alignment - 1) & bytes)
214 bytes = ALIGN(bytes, (*pt
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/libffi-src/
H A Dffi.c144 unsigned int bytes = 0; local
174 bytes = STACK_ARG_SIZE(sizeof(void*));
197 if ((align - 1) & bytes)
198 bytes = ALIGN(bytes, align);
200 bytes += STACK_ARG_SIZE((*ptr)->size);
208 bytes += sizeof(void*);
213 if (((*ptr)->alignment - 1) & bytes)
214 bytes = ALIGN(bytes, (*pt
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libffi-src/
H A Dffi.c144 unsigned int bytes = 0; local
174 bytes = STACK_ARG_SIZE(sizeof(void*));
197 if ((align - 1) & bytes)
198 bytes = ALIGN(bytes, align);
200 bytes += STACK_ARG_SIZE((*ptr)->size);
208 bytes += sizeof(void*);
213 if (((*ptr)->alignment - 1) & bytes)
214 bytes = ALIGN(bytes, (*pt
[all...]
/macosx-10.9.5/Heimdal-323.92.1/appl/test/
H A Djgssapi_server.java96 byte[] bytes = null;
103 bytes = new byte[] { 0x66, 0x6f, 0x6f };
105 outtoken = context.getMIC(bytes, 0, bytes.length, new MessageProp(0, false));
106 putMessage(outStream, bytes);
116 bytes = context.unwrap(outtoken, 0, outtoken.length, new MessageProp(0, false));
118 if (bytes == null)
128 bytes = context.unwrap(outtoken, 0, outtoken.length, new MessageProp(0, true));
130 if (bytes == null)
/macosx-10.9.5/JavaScriptCore-7537.78.1/offlineasm/
H A Doffsets.rb73 def readInt(endianness, bytes)
76 (bytes[0] << 0 |
77 bytes[1] << 8 |
78 bytes[2] << 16 |
79 bytes[3] << 24)
82 (bytes[0] << 24 |
83 bytes[1] << 16 |
84 bytes[2] << 8 |
85 bytes[3] << 0)

Completed in 240 milliseconds

1234567891011>>