HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 276 - 300 of 9473) sorted by null

<<11121314151617181920>>

  /external/chromium_org/testing/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/
OpenTypeTypes.h 72 template <typename T> static const T* validateTable(const RefPtr<SharedBuffer>& buffer, size_t count = 1)
74 if (!buffer || buffer->size() < sizeof(T) * count)
76 return reinterpret_cast<const T*>(buffer->data());
81 static bool isValidEnd(const SharedBuffer& buffer, const void* position)
83 if (position < buffer.data())
85 size_t offset = reinterpret_cast<const char*>(position) - buffer.data();
86 return offset <= buffer.size(); // "<=" because end is included as valid
89 template <typename T> static const T* validatePtr(const SharedBuffer& buffer, const void* position)
92 if (!isValidEnd(buffer, &casted[1])
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
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) {
168 FillDigits32FixedLength(part0, 3, buffer, length)
381 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); local
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkDropShadowImageFilter.cpp 26 SkDropShadowImageFilter::SkDropShadowImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer)
28 fDx = buffer.readScalar();
29 fDy = buffer.readScalar();
30 fSigma = buffer.readScalar();
31 fColor = buffer.readColor();
34 void SkDropShadowImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const
36 this->INHERITED::flatten(buffer);
37 buffer.writeScalar(fDx);
38 buffer.writeScalar(fDy)
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkDebug_win.cpp 20 char buffer[kBufferSize + 1]; local
28 vsnprintf(buffer, kBufferSize, format, args);
31 OutputDebugStringA(buffer);
  /external/chromium_org/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...]
  /external/compiler-rt/BlocksRuntime/tests/
fail.c 22 bool readfile(char *buffer, const char *from) {
25 int count = read(fd, buffer, 512);
27 buffer[count] = 0; // zap newline
49 char buffer[512]; local
52 sprintf(buffer, "/tmp/errorfile_%d", getpid());
54 int fd = creat(buffer, 0777);
56 fprintf(stderr, "didn't open custom error file %s as 1, got %d\n", buffer, fd);
79 sprintf(buffer, "/tmp/errorfile_%d", child);
85 bool gotOutput = readfile(got, buffer);
94 printf("didn't find contents of %s in %s\n", errorfile, buffer);
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/xcode/Samples/FrameworkSample/
widget.cc 58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const {
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
widget_test.cc 58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
  /external/protobuf/gtest/xcode/Samples/FrameworkSample/
widget.cc 58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const {
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
widget_test.cc 58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
  /external/sfntly/cpp/src/sfntly/port/
memory_output_stream.h 37 virtual void Write(ByteVector* buffer);
38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length);
39 virtual void Write(byte_t* buffer, int32_t offset, int32_t length);
  /external/skia/src/effects/
SkDropShadowImageFilter.cpp 26 SkDropShadowImageFilter::SkDropShadowImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer)
28 fDx = buffer.readScalar();
29 fDy = buffer.readScalar();
30 fSigma = buffer.readScalar();
31 fColor = buffer.readColor();
34 void SkDropShadowImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const
36 this->INHERITED::flatten(buffer);
37 buffer.writeScalar(fDx);
38 buffer.writeScalar(fDy)
    [all...]
  /external/skia/src/ports/
SkDebug_win.cpp 20 char buffer[kBufferSize + 1]; local
28 vsnprintf(buffer, kBufferSize, format, args);
31 OutputDebugStringA(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...]
  /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/av/media/libstagefright/
MediaAdapter.cpp 68 void MediaAdapter::signalBufferReturned(MediaBuffer *buffer) {
70 CHECK(buffer != NULL);
71 buffer->setObserver(0);
72 buffer->release();
73 ALOGV("buffer returned %p", buffer);
78 MediaBuffer **buffer, const ReadOptions *options) {
98 *buffer = mCurrentMediaBuffer;
100 (*buffer)->setObserver(this);
105 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) {
    [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);
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
MemInfoReader.java 30 private static boolean matchText(byte[] buffer, int index, String text) {
32 if ((index + N) >= buffer.length) {
36 if (buffer[index + i] != text.charAt(i)) {
43 private static 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' && buffer[index] <= '9')
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
RawResourceTest.java 44 final byte[] buffer = new byte[10];
48 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) {
52 + " but found " + ((char) buffer[i]),
53 buffer[i], expectedString.charAt(curIndex));
58 readCount = is.read(buffer, 0, buffer.length);
59 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount,
62 readCount = is.read(buffer, buffer.length, 0)
    [all...]
  /external/apache-http/src/org/apache/http/cookie/
CookieOrigin.java 95 StringBuilder buffer = new StringBuilder(); local
96 buffer.append('[');
98 buffer.append("(secure)");
100 buffer.append(this.host);
101 buffer.append(':');
102 buffer.append(Integer.toString(this.port));
103 buffer.append(this.path);
104 buffer.append(']');
105 return buffer.toString();
  /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...]

Completed in 1049 milliseconds

<<11121314151617181920>>