Searched refs:bytes (Results 176 - 200 of 1605) sorted by relevance

1234567891011>>

/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dbytestream.cpp42 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { argument
52 if (n > 0 && bytes != (outbuf_ + size_)) {
53 uprv_memcpy(outbuf_ + size_, bytes, n);
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dtestutil.cpp54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/
H A Dmisc_util.c60 const uint8_t * bytes = NULL; // do not free local
73 bytes = CFDataGetBytePtr(aData);;
76 (unsigned)(bytes[i]),
81 CFSTR("...(%u bytes total)"), (unsigned)count);
/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecOTRDHKey.h21 SecOTRFullDHKeyRef SecOTRFullDHKCreateFromBytes(CFAllocatorRef allocator, const uint8_t**bytes, size_t*size);
30 SecOTRPublicDHKeyRef SecOTRPublicDHKCreateFromSerialization(CFAllocatorRef allocator, const uint8_t**bytes, size_t*size);
31 SecOTRPublicDHKeyRef SecOTRPublicDHKCreateFromBytes(CFAllocatorRef allocator, const uint8_t** bytes, size_t *size);
H A DSecOTRSession.c52 const uint8_t *bytes = CFDataGetBytePtr(decodedBytes); local
55 require_noerr(ReadHeader(&bytes, &size, &type), fail);
261 const uint8_t *bytes = CFDataGetBytePtr(data); local
277 require_noerr(ReadByte(&bytes, &size, &version), fail);
280 require_noerr(ReadLong(&bytes, &size, &session->_state), fail);
281 session->_me = SecOTRFullIdentityCreateFromBytes(kCFAllocatorDefault, &bytes, &size, NULL);
283 session->_them = SecOTRPublicIdentityCreateFromBytes(kCFAllocatorDefault, &bytes, &size, NULL);
287 memcpy(session->_r, bytes, sizeof(session->_r));
288 bytes += sizeof(session->_r);
293 ReadByte(&bytes,
524 const uint8_t *bytes = CFDataGetBytePtr(decodedBytes); local
[all...]
H A DSecOTRDHKey.c70 SecOTRFullDHKeyRef SecOTRFullDHKCreateFromBytes(CFAllocatorRef allocator, const uint8_t**bytes, size_t*size)
77 require_noerr(ReadLong(bytes, size, &publicKeySize), fail);
80 require_noerr(ccec_import_pub(ccec_cp_256(), publicKeySize, *bytes, newFDHK->_key), fail);
81 ccdigest(ccsha1_di(), publicKeySize, *bytes, newFDHK->keyHash); local
84 *bytes += publicKeySize;
86 require_noerr(ReadMPI(bytes, size, ccec_ctx_n(newFDHK->_key), ccec_ctx_k(newFDHK->_key)), fail);
174 SecOTRPublicDHKeyRef SecOTRPublicDHKCreateFromSerialization(CFAllocatorRef allocator, const uint8_t** bytes, size_t *size) argument
179 require_noerr(ReadLong(bytes, size, &publicKeySize), fail);
183 require_noerr(ccec_import_pub(ccec_cp_256(), publicKeySize, *bytes, newPDHK->_key), fail);
184 ccdigest(ccsha1_di(), publicKeySize, *bytes, newPDH local
195 SecOTRPublicDHKCreateFromBytes(CFAllocatorRef allocator, const uint8_t** bytes, size_t *size) argument
200 ccdigest(ccsha1_di(), *size, *bytes, newPDHK->keyHash); local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/cf/
H A DCFURLExtras.cpp37 // could either be a malformed string or bytes in a different encoding, like Shift-JIS, so we fall back
56 char* bytes; local
57 result = CString::newUninitialized(bytesLength, bytes);
58 CFIndex finalLength = CFURLGetBytes(url, reinterpret_cast<UInt8*>(bytes), bytesLength);
/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DSVGPathByteStream.h33 unsigned char bytes[sizeof(bool)]; member in union:WebCore::__anon5489
38 unsigned char bytes[sizeof(float)]; member in union:WebCore::__anon5490
43 unsigned char bytes[sizeof(unsigned short)]; member in union:WebCore::__anon5491
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsmethodsignature.py24 self.assertIsInstance(v, bytes)
27 self.assertIsInstance(v, bytes)
30 self.assertIsInstance(v, bytes)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/virtchannel_base/
H A Dfifo.tcl104 method write {c bytes} {
105 append write $bytes
106 set n [string length $bytes]
/macosx-10.9.5/xnu-2422.115.4/osfmk/x86_64/
H A Dloose_ends.c97 extern void bcopy_no_overwrite(const char *from, char *to,vm_size_t bytes);
168 uint32_t bytes)
170 bzero_phys(src64,bytes);
176 uint32_t bytes)
178 bzero(PHYSMAP_PTOV(src64), bytes); local
190 vm_size_t bytes)
193 if (((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) ||
194 ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
197 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes); local
207 vm_size_t bytes,
166 bzero_phys_nc( addr64_t src64, uint32_t bytes) argument
174 bzero_phys( addr64_t src64, uint32_t bytes) argument
187 bcopy_phys( addr64_t src64, addr64_t dst64, vm_size_t bytes) argument
205 apply_func_phys( addr64_t dst64, vm_size_t bytes, int (*func)(void * buffer, vm_size_t bytes, void * arg), void * arg) argument
225 ovbcopy( const char *from, char *to, vm_size_t bytes) argument
[all...]
/macosx-10.9.5/msdosfs-198/
H A Dmsdosfs.py31 "Create the raw bytes for a directory entry"
39 def parse_dirent(bytes):
41 Parse the raw bytes of a directory entry, returning a dictionary of
44 assert len(bytes) == 32
45 fields = struct.unpack("<3B7HI", bytes[11:])
46 return dict(name = bytes[0:11],
224 raise RuntimeError("Invalid bytes per sector")
277 def WriteCluster(self, cluster, bytes):
280 assert (len(bytes) % self.bytesPerSector) == 0
283 return self.dev.write(bytes)
[all...]
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonDigest.c63 case 0: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), (uint8_t *) salt, saltlen, 0, rounds, derivedKey->bytes, derivedKey->len); break;
64 case kCCDigestSHA1: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), salt, saltlen, kCCPRFHmacAlgSHA1, rounds, derivedKey->bytes, derivedKey->len); break;
65 case kCCDigestSHA224: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), salt, saltlen, kCCPRFHmacAlgSHA224, rounds, derivedKey->bytes, derivedKey->len); break;
66 case kCCDigestSHA256: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), salt, saltlen, kCCPRFHmacAlgSHA256, rounds, derivedKey->bytes, derivedKey->len); break;
67 case kCCDigestSHA384: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), salt, saltlen, kCCPRFHmacAlgSHA384, rounds, derivedKey->bytes, derivedKey->len); break;
68 case kCCDigestSHA512: CCKeyDerivationPBKDF(kCCPBKDF2, password, strlen(password), salt, saltlen, kCCPRFHmacAlgSHA512, rounds, derivedKey->bytes, derivedKey->len); break;
135 CCHmac(hmacAlg, keyBytes->bytes, keyBytes->len, input, inputLen, mdBuf->bytes);
144 OneShotHmac(hmacAlg, keyBytes->bytes, keyBytes->len, input, inputLen, mdBuf->bytes);
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DCopiedSpaceInlines.h151 inline CheckedBoolean CopiedSpace::tryAllocate(size_t bytes, void** outPtr) argument
155 if (!m_allocator.tryAllocate(bytes, outPtr))
156 return tryAllocateSlowCase(bytes, outPtr);
162 inline bool CopiedSpace::isOversize(size_t bytes) argument
164 return bytes > s_maxAllocationSize;
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/
H A Dgb2312.c49 u_char bytes[2]; member in struct:__anon2906
105 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
116 ncopy = MIN(MIN(n, GB2312_MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
117 memcpy(gs->bytes + gs->count, s, ncopy);
120 s = (char *)gs->bytes;
/macosx-10.9.5/emacs-92/emacs/src/
H A Dcharset.c129 #define SPLIT_MULTIBYTE_SEQ(str, length, bytes, charset, c1, c2) \
132 (bytes) = BYTES_BY_CHAR_HEAD (c1); \
133 if ((bytes) == 1) \
135 else if ((bytes) == 2) \
142 else if ((bytes) == 3) \
296 int c, bytes, charset, c1, c2;
298 SPLIT_MULTIBYTE_SEQ (str, len, bytes, charset, c1, c2);
301 *actual_len = bytes;
312 int bytes;
314 PARSE_MULTIBYTE_SEQ (str, len, bytes);
295 int c, bytes, charset, c1, c2; local
311 int bytes; local
329 register int bytes, cs, code1, code2 = -1; local
491 int bytes; local
843 int bytes, charset, c1, c2; local
1293 int bytes, thiswidth; local
1360 int chars, bytes, thiswidth; local
1479 int chars, bytes; local
1504 int n, chars = 0, bytes = 0; local
1578 int bytes; local
[all...]
/macosx-10.9.5/cups-372.4/cups/backend/
H A Drunloop.c48 ssize_t print_bytes, /* Print bytes read */
49 bytes; /* Bytes written */ local
111 fprintf(stderr, "DEBUG: Read %d bytes of print data...\n",
116 if ((bytes = write(device_fd, print_ptr, print_bytes)) < 0)
131 fprintf(stderr, "DEBUG: Wrote %d bytes of print data...\n", (int)bytes);
133 print_bytes -= bytes;
134 print_ptr += bytes;
145 ssize_t /* O - Total bytes on success, -1 on error */
158 ssize_t print_bytes, /* Print bytes rea
161 bytes; /* Bytes written */ local
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/
H A Dhmac_link.c151 unsigned int bytes; local
156 bytes = (key->key_size + 7) / 8;
157 if (bytes > ISC_SHA1_BLOCK_LENGTH) {
158 bytes = ISC_SHA1_BLOCK_LENGTH;
163 ret = dst__entropy_getdata(data, bytes, ISC_TF(pseudorandom_ok != 0));
168 isc_buffer_init(&b, data, bytes);
169 isc_buffer_add(&b, bytes);
194 unsigned int bytes; local
200 bytes = (key->key_size + 7) / 8;
201 if (isc_buffer_availablelength(data) < bytes)
247 int bytes = (key->key_size + 7) / 8; local
427 unsigned int bytes; local
470 unsigned int bytes; local
523 int bytes = (key->key_size + 7) / 8; local
705 unsigned int bytes; local
748 unsigned int bytes; local
801 int bytes = (key->key_size + 7) / 8; local
983 unsigned int bytes; local
1026 unsigned int bytes; local
1079 int bytes = (key->key_size + 7) / 8; local
1261 unsigned int bytes; local
1304 unsigned int bytes; local
1357 int bytes = (key->key_size + 7) / 8; local
1539 unsigned int bytes; local
1582 unsigned int bytes; local
1635 int bytes = (key->key_size + 7) / 8; local
[all...]
/macosx-10.9.5/Security-55471.14.18/include/securityd_client/
H A Dssblob.h98 uint8 bytes[16]; member in struct:Security::SecurityServer::DbBlob::Signature
101 { return memcmp(bytes, sig.bytes, sizeof(bytes)) < 0; }
103 { return memcmp(bytes, sig.bytes, sizeof(bytes)) == 0; }
/macosx-10.9.5/Security-55471.14.18/libsecurityd/lib/
H A Dssblob.h98 uint8 bytes[16]; member in struct:Security::SecurityServer::DbBlob::Signature
101 { return memcmp(bytes, sig.bytes, sizeof(bytes)) < 0; }
103 { return memcmp(bytes, sig.bytes, sizeof(bytes)) == 0; }
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dprogress.c63 static char *max5data(curl_off_t bytes, char *max5) argument
71 if(bytes < CURL_OFF_T_C(100000))
72 snprintf(max5, 6, "%5" FORMAT_OFF_T, bytes);
74 else if(bytes < CURL_OFF_T_C(10000) * ONE_KILOBYTE)
75 snprintf(max5, 6, "%4" FORMAT_OFF_T "k", bytes/ONE_KILOBYTE);
77 else if(bytes < CURL_OFF_T_C(100) * ONE_MEGABYTE)
80 bytes/ONE_MEGABYTE,
81 (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) );
85 else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE)
87 snprintf(max5, 6, "%4" FORMAT_OFF_T "M", bytes/ONE_MEGABYT
[all...]
/macosx-10.9.5/WebKit-7537.78.2/efl/ewk/
H A Dewk_tiled_model.cpp52 } tiles, bytes; member in struct:tile_account
73 acc->bytes.allocated = 0;
74 acc->bytes.freed = 0;
86 acc->bytes.allocated += tile->bytes;
89 bytes_allocated += tile->bytes;
99 acc->bytes.freed += tile->bytes;
102 bytes_freed += tile->bytes;
112 "bytes[
123 uint64_t tiles, bytes; local
171 size_t bytes; local
569 ewk_tile_unused_cache_flush(Ewk_Tile_Unused_Cache* tileUnusedCache, size_t bytes) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dflowhash.c93 const u_int8_t *bytes = (u_int8_t *)(void *)(uintptr_t)(p + i); local
101 (((u_int32_t)bytes[0]) << 24) |
102 (((u_int32_t)bytes[1]) << 16) |
103 (((u_int32_t)bytes[2]) << 8) |
104 ((u_int32_t)bytes[3]);
107 (((u_int32_t)bytes[3]) << 24) |
108 (((u_int32_t)bytes[2]) << 16) |
109 (((u_int32_t)bytes[1]) << 8) |
110 ((u_int32_t)bytes[0]);
119 const u_int8_t *bytes local
[all...]
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Daout-adobe.c38 struct external_exec *bytes,
41 /* Now fill in fields in the execp, from the bytes in the raw data. */
42 execp->a_info = H_GET_32 (abfd, bytes->e_info);
43 execp->a_text = GET_WORD (abfd, bytes->e_text);
44 execp->a_data = GET_WORD (abfd, bytes->e_data);
45 execp->a_bss = GET_WORD (abfd, bytes->e_bss);
46 execp->a_syms = GET_WORD (abfd, bytes->e_syms);
47 execp->a_entry = GET_WORD (abfd, bytes->e_entry);
48 execp->a_trsize = GET_WORD (abfd, bytes->e_trsize);
49 execp->a_drsize = GET_WORD (abfd, bytes
37 aout_adobe_swap_exec_header_in(bfd *abfd, struct external_exec *bytes, struct internal_exec *execp) argument
56 aout_adobe_swap_exec_header_out(bfd *abfd, struct internal_exec *execp, struct external_exec *bytes) argument
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/model/
H A DClassEnhancer.java46 * needed to transform class bytes during class loading. To configure runtime
203 byte[] bytes = enhance(className, classfileBuffer);
204 if (verbose && bytes != null) {
207 return bytes;
211 * Enhances the given class bytes if the class is annotated with {@link
218 * @param classBytes are the class file bytes to be enhanced.
220 * @return the enhanced bytes, or null if no enhancement was performed.
264 byte[] bytes = new byte[(int) file.length()];
267 in.read(bytes);
271 return bytes;
274 writeFile(File file, byte[] bytes) argument
285 enhanceBytes(byte[] bytes) argument
[all...]

Completed in 302 milliseconds

1234567891011>>