Searched refs:buffer (Results 276 - 300 of 3857) sorted by relevance

<<11121314151617181920>>

/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/t/
H A D045Composite.t63 my $buffer = Log::Log4perl::Appender::TestBuffer->by_name("Buffer");
64 like($buffer->buffer(), qr/immediately/);
65 unlike($buffer->buffer(), qr/delayed/);
72 like($buffer->buffer(), qr/immediately/);
73 like($buffer->buffer(), qr/delayed/);
75 $buffer
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_transform/lib/
H A DStreamSource.cpp26 // make a buffer big enough to handle the object
28 UInt8 buffer[kMaximumSize]; local
30 result = CFReadStreamRead(mReadStream, buffer, kMaximumSize);
35 CFDataRef data = CFDataCreate(NULL, buffer, result);
118 char buffer[256]; local
119 snprintf(buffer, sizeof(buffer), "(mReadStream = %p)", mReadStream);
121 result += buffer;
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dbackchannel.c57 cupsBackChannelRead(char *buffer, /* I - Buffer to read into */ argument
89 return ((ssize_t)_read(3, buffer, (unsigned)bytes));
91 return (read(3, buffer, bytes));
109 const char *buffer, /* I - Buffer to write */
151 count = (ssize_t)_write(3, buffer, (unsigned)(bytes - total));
153 count = write(3, buffer, bytes - total);
168 * Write succeeded, update buffer pointer and total count...
171 buffer += count;
108 cupsBackChannelWrite( const char *buffer, size_t bytes, double timeout) argument
/macosx-10.9.5/ICU-511.35/icuSources/test/iotest/
H A Dfiletst.c432 UChar buffer[2048]; local
453 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[0]));
455 u_uastrncpy(buffer, testStr, expectedSize+1);
457 u_file_write(buffer, expectedSize, myFile);
458 u_strcat(expectedBuffer, buffer);
462 u_memset(buffer, 0xBEEF, sizeof(buffer)/sizeof(buffer[
567 UChar buffer[1024]; local
588 UChar buffer[2048]; local
648 UChar buffer[256]; local
723 UChar buffer[64]; local
789 UChar buffer[2003]; /* Use a non-power of 2 or 10 */ local
1143 char buffer[256]; local
1284 char buffer[256]; local
1502 UChar * buffer; local
[all...]
/macosx-10.9.5/IOCDStorageFamily-51/
H A DIOCDBlockStorageDriver.cpp220 IOBufferMemoryDescriptor *buffer; local
232 buffer = IOBufferMemoryDescriptor::withCapacity(sizeof(CDTOC),kIODirectionIn);
233 if (buffer == NULL) {
237 result = getProvider()->readTOC(buffer);
239 buffer->release();
243 toc = (CDTOC *) buffer->getBytesNoCopy();
246 buffer->release();
256 buffer = IOBufferMemoryDescriptor::withCapacity(tocSize,kIODirectionIn);
257 if (buffer == NULL) {
261 result = getProvider()->readTOC(buffer);
323 executeRequest(UInt64 byteStart, IOMemoryDescriptor *buffer, IOStorageAttributes *attributes, IOStorageCompletion *completion, IOBlockStorageDriver::Context *context) argument
569 readCD(IOService *client, UInt64 byteStart, IOMemoryDescriptor *buffer, CDSectorArea sectorArea, CDSectorType sectorType, IOStorageAttributes *attributes, IOStorageCompletion *completion) argument
593 IOMemoryDescriptor *buffer; local
632 IOMemoryDescriptor *buffer; local
669 prepareRequest(UInt64 byteStart, IOMemoryDescriptor *buffer, CDSectorArea sectorArea, CDSectorType sectorType, IOStorageAttributes *attributes, IOStorageCompletion *completion) argument
818 readTOC(IOMemoryDescriptor *buffer,CDTOCFormat format, UInt8 formatAsTime,UInt8 trackOrSessionNumber, UInt16 *actualByteCount) argument
826 readDiscInfo(IOMemoryDescriptor *buffer, UInt16 *actualByteCount) argument
833 readTrackInfo(IOMemoryDescriptor *buffer,UInt32 address, CDTrackInfoAddressType addressType, UInt16 *actualByteCount) argument
841 writeCD(IOService *client, UInt64 byteStart, IOMemoryDescriptor *buffer, CDSectorArea sectorArea, CDSectorType sectorType, IOStorageAttributes *attributes, IOStorageCompletion *completion) argument
[all...]
H A DIOCDMedia.h143 * specified buffer, asynchronously. When the read completes, the caller
146 * The buffer will be retained for the duration of the read.
151 * @param buffer
152 * Buffer for the data transfer. The size of the buffer implies the size of
166 IOMemoryDescriptor * buffer,
174 * specified buffer, asynchronously. When the write completes, the caller
177 * The buffer will be retained for the duration of the write.
182 * @param buffer
183 * Buffer for the data transfer. The size of the buffer implies the size of
197 IOMemoryDescriptor * buffer,
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/io/
H A Dufmt_cmn.c63 ufmt_64tou(UChar *buffer, argument
77 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit)
84 buffer[length++] = DIGIT_0; /*zero padding */
87 /* reverse the buffer */
88 left = buffer;
89 right = buffer + length;
100 ufmt_ptou(UChar *buffer, argument
119 buffer[length++]=TO_LC_DIGIT(firstNibble);
120 buffer[length++]=TO_LC_DIGIT(secondNibble);
123 buffer[lengt
132 ufmt_uto64(const UChar *buffer, int32_t *len, int8_t radix) argument
163 ufmt_utop(const UChar *buffer, int32_t *len) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/modules/proxy/
H A Dmod_proxy_connect.c84 char buffer[HUGE_STRING_LEN]; local
230 nbytes = apr_snprintf(buffer, sizeof(buffer),
232 apr_socket_send(sock, buffer, &nbytes);
233 nbytes = apr_snprintf(buffer, sizeof(buffer),
235 apr_socket_send(sock, buffer, &nbytes);
240 nbytes = apr_snprintf(buffer, sizeof(buffer),
242 ap_xlate_proto_to_ascii(buffer, nbyte
[all...]
/macosx-10.9.5/cxxfilt-11/cxxfilt/opcodes/
H A Ds390-dis.c109 bfd_byte buffer[6]; local
123 memset (buffer, 0, 6);
124 status = (*info->read_memory_func) (memaddr, buffer, 6, info);
128 if ((*info->read_memory_func) (memaddr, buffer, bufsize + 1, info) != 0)
138 opsize = ((((buffer[0] >> 6) + 1) >> 1) + 1) << 1;
144 opsize = ((((buffer[0] >> 6) + 1) >> 1) + 1) << 1;
151 for (opcode = s390_opcodes + opc_index[(int) buffer[0]];
152 (opcode < opcode_end) && (buffer[0] == opcode->opcode[0]);
162 if ((buffer[1] & opcode->mask[1]) != opcode->opcode[1]
163 || (buffer[
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/test/scr024/src/com/sleepycat/bind/serial/test/
H A DSerialBindingTest.java33 private DatabaseEntry buffer; field in class:SerialBindingTest
65 buffer = new DatabaseEntry();
73 buffer = null;
92 binding.objectToEntry(val, buffer);
93 assertTrue(buffer.getSize() > 0);
95 Object val2 = binding.entryToObject(buffer);
102 binding.objectToEntry(valWithWrongCls, buffer);
122 buffer.setSize(0);
123 binding.objectToEntry(null, buffer);
124 assertTrue(buffer
[all...]
/macosx-10.9.5/Heimdal-323.92.1/appl/popper/
H A Dpop_updt.c24 char buffer[BUFSIZ]; /* Read buffer */ local
79 while ((nchar=read(mfd,buffer,BUFSIZ)) > 0)
80 if ( nchar != write((int)fileno(p->drop),buffer,nchar) ) {
131 fgets(buffer,MAXMSGLINELEN,p->drop);) {
136 if (strncasecmp(buffer,"Status:",7) == 0) {
140 fputs(buffer, md);
145 if (*buffer == '\n') {
157 fputs (buffer, md);
160 if (blank_line && strncmp(buffer,"Fro
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/psych/yaml/
H A Dscanner.c481 * Ensure that the buffer contains the required number of characters.
491 * Advance the buffer pointer.
498 parser->buffer.pointer += WIDTH(parser->buffer))
501 (IS_CRLF(parser->buffer) ? \
506 parser->buffer.pointer += 2) : \
507 IS_BREAK(parser->buffer) ? \
512 parser->buffer.pointer += WIDTH(parser->buffer)) : 0)
515 * Copy a character to a string buffer an
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/mech/
H A Dgss_cb.c47 uint8_t p[16], gss_buffer_t buffer)
117 if (buffer) {
118 buffer->value = data.data;
119 buffer->length = data.length;
137 gss_buffer_t buffer)
146 major_status = gss_mg_gen_cb(minor_status, b, hash, buffer);
151 gss_release_buffer(&junk, buffer);
156 buffer->length = 0;
157 buffer->value = NULL;
45 gss_mg_gen_cb(OM_uint32 *minor_status, const gss_channel_bindings_t b, uint8_t p[16], gss_buffer_t buffer) argument
134 gss_mg_validate_cb(OM_uint32 *minor_status, const gss_channel_bindings_t b, const uint8_t p[16], gss_buffer_t buffer) argument
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/tests/
H A Dminidom.c99 char* buffer; local
103 buffer = (char*)malloc(buffer_capacity);
108 free(buffer);
113 buffer_size += fread(buffer + buffer_size, 1, buffer_capacity - buffer_size, f);
116 buffer = (char*)realloc(buffer, buffer_capacity);
117 ASSERT(buffer);
123 buffer[buffer_size] = '\0';
125 return buffer;
/macosx-10.9.5/WebCore-7537.78.1/fileapi/
H A DWebKitBlobBuilder.cpp78 Vector<char>& buffer = getBuffer(); local
79 size_t oldSize = buffer.size();
82 normalizeLineEndingsToNative(utf8Text, buffer);
85 buffer.append(utf8Text.data(), utf8Text.length());
87 m_size += buffer.size() - oldSize;
140 Vector<char>& buffer = getBuffer(); local
141 size_t oldSize = buffer.size();
142 buffer.append(static_cast<const char*>(data), length);
143 m_size += buffer.size() - oldSize;
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/
H A Dentropy_test.c61 unsigned char buffer[512]; local
96 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags);
101 hex_dump("good data only:", buffer, returned);
106 isc_entropy_getdata(ent, buffer, 128, NULL, 0));
107 hex_dump("pseudorandom data", buffer, 128);
113 result = isc_entropy_getdata(ent, buffer, sizeof(buffer), &returned,
116 hex_dump("blocking mode data", buffer, sizeof(buffer));
/macosx-10.9.5/emacs-92/emacs/lisp/mh-e/
H A Dmh-print.el39 "Specify how buffer's text color is printed.
51 (defvar mh-ps-print-func 'ps-spool-buffer-with-faces
52 "Function to use to spool a buffer.
54 Sensible choices are the functions `ps-spool-buffer' and
55 `ps-spool-buffer-with-faces'.")
65 messages. However, when a message is displayed in an MH-Show buffer,
66 then that buffer is used verbatim for printing with the caveat that
94 (buffer (mh-in-show-buffer (mh-show-buffer)
[all...]
/macosx-10.9.5/libarchive-29/libarchive/libarchive/
H A Darchive_read_open_memory.c44 unsigned char *buffer; member in struct:read_memory_data
81 mine->buffer = (unsigned char *)buff;
82 mine->end = mine->buffer + size;
113 *buff = mine->buffer;
114 size = mine->end - mine->buffer;
117 mine->buffer += size;
137 if ((off_t)skip > (off_t)(mine->end - mine->buffer))
138 skip = mine->end - mine->buffer;
142 mine->buffer += skip;
/macosx-10.9.5/libunwind-35.3/testsuite/
H A Dpersonality.cxx21 static char buffer[100]; local
22 buffer[0] = '\0';
25 strcat(buffer, "_UA_SEARCH_PHASE ");
27 strcat(buffer, "_UA_CLEANUP_PHASE ");
29 strcat(buffer, "_UA_HANDLER_FRAME ");
31 strcat(buffer, "_UA_FORCE_UNWIND ");
33 strcat(buffer, "_UA_END_OF_STACK ");
35 strcat(buffer, "unknown bits ");
36 return buffer;
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/
H A Dsha.c54 * the last chunk. This forces us to buffer the incoming bytes till a chunk
71 static void MDsha_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
189 * generator for a character buffer.
202 MDsha_UpdateBuf (context, buffer, bufLen)
204 unsigned char* buffer;
215 memcpy ((VOID*) (s->buf + s->count), (VOID*) buffer, bufLen);
220 * then use all chunks contained in the buffer. Remember
227 memcpy ((VOID*) (s->buf + s->count), (VOID*) buffer, k);
231 buffer += k;
233 } /* k == CHUNK_SIZE => internal buffer wa
[all...]
/macosx-10.9.5/AppleUSBCDCDriver-4201.2.5/AppleUSBCDCECM/DataDriver/Headers/
H A Dlinkup.h38 char *buffer, // or null to only do the IOLog
39 int bufsize, // size of the buffer
52 if (buffer == NULL || bufsize == 0) {
53 buffer = line;
72 snprintf(buffer, bufsize, "Ethernet [%s]: Link up on %s%d, %d-%s, %s-duplex, %s flow-control%s%s, Debug [%04x,%04x,%04x,%04x,%04x,%04x]%s%s",
87 IOLog("%s\n", buffer);
37 LinkUpMessage( char *buffer, int bufsize, const char *kextname, IONetworkInterface *netif, int megabits, bool fullDuplex, LinkUpFlow flowState, const char *port, UInt16 phyregs[LinkUp_Phy_Count], const char *loopback ) argument
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/util/
H A DFastInputStream.java36 * @param buffer the data to read.
38 public FastInputStream(byte[] buffer) { argument
40 buf = buffer;
41 len = buffer.length;
47 * @param buffer the data to read.
53 public FastInputStream(byte[] buffer, int offset, int length) { argument
55 buf = buffer;
169 * Returns the offset at which data is being read from the buffer.
179 * Returns the end of the buffer being read.
181 * @return the end of the buffer
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Ducat.c24 * Fill in buffer with a set_num/msg_num key string, given the numeric
29 _catkey(char* buffer, int32_t set_num, int32_t msg_num) { argument
31 i = T_CString_integerToString(buffer, set_num, 10);
32 buffer[i++] = SEPARATOR;
33 T_CString_integerToString(buffer+i, msg_num, 10);
34 return buffer;
/macosx-10.9.5/IOKitUser-907.100.13/
H A DIOCFSerializeTest.c202 // unserialize test buffer and then re-serialize it
209 char *buffer = malloc(bufSize); local
210 if (!buffer || !CFStringGetCString(errorString, buffer, bufSize,
215 printf("prop1 error: %s\n", buffer);
234 char *buffer = malloc(bufSize); local
235 if (!buffer || !CFStringGetCString(errorString, buffer, bufSize, kCFStringEncodingUTF8)) {
239 printf("prop2 error: %s\n", buffer);
265 char *buffer local
296 char *buffer = malloc(bufSize); local
330 char *buffer = malloc(bufSize); local
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DCodeBlockHash.cpp72 char buffer[7]; local
75 buffer[i] = TABLE[accumulator % 62];
78 buffer[6] = 0;
81 CodeBlockHash recompute(buffer);
85 out.print(buffer);

Completed in 242 milliseconds

<<11121314151617181920>>