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

1 2 3 4 5 6 78 91011>>

  /external/icu4c/common/
charstr.cpp 25 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1);
35 buffer[len=newLength]=0;
42 buffer[len++]=c;
43 buffer[len]=0;
60 if(s==(buffer.getAlias()+len)) {
62 if(sLength>=(buffer.getCapacity()-len)) {
66 buffer[len+=sLength]=0;
68 } else if(buffer.getAlias()<=s && s<(buffer.getAlias()+len) &
    [all...]
  /external/libnfc-nci/src/adaptation/
android_logmsg.cpp 45 static char buffer[BTE_LOG_BUF_SIZE]; local
49 vsnprintf(buffer, BTE_LOG_MAX_SIZE, fmt_str, ap);
51 __android_log_write(ANDROID_LOG_INFO, "BrcmNci", buffer);
66 static char buffer[BTE_LOG_BUF_SIZE]; local
72 vsnprintf(buffer, BTE_LOG_MAX_SIZE, fmt_str, ap);
76 __android_log_write(android_log_type, "BrcmNfcNfa", buffer);
  /external/nist-sip/java/gov/nist/javax/sip/header/
ExtensionHeaderImpl.java 94 StringBuffer buffer = new StringBuffer(encodedHdr); local
95 while (buffer.length() > 0 && buffer.charAt(0) != ':') {
96 buffer.deleteCharAt(0);
98 buffer.deleteCharAt(0);
99 this.value = buffer.toString().trim();
  /external/oprofile/libop/
op_xml_out.c 96 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t max)
101 buffer[max - 1] = '\0';
102 size = strlen(buffer);
103 buf = &buffer[size];
116 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t max)
121 buffer[max - 1] = '\0';
122 size = strlen(buffer);
123 buf = &buffer[size];
138 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t max)
143 buffer[max - 1] = '\0'
    [all...]
  /external/webkit/Source/WebCore/platform/
FileSystem.cpp 83 Vector<UChar, 512> buffer(length * 3 + 1);
84 UChar* p = buffer.data();
98 ASSERT(p - buffer.data() <= static_cast<int>(buffer.size()));
100 return String(buffer.data(), p - buffer.data());
  /external/webkit/Source/WebCore/platform/graphics/win/
FontCustomPlatformDataCairo.cpp 48 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer)
50 ASSERT_ARG(buffer, buffer);
52 buffer->ref();
53 HFONT font = reinterpret_cast<HFONT>(buffer);
59 cairo_font_face_set_user_data(fontFace, &bufferKey, buffer, releaseData);
  /frameworks/base/core/jni/
android_hardware_UsbRequest.cpp 81 jbyteArray buffer, jint length, jboolean out)
89 if (buffer && length) {
90 request->buffer = malloc(length);
91 if (!request->buffer)
93 memset(request->buffer, 0, length);
95 // copy data from Java buffer to native buffer
96 env->GetByteArrayRegion(buffer, 0, length, (jbyte *)request->buffer);
99 request->buffer = NULL
    [all...]
  /libcore/luni/src/main/java/java/io/
InputStream.java 160 * Equivalent to {@code read(buffer, 0, buffer.length)}.
162 public int read(byte[] buffer) throws IOException {
163 return read(buffer, 0, buffer.length);
170 * @param buffer
173 * the initial position in {@code buffer} to store the bytes read
186 public int read(byte[] buffer, int offset, int length) throws IOException {
187 Arrays.checkOffsetAndCount(buffer.length, offset, length);
200 buffer[offset + i] = (byte) c
    [all...]
  /system/vold/tests/
VolumeManager_test.cpp 38 char buffer[MD5_ASCII_LENGTH_PLUS_NULL]; local
39 char* dst = reinterpret_cast<char*>(&buffer);
44 EXPECT_TRUE(VolumeManager::asecHash(exp1, (char*)NULL, sizeof(buffer)) == NULL && errno == ESPIPE)
45 << "Should return NULL and set errno to ESPIPE when destination buffer is NULL";
47 << "Should return NULL and set errno to ESPIPE when destination buffer length is 0";
48 EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ESPIPE)
49 << "Should return NULL and set errno to ESPIPE when source buffer is NULL";
51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL)
58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL)
  /frameworks/base/tools/aidl/
aidl_language_y.y 47 IMPORT { g_callbacks->import(&($1.buffer)); }
48 | IMPORT imports { g_callbacks->import(&($1.buffer)); }
72 $2.buffer.lineno, $2.buffer.data);
87 b->keyword_token = $1.buffer;
88 b->name = $2.buffer;
90 b->semicolon_token = $3.buffer;
96 g_currentFilename, $1.buffer.lineno);
101 g_currentFilename, $2.buffer.lineno, $2.buffer.data)
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderValueFormatter.java 107 public CharArrayBuffer formatElements(CharArrayBuffer buffer,
116 if (buffer == null) {
117 buffer = new CharArrayBuffer(len);
119 buffer.ensureCapacity(len);
124 buffer.append(", ");
126 formatHeaderElement(buffer, elems[i], quote);
129 return buffer;
176 public CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer,
185 if (buffer == null) {
186 buffer = new CharArrayBuffer(len)
    [all...]
  /external/apache-http/src/org/apache/http/impl/auth/
AuthSchemeBase.java 84 CharArrayBuffer buffer; local
87 buffer = ((FormattedHeader) header).getBuffer();
94 buffer = new CharArrayBuffer(s.length());
95 buffer.append(s);
98 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) {
102 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) {
106 String s = buffer.substring(beginIndex, endIndex);
111 parseChallenge(buffer, pos, buffer.length())
    [all...]
  /external/chromium/chrome/browser/
clipboard_dispatcher.h 26 static bool ReadAvailableTypes(ui::Clipboard::Buffer buffer,
29 static bool ReadData(ui::Clipboard::Buffer buffer, const string16& type,
31 static bool ReadFilenames(ui::Clipboard::Buffer buffer,
  /external/chromium/testing/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/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/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/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/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...]

Completed in 1435 milliseconds

1 2 3 4 5 6 78 91011>>