HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 176 - 200 of 5239) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/protobuf/gtest/xcode/Samples/FrameworkSample/
widget_test.cc 58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
  /external/v8/src/
fixed-dtoa.cc 126 Vector<char> buffer, int* length) {
128 buffer[(*length) + i] = '0' + number % 10;
135 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) {
141 buffer[(*length) + number_length] = '0' + digit;
148 char tmp = buffer[i];
149 buffer[i] = buffer[j];
150 buffer[j] = tmp;
159 Vector<char> buffer, int* length) {
167 FillDigits32FixedLength(part0, 3, buffer, length)
380 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); local
    [all...]
fixed-dtoa.h 36 // The buffer must be big enough to hold the result plus one terminating null
41 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and
44 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
45 // The returned buffer may contain digits that would be truncated from the
51 Vector<char> buffer, int* length, int* decimal_point);
  /external/webkit/Source/JavaScriptCore/wtf/
StringExtras.h 40 inline int snprintf(char* buffer, size_t count, const char* format, ...)
45 result = _vsnprintf(buffer, count, format, args);
48 // In the case where the string entirely filled the buffer, _vsnprintf will not
51 buffer[count - 1] = '\0';
56 inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_list args)
58 int result = _vsnprintf(buffer, count, format, args);
60 // In the case where the string entirely filled the buffer, _vsnprintf will not
63 buffer[count - 1] = '\0';
69 // vsnprintf does not null terminate the buffer. WebKit can rely on the null termination.
70 #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/brew/
ImageBrew.cpp 47 RefPtr<SharedBuffer> buffer = SharedBuffer::createWithContentsOfFile(resourcePath.utf8().data()); local
48 if (!buffer)
52 image->setData(buffer, true);
  /frameworks/av/include/media/stagefright/
MediaBufferGroup.h 35 void add_buffer(MediaBuffer *buffer);
37 // Blocks until a buffer is available and returns it to the caller,
38 // the returned buffer will have a reference count of 1.
39 status_t acquire_buffer(MediaBuffer **buffer);
42 virtual void signalBufferReturned(MediaBuffer *buffer);
  /frameworks/base/core/java/com/android/internal/util/
MemInfoReader.java 30 private boolean matchText(byte[] buffer, int index, String text) {
32 if ((index+N) >= buffer.length) {
36 if (buffer[index+i] != text.charAt(i)) {
43 private long extractMemValue(byte[] buffer, int index) {
44 while (index < buffer.length && buffer[index] != '\n') {
45 if (buffer[index] >= '0' && buffer[index] <= '9') {
48 while (index < buffer.length && buffer[index] >= '0
    [all...]
  /frameworks/compile/libbcc/bcinfo/Wrap/
file_wrapper_output.cpp 38 bool FileWrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) {
39 if (!buffer) {
44 return buffer_size == fwrite(buffer, 1, buffer_size, _file);
  /system/core/include/sysutils/
NetlinkEvent.h 41 bool decode(char *buffer, int size, int format = NetlinkListener::NETLINK_FORMAT_ASCII);
50 bool parseBinaryNetlinkMessage(char *buffer, int size);
51 bool parseAsciiNetlinkMessage(char *buffer, int size);
  /bionic/linker/
linker_format.h 43 int format_buffer(char *buffer, size_t bufsize, const char *format, ...);
  /external/apache-http/src/org/apache/http/impl/conn/
Wire.java 55 StringBuilder buffer = new StringBuilder(); local
59 buffer.append("[\\r]");
61 buffer.append("[\\n]\"");
62 buffer.insert(0, "\"");
63 buffer.insert(0, header);
64 log.debug(buffer.toString());
65 buffer.setLength(0);
67 buffer.append("[0x");
68 buffer.append(Integer.toHexString(ch));
69 buffer.append("]")
    [all...]
  /external/apache-http/src/org/apache/http/message/
HeaderValueFormatter.java 47 * All formatting methods accept an optional buffer argument.
48 * If a buffer is passed in, the formatted element will be appended
49 * and the modified buffer is returned. If no buffer is passed in,
50 * a new buffer will be created and filled with the formatted element.
51 * In both cases, the caller is allowed to modify the returned buffer.
65 * @param buffer the buffer to append to, or
66 * <code>null</code> to create a new buffer
71 * @return a buffer with the formatted header elements
    [all...]
HeaderValueParser.java 83 * @param buffer buffer holding the header value to parse
85 * the bounds within the buffer for the parsing operation
92 CharArrayBuffer buffer,
100 * @param buffer buffer holding the element to parse
102 * the bounds within the buffer for the parsing operation
109 CharArrayBuffer buffer,
186 * @param buffer buffer holding the name-value list to pars
    [all...]
LineFormatter.java 54 * a buffer can be passed as argument to all formatting methods.
55 * The implementation may or may not actually use that buffer for formatting.
56 * If it is used, the buffer will first be cleared by the
58 * The argument buffer can always be re-used after the call. The buffer
59 * returned as the result, if it is different from the argument buffer,
79 * <code>buffer</code> arguments.
80 * It does <i>not</i> clear the argument buffer, but appends instead.
81 * The returned buffer can always be modified by the caller.
85 * @param buffer a buffer to which to append, or <code>null</code
    [all...]
  /external/chromium/net/websockets/
websocket_frame_handler.cc 24 scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(length); local
25 memcpy(buffer->data(), data, length);
26 pending_buffers_.push_back(buffer);
37 scoped_refptr<IOBufferWithSize> buffer = pending_buffers_.front();
43 ParseWebSocketFrame(buffer->data(), buffer->size(), &frame_info);
51 original_current_buffer_size_ = buffer->size();
52 buffer_size = buffer->size();
55 current_buffer_ = buffer;
74 scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(buffer_size) local
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
Same.java 37 public void appendTo(StringBuffer buffer) {
38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
  /external/harfbuzz/contrib/
harfbuzz-freetype.h 7 HB_Byte *buffer, HB_UInt *len);
  /external/jsilver/src/com/google/clearsilver/jsilver/output/
OutputBufferProvider.java 20 * Simple Provider interface for the output buffer.
25 * Returns a clean Appendable buffer ready to use while rendering.
30 * Tells the provider that this buffer is free to be reused.
32 * @param buffer the Appendable object handed out by {@link #get}
34 void release(Appendable buffer);
  /external/jsilver/src/com/google/streamhtmlparser/util/
JavascriptTokenBuffer.java 24 * Implements a circular (ring) buffer of characters with specialized
34 * the buffer. Changing the API would mean changing the test
40 * <li> The buffer size is fixed. There is currently no need to
47 * Size of the ring buffer used to lookup the last token in the javascript
50 * an empty ring buffer slot.
54 /** Storage implementing the circular buffer. */
55 private final char[] buffer; field in class:JavascriptTokenBuffer
57 /** Index of the first item in our circular buffer. */
60 /** Index of the last item in our circular buffer. */
64 * Constructs an empty javascript token buffer. The size is fixed
    [all...]
  /external/mdnsresponder/mDNSShared/
dnssd_ipc.c 35 static char buffer[1024]; local
37 memset(buffer, 0, sizeof(buffer));
43 buffer,
44 sizeof(buffer),
49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1]))
50 buffer[--n] = '\0';
52 return buffer;
111 int get_string(const char **ptr, const char *const end, char *buffer, int buflen)
115 *buffer = 0
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
UUIDConverter.java 30 byte[] buffer = new byte[16];
33 buffer[i] = (byte) (msb >>> 8 * (7 - i));
36 buffer[i] = (byte) (lsb >>> 8 * (7 - i));
39 return buffer;
  /external/skia/include/effects/
SkBlurImageFilter.h 20 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
21 return SkNEW_ARGS(SkBlurImageFilter, (buffer));
27 explicit SkBlurImageFilter(SkFlattenableReadBuffer& buffer);
31 virtual void flatten(SkFlattenableWriteBuffer& buffer) SK_OVERRIDE;
SkTransparentShader.h 35 SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
37 static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) {
38 return SkNEW_ARGS(SkTransparentShader, (buffer));
  /external/webkit/Source/WebCore/bindings/js/
JSArrayBufferCustom.cpp 44 RefPtr<ArrayBuffer> buffer; local
46 buffer = ArrayBuffer::create(static_cast<unsigned>(length), 1);
47 if (!buffer.get())
49 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), buffer.get())));
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageBufferDataAndroid.h 36 SkCanvas* imageBufferCanvas(const ImageBuffer* buffer);

Completed in 899 milliseconds

1 2 3 4 5 6 78 91011>>