/macosx-10.9.5/RubyCocoa-80/RubyCocoa/tests/ |
H A D | tc_nsstring.rb | 61 bytes = "." * data.length 62 data.getBytes_length( bytes ) 63 assert_equal( @eucstr, bytes ) 69 bytes = "." * data.length 70 data.getBytes_length( bytes ) 71 assert_equal( @eucstr.tosjis, bytes ) 77 bytes = "." * data.length 78 data.getBytes_length( bytes ) 79 assert_equal( @eucstr.tojis, bytes )
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/bn/ |
H A D | bn_rand.c | 68 int ret=0,bit,bytes,mask; local 77 bytes=(bits+7)/8; 81 buf=(unsigned char *)Malloc(bytes); 94 if (RAND_pseudo_bytes(buf, bytes) == -1) 99 if (RAND_bytes(buf, bytes) <= 0) 111 for (i = 0; i < bytes; i++) 145 buf[bytes-1]|=1; 146 if (!BN_bin2bn(buf,bytes,rnd)) goto err; 151 memset(buf,0,bytes);
|
/macosx-10.9.5/cups-372.4/cups/filter/ |
H A D | error.c | 65 size_t bytes; /* Bytes in message string */ local 69 bytes = vsnprintf(s, sizeof(s), f, ap); 72 if (bytes <= 0) 75 bytes ++; 77 if (bytes >= sizeof(s)) 80 if (bytes > (size_t)(buf->end - buf->current)) 90 size = buf->end - buf->start + 2 * bytes + 1024; 113 memcpy(buf->current, s, bytes); 114 buf->current += bytes - 1;
|
/macosx-10.9.5/cups-372.4/cups/monitor/ |
H A D | bcp.c | 36 static char *psgets(char *buf, size_t *bytes, FILE *fp); 37 static size_t pswrite(const char *buf, size_t bytes, FILE *fp); 175 size_t *bytes, /* IO - Length of buffer */ 183 len = *bytes - 1; 232 *bytes = bufptr - buf; 245 static size_t /* O - Number of bytes written */ 247 size_t bytes, /* I - Bytes to write */ 250 size_t count; /* Remaining bytes */ 253 for (count = bytes; count > 0; count --, buf ++) 257 if (bytes 174 psgets(char *buf, size_t *bytes, FILE *fp) argument 246 pswrite(const char *buf, size_t bytes, FILE *fp) argument [all...] |
H A D | tbcp.c | 36 static char *psgets(char *buf, size_t *bytes, FILE *fp); 37 static size_t pswrite(const char *buf, size_t bytes, FILE *fp); 164 size_t *bytes, /* IO - Length of buffer */ 172 len = *bytes - 1; 221 *bytes = bufptr - buf; 234 static size_t /* O - Number of bytes written */ 236 size_t bytes, /* I - Bytes to write */ 239 size_t count; /* Remaining bytes */ 242 for (count = bytes; count > 0; count --, buf ++) 246 if (bytes 163 psgets(char *buf, size_t *bytes, FILE *fp) argument 235 pswrite(const char *buf, size_t bytes, FILE *fp) argument [all...] |
/macosx-10.9.5/gnutar-452/gnutar/lib/ |
H A D | mbuiter.h | 74 relocates iterator when the string is moved by ptrdiff bytes. 117 size_t cur.bytes number of bytes of current character 136 iter->cur.bytes = 1; 145 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr, 148 if (iter->cur.bytes == (size_t) -1) 151 iter->cur.bytes = 1; 156 else if (iter->cur.bytes == (size_t) -2) 159 iter->cur.bytes = strlen (iter->cur.ptr); 166 if (iter->cur.bytes [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/test/scr024/src/com/sleepycat/util/test/ |
H A D | PackedIntegerTest.java | 123 int bytes = off - before; 124 if (bytes != bytesExpected) { 125 fail("output of value=" + i + " bytes=" + bytes + 128 bytes = PackedInteger.getWriteIntLength(i); 129 if (bytes != bytesExpected) { 130 fail("count of value=" + i + " bytes=" + bytes + 139 int bytes = PackedInteger.getReadIntLength(buf, off); 140 if (bytes ! [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/ |
H A D | fetch.c | 92 size_t bytes; local 105 while( (bytes = fread( buffer, 1, sizeof(buffer), url )) != 0 ) { 106 char *newp = ber_memrealloc( p, total + bytes + 1 ); 113 AC_MEMCPY( &p[total], buffer, bytes ); 114 total += bytes;
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/liblutil/ |
H A D | fetch.c | 93 size_t bytes; local 106 while( (bytes = fread( buffer, 1, sizeof(buffer), url )) != 0 ) { 107 char *newp = ber_memrealloc( p, total + bytes + 1 ); 114 AC_MEMCPY( &p[total], buffer, bytes ); 115 total += bytes;
|
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_utils/ |
H A D | cuFileIo.c | 36 const unsigned char *bytes, 50 rtn = (int)write(fd, bytes, (size_t)numBytes); 69 unsigned char **bytes, // mallocd and returned 79 *bytes = NULL; 107 *bytes = buf; 34 writeFile( const char *fileName, const unsigned char *bytes, unsigned numBytes) argument 67 readFile( const char *fileName, unsigned char **bytes, unsigned *numBytes) argument
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_utils/lib/ |
H A D | cuFileIo.c | 36 const unsigned char *bytes, 50 rtn = (int)write(fd, bytes, (size_t)numBytes); 69 unsigned char **bytes, // mallocd and returned 79 *bytes = NULL; 107 *bytes = buf; 34 writeFile( const char *fileName, const unsigned char *bytes, unsigned numBytes) argument 67 readFile( const char *fileName, unsigned char **bytes, unsigned *numBytes) argument
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/libDER/libDERUtils/ |
H A D | fileIo.c | 16 const unsigned char *bytes, 26 rtn = (int)write(fd, bytes, (size_t)numBytes); 45 unsigned char **bytes, // mallocd and returned 55 *bytes = NULL; 79 *bytes = (unsigned char *)buf; 14 writeFile( const char *fileName, const unsigned char *bytes, unsigned numBytes) argument 43 readFile( const char *fileName, unsigned char **bytes, unsigned *numBytes) argument
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/sslViewer/ |
H A D | fileIo.c | 39 const unsigned char *bytes, 53 rtn = write(fd, bytes, (size_t)numBytes); 72 unsigned char **bytes, // mallocd and returned 82 *bytes = NULL; 110 *bytes = buf; 37 writeFile( const char *fileName, const unsigned char *bytes, unsigned numBytes) argument 70 readFile( const char *fileName, unsigned char **bytes, unsigned *numBytes) argument
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_cfuuid.py | 60 bytes = CFUUIDGetUUIDBytes(uuid) 61 self.failUnless( isinstance(bytes, CFUUIDBytes) ) 62 self.failUnless(bytes.byte0 == 1) 63 self.failUnless(bytes.byte1 == 2) 64 self.failUnless(bytes.byte2 == 3) 65 self.failUnless(bytes.byte3 == 4) 66 self.failUnless(bytes.byte4 == 5) 67 self.failUnless(bytes.byte5 == 6) 68 self.failUnless(bytes.byte6 == 7) 69 self.failUnless(bytes [all...] |
/macosx-10.9.5/tidy-15.12/tidy/src/ |
H A D | utf8.c | 39 Return # of bytes in UTF-8 sequence; result < 0 if illegal sequence 146 1, /* 2 bytes */ 147 2, /* 3 bytes */ 148 4, /* 4 bytes */ 160 /* low high #bytes byte 1 byte 2 byte 3 byte 4 */ 176 int i, bytes = 0; local 196 bytes = 1; 198 else if ((ch & 0xE0) == 0xC0) /* 110X XXXX two bytes */ 201 bytes = 2; 203 else if ((ch & 0xF0) == 0xE0) /* 1110 XXXX three bytes */ 348 int bytes = 0; local 445 int bytes; local [all...] |
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/ |
H A D | CommonCryptoSymCTR.c | 39 CCCryptorStatus retval = CCCryptorUpdate(cryptor, inbb->bytes, inbb->len, buf->bytes, buf->len, &buf->len); 57 ccNoPadding, counter->bytes, key->bytes, key->len, 64 ccNoPadding, counter->bytes, key->bytes, key->len,
|
/macosx-10.9.5/CommonCrypto-60049/test/util/ |
H A D | testbyteBuffer.h | 17 uint8_t *bytes; member in struct:byte_buf 37 bytesToBytes(void *bytes, size_t len); 43 *bytesToHexString(byteBuffer bytes);
|
/macosx-10.9.5/msdosfs-198/ |
H A D | HexDump.py | 6 def HexDump(bytes, offset=0, bytesPerLine=32, offsetFormat="%08X: ", verbose=False): 10 length = len(bytes) 19 line = bytes[index:index+bytesPerLine]
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFICUConverters.h | 40 CF_PRIVATE CFIndex __CFStringEncodingICUToBytes(const char *icuName, uint32_t flags, const UniChar *characters, CFIndex numChars, CFIndex *usedCharLen, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen); 41 CF_PRIVATE CFIndex __CFStringEncodingICUToUnicode(const char *icuName, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, CFIndex *usedByteLen, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen); 42 CF_PRIVATE CFIndex __CFStringEncodingICUCharLength(const char *icuName, uint32_t flags, const uint8_t *bytes, CFIndex numBytes);
|
/macosx-10.9.5/Security-55471.14.18/utilities/src/ |
H A D | fileIo.c | 17 const unsigned char *bytes, 25 fwrite(bytes, 1, numBytes, stdout); 34 wrc = write(fd, bytes, (size_t)numBytes); 53 unsigned char **bytes, // mallocd and returned 64 *bytes = NULL; 93 *bytes = (unsigned char *)buf; 15 writeFile( const char *fileName, const unsigned char *bytes, size_t numBytes) argument 51 readFile( const char *fileName, unsigned char **bytes, size_t *numBytes) argument
|
/macosx-10.9.5/Security-55471.14.18/utilities/utilities/ |
H A D | fileIo.c | 17 const unsigned char *bytes, 25 fwrite(bytes, 1, numBytes, stdout); 34 wrc = write(fd, bytes, (size_t)numBytes); 53 unsigned char **bytes, // mallocd and returned 64 *bytes = NULL; 93 *bytes = (unsigned char *)buf; 15 writeFile( const char *fileName, const unsigned char *bytes, size_t numBytes) argument 51 readFile( const char *fileName, unsigned char **bytes, size_t *numBytes) argument
|
/macosx-10.9.5/cups-372.4/cups/scheduler/ |
H A D | testlpd.c | 254 int bytes; /* Bytes read/written */ local 308 bytes = strlen(control); 311 bytes, sequence); 319 bytes ++; 321 if (write(outfd, control, bytes) < bytes) 323 printf("CONTROL: Unable to write %d bytes!\n", bytes); 328 printf("CONTROL: Wrote %d bytes.\n", bytes); 454 int bytes; /* Bytes read/written */ local 497 int bytes; /* Bytes read/written */ local [all...] |
/macosx-10.9.5/libxml2-26/libxml2/ |
H A D | testOOMlib.c | 123 test_malloc (size_t bytes) argument 131 if (bytes == 0) /* some system mallocs handle this, some don't */ 136 mem = xmlMemMalloc (bytes); 147 size_t bytes) 155 if (bytes == 0) /* guarantee this is safe */ 163 mem = xmlMemRealloc (memory, bytes); 146 test_realloc(void *memory, size_t bytes) argument
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/virtchannel_base/ |
H A D | halfpipe.tcl | 111 method write {c bytes} { 112 my Call -write-command $c $bytes 113 return [string length $bytes] 118 method put {bytes} { 119 append write $bytes 120 set n [string length $bytes]
|
/macosx-10.9.5/xnu-2422.115.4/libkern/libkern/c++/ |
H A D | OSData.h | 50 * OSData wraps an array of bytes in a C++ object 54 * OSData represents an array of bytes as a Libkern C++ object. 56 * You can add bytes to them and 97 * @param capacity The initial capacity of the OSData object in bytes. 106 * when necessary, and will grow as needed to accommodate more bytes 120 * @param bytes The buffer of data to copy. 121 * @param numBytes The length of <code>bytes</code>. 129 * The new OSData object will grow as needed to accommodate more bytes 134 const void * bytes, 145 * @param bytes Th [all...] |