/external/chromium/net/websockets/ |
H A D | 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 local 88 ParseWebSocketFrame( const char* buffer, int size, std::vector<FrameInfo>* frame_info) argument [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Same.java | 37 public void appendTo(StringBuffer buffer) {
argument 38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
|
/external/harfbuzz/contrib/ |
H A D | harfbuzz-freetype.h | 7 HB_Byte *buffer, HB_UInt *len);
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
H A D | 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); argument
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
H A D | 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 [all...] |
/external/v8/src/ |
H A D | 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);
|
H A D | dtoa.cc | 54 Vector<char> buffer, int* sign, int* length, int* point) { 66 buffer[0] = '0'; 67 buffer[1] = '\0'; 74 buffer[0] = '\0'; 82 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); 85 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); 89 buffer, length, point); 99 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point); 100 buffer[*length] = '\0'; 53 DoubleToAscii(double v, DtoaMode mode, int requested_digits, Vector<char> buffer, int* sign, int* length, int* point) argument
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | 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/ |
H A D | HarfbuzzSkia.h | 36 HB_Error harfbuzzSkiaGetTable(void* voidface, const HB_Tag, HB_Byte* buffer, HB_UInt* len);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | HarfbuzzSkia.h | 40 HB_Error harfbuzzSkiaGetTable(void* voidface, const HB_Tag, HB_Byte* buffer, HB_UInt* len);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | GlyphMapWx.cpp | 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 46 UChar lead = buffer[i * 2]; 47 UChar trail = buffer[i * 2 + 1]; 50 character = buffer[i];
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
H A D | ArgumentEncoder.cpp | 93 uint8_t* buffer = grow(1, size); local 95 memcpy(buffer, bytes, size); 100 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 102 *reinterpret_cast<bool*>(buffer) = n; 107 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 109 *reinterpret_cast<uint32_t*>(buffer) = n; 114 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 116 *reinterpret_cast<uint64_t*>(buffer) = n; 121 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 123 *reinterpret_cast<int32_t*>(buffer) 128 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 135 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local 142 uint8_t* buffer = grow(sizeof(n), sizeof(n)); local [all...] |
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/win/ |
H A D | InjectedBundleWin.cpp | 50 Vector<char> buffer(WKStringGetMaximumUTF8CStringSize(string)); 51 WKStringGetUTF8CString(string, buffer.data(), buffer.size()); 54 webProcessCrashingEvent = ::CreateEventA(0, FALSE, FALSE, buffer.data());
|
/external/apache-http/src/org/apache/http/cookie/ |
H A D | CookieOrigin.java | 95 StringBuilder buffer = new StringBuilder(); 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/icu4c/tools/genrb/ |
H A D | rbutil.c | 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) argument 83 buffer[length++]= digits[digit]; 88 buffer[length++] = '0';/*zero padding */ 93 buffer[length++]='-'; 96 /* null terminate the buffer */ 98 buffer[length] = 0x0000; 106 temp = buffer[(length-1) - j]; 107 buffer[(length-1) - j] = buffer[j]; 108 buffer[ [all...] |
/external/openssl/crypto/rc4/ |
H A D | rc4s.cpp | 39 unsigned char buffer[1024]; local 59 RC4(&ctx,numm,buffer,buffer); 61 RC4(&ctx,numm,buffer,buffer); 64 RC4(&ctx,num,buffer,buffer); 66 RC4(&ctx,num,buffer,buffer);
|
/external/icu4c/samples/ustring/ |
H A D | ustring.cpp | 151 UChar buffer[32]; local 156 buffer[0]=0; /* empty, NUL-terminated string */ 157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */ 158 u_strcat(buffer, appendText); /* buffer=="Aabc" */ 159 length=u_strlen(buffer); /* length=4 */ 160 printUString("should be \"Aabc\": ", buffer, -1); 162 /* bitwise comparing buffer with text */ 163 compare=u_strcmp(buffer, text); 168 /* Build "A<sharp s>C" in the buffer 196 UChar buffer[32]; local 567 UChar buffer[200]; local [all...] |
/external/e2fsprogs/lib/ss/ |
H A D | list_rqs.c | 33 char buffer[BUFSIZ]; local 57 buffer[0] = '\0'; 62 strncat(buffer, *name, len); 65 strcat(buffer, ", "); 69 strcat(buffer, NL); 70 fputs(buffer, output); 72 buffer[0] = '\0'; 74 strncat(buffer, twentyfive_spaces, 25-spacing); 75 strcat(buffer, entry->info_string); 76 strcat(buffer, N [all...] |
/external/icu4c/io/ |
H A D | sscanf.c | 34 u_sscanf(const UChar *buffer, argument 42 converted = u_vsscanf(buffer, patternSpecification, ap); 49 u_sscanf_u(const UChar *buffer, argument 57 converted = u_vsscanf_u(buffer, patternSpecification, ap); 64 u_vsscanf(const UChar *buffer, argument 86 converted = u_vsscanf_u(buffer, pattern, ap); 97 u_vsscanf_u(const UChar *buffer, argument 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer [all...] |
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
H A D | URLQueryCanonicalizer.h | 44 static void canonicalize(const InChar* spec, const URLComponent& query, URLBuffer<OutChar>& buffer, URLComponent& resultQuery) argument 51 buffer->append('?'); 52 resultQuery.setBegin(buffer->length()); 53 convertToQueryEncoding(spec, query, buffer); 54 resultQuery.setLength(buffer->length() - resultQuery.begin()); 79 static void appendRaw8BitQueryString(const InChar* source, int length, URLBuffer<OutChar>* buffer) argument 84 appendURLEscapedCharacter(static_cast<unsigned char>(source[i]), buffer); local 86 buffer->append(static_cast<char>(source[i])); 90 static void convertToQueryEncoding(const InChar* spec, const URLComponent& query, URLBuffer<OutChar>& buffer) argument 93 appendRaw8BitQueryString(&spec[query.begin()], query.length(), buffer); [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | FontCustomPlatformData.cpp | 46 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer) argument 48 ASSERT_ARG(buffer, buffer); 51 OpenTypeSanitizer sanitizer(buffer); 55 buffer = transcodeBuffer.get(); 58 if (isWOFF(buffer)) { 60 if (!convertWOFFToSfnt(buffer, sfnt)) 64 buffer = sfntBuffer.get(); 73 RetainPtr<CFDataRef> bufferData(AdoptCF, buffer->createCFData()); 83 ATSFontActivateFromMemory((void*)buffer [all...] |
/external/chromium/third_party/libevent/ |
H A D | buffer.c | 71 struct evbuffer *buffer; local 73 buffer = calloc(1, sizeof(struct evbuffer)); 75 return (buffer); 79 evbuffer_free(struct evbuffer *buffer) argument 81 if (buffer->orig_buffer != NULL) 82 free(buffer->orig_buffer); 83 free(buffer); 87 * This is a destructive add. The data from one buffer moves into 88 * the other buffer. 92 (x)->buffer 139 char *buffer; local 211 evbuffer_readline(struct evbuffer *buffer) argument 408 evbuffer_write(struct evbuffer *buffer, int fd) argument 427 evbuffer_find(struct evbuffer *buffer, const u_char *what, size_t len) argument 444 evbuffer_setcb(struct evbuffer *buffer, void (*cb)(struct evbuffer *, size_t, size_t, void *), void *cbarg) argument [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
H A D | AtomicString.cpp | 202 static unsigned hash(const HashAndCharacters& buffer) argument 204 ASSERT(buffer.hash == StringHasher::computeHash(buffer.characters, buffer.length)); 205 return buffer.hash; 208 static bool equal(StringImpl* const& string, const HashAndCharacters& buffer) argument 210 return WTF::equal(string, buffer.characters, buffer.length); 213 static void translate(StringImpl*& location, const HashAndCharacters& buffer, unsigned hash) argument 215 location = StringImpl::create(buffer 229 hash(const HashAndUTF8Characters& buffer) argument 234 equal(StringImpl* const& string, const HashAndUTF8Characters& buffer) argument 254 translate(StringImpl*& location, const HashAndUTF8Characters& buffer, unsigned hash) argument 356 HashAndUTF8Characters buffer; local [all...] |
/external/bluetooth/bluez/audio/ |
H A D | gstsbcdec.c | 59 static GstFlowReturn sbc_dec_chain(GstPad *pad, GstBuffer *buffer) argument 68 if (dec->buffer) { 69 GstBuffer *temp = buffer; 70 buffer = gst_buffer_span(dec->buffer, 0, buffer, 71 GST_BUFFER_SIZE(dec->buffer) + GST_BUFFER_SIZE(buffer)); 73 gst_buffer_unref(dec->buffer); 74 dec->buffer [all...] |
/external/apache-http/src/org/apache/http/message/ |
H A D | BasicLineFormatter.java | 81 * Obtains a buffer for formatting. 83 * @param buffer a buffer already available, or <code>null</code> 85 * @return the cleared argument buffer if there is one, or 86 * a new empty buffer that can be used for formatting 88 protected CharArrayBuffer initBuffer(CharArrayBuffer buffer) { argument 89 if (buffer != null) { 90 buffer.clear(); 92 buffer = new CharArrayBuffer(64); 94 return buffer; 118 appendProtocolVersion(final CharArrayBuffer buffer, final ProtocolVersion version) argument 177 formatRequestLine(CharArrayBuffer buffer, RequestLine reqline) argument 199 doFormatRequestLine(final CharArrayBuffer buffer, final RequestLine reqline) argument 237 formatStatusLine(final CharArrayBuffer buffer, final StatusLine statline) argument 259 doFormatStatusLine(final CharArrayBuffer buffer, final StatusLine statline) argument 299 formatHeader(CharArrayBuffer buffer, Header header) argument 327 doFormatHeader(final CharArrayBuffer buffer, final Header header) argument [all...] |