/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 296 StringBuffer buffer = new StringBuffer(); local 302 buffer.append("*** WARNING *** "); 303 buffer.append(Messages.bind(Messages.standardError, PERCENT_FORMAT.format(resultStats[1]), STANDARD_ERROR_THRESHOLD_STRING)); 305 return buffer.toString(); 309 buffer.append("<font color=\"#0000FF\" size=\"1\">"); 311 buffer.append(" [n/a]"); 316 buffer.append(DEVIATION_FORMAT.format(deviation)); 317 buffer.append("</font><font color=\"#DDDD00\" size=\"1\"> "); 318 buffer.append(" [n/a]"); 320 buffer.append(DEVIATION_FORMAT.format(deviation)) [all...] |
GenerateResults.java | 204 StringBuffer buffer = new StringBuffer("Parameters used to generate performance results ("); local 205 buffer.append(new SimpleDateFormat().format(new Date(System.currentTimeMillis()))); 206 buffer.append("):\n"); 234 buffer.append(" -baseline = "+baseline+'\n'); 244 buffer.append(" ").append(arg).append(" = ").append(this.baselinePrefix).append('\n'); 254 buffer.append(" ").append(arg).append(" = "); 259 buffer.append(ids[j]); 261 buffer.append('\n'); 270 buffer.append(" ").append(arg).append(" = "); 275 buffer.append(ids[j]) [all...] |
/external/openssl/apps/ |
ecparam.c | 136 unsigned char *buffer = NULL; local 538 buffer = (unsigned char *)OPENSSL_malloc(buf_len); 540 if (buffer == NULL) 546 ecparam_print_var(out, ec_p, "ec_p", len, buffer); 547 ecparam_print_var(out, ec_a, "ec_a", len, buffer); 548 ecparam_print_var(out, ec_b, "ec_b", len, buffer); 549 ecparam_print_var(out, ec_gen, "ec_gen", len, buffer); 550 ecparam_print_var(out, ec_order, "ec_order", len, buffer); 552 buffer); 689 if (buffer) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_wimpvideo.c | 88 char *buffer = NULL; local 136 buffer = WIMP_CreateBuffer(width, height, bpp); 137 if (buffer == NULL) 143 this->hidden->bank[0] = buffer + 60; /* Start of sprite data */ 146 this->hidden->bank[1] = buffer; /* Start of buffer */ 148 /* Remember sprite buffer so it can be freed later */ 150 this->hidden->alloc_bank = buffer; 443 char *buffer = NULL; local 454 buffer = WIMP_CreateBuffer(width, height, bpp) [all...] |
/cts/tools/dasm/src/java_cup/ |
production.java | 363 char buffer[]; local 374 buffer = new char[len + 1]; 375 act_string.getChars(0, len, buffer, 0); 377 /* put terminator in buffer so we can look one past the end */ 378 buffer[len] = '\0'; 380 /* walk down the input buffer looking for identifiers */ 388 if (!is_id_char(buffer[pos])) 391 id_str = new String(buffer, id_start, pos - id_start); 396 if (buffer[pos] != '\0') 397 result.append(buffer, pos, 1) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLEngineImplTest.java | 495 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); local 528 print(result = server.wrap(ByteBuffer.allocate(0), buffer)); 541 // tune buffer to be read 542 buffer.flip(); 545 print(client.unwrap(buffer, app_data_buffer)); 588 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); local 639 print(result = server.wrap(ByteBuffer.allocate(0), buffer)); 658 buffer.flip(); 663 print(client.unwrap(buffer, app_data_buffer)); 736 // buffer will contain handshake message 754 ByteBuffer buffer; local 895 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize+1000); local 1122 ByteBuffer buffer = ByteBuffer.allocate( local [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 385 CharArrayBuffer buffer = new CharArrayBuffer(128); local 387 buffer.append(AUTH.PROXY_AUTH_RESP); 389 buffer.append(AUTH.WWW_AUTH_RESP); 391 buffer.append(": Digest "); 424 buffer.append(", "); 429 .formatNameValuePair(buffer, param, !noQuotes); 431 return new BufferedHeader(buffer); 456 char[] buffer = new char[32]; local 460 buffer[i * 2] = HEXADECIMAL[high]; 461 buffer[(i * 2) + 1] = HEXADECIMAL[low] [all...] |
/external/bluetooth/bluedroid/stack/include/ |
hcimsgs.h | 473 HCI_API extern void btsnd_hcic_write_ext_inquiry_response(void *buffer, UINT8 fec_req); 482 #define btsnd_hcic_write_ext_inquiry_response(buffer, fec_req) [all...] |
/external/chromium/base/ |
pickle_unittest.cc | 98 scoped_array<char> buffer(new char[1]); 100 // We should not touch the buffer. 101 Pickle pickle(buffer.get(), 1); 110 int buffer[] = { 0x56035200, 25, 40, 50 }; local 112 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); 120 int buffer[] = { 10, 25, 40, 50 }; local 122 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); 182 scoped_array<char> buffer(new char[header_size - 1]) [all...] |
/external/iptables/extensions/ |
libxt_tcp.c | 43 char *buffer; local 46 buffer = strdup(portstring); 47 if ((cp = strchr(buffer, ':')) == NULL) 48 ports[0] = ports[1] = xtables_parse_port(buffer, "tcp"); 53 ports[0] = buffer[0] ? xtables_parse_port(buffer, "tcp") : 0; 60 free(buffer); 84 char *buffer; local 86 buffer = strdup(flags); 88 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) [all...] |
/external/ppp/pppd/plugins/radius/ |
config.c | 189 char buffer[512], *p; local 200 while ((fgets(buffer, sizeof(buffer), configfd) != NULL)) 203 p = buffer; 459 char buffer[128]; local 475 while (fgets (buffer, sizeof (buffer), clientfd) != (char *) NULL) 477 if (*buffer == '#') 480 if ((h = strtok (buffer, " \t\n")) == NULL) /* first hostname */ 537 memset (buffer, '\0', sizeof (buffer)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
SDL_mintaudio_xbios.c | 269 char *buffer; local 277 buffer = Atari_SysMalloc(SIZE_BUF_CLOCK_MEASURE, MX_STRAM); 278 if (buffer==NULL) { 282 SDL_memset(buffer, 0, SIZE_BUF_CLOCK_MEASURE); 294 Setbuffer(0, buffer, buffer + SIZE_BUF_CLOCK_MEASURE); /* Set buffer */ 328 Mfree(buffer); 389 void *buffer; local 425 /* Set buffer */ [all...] |
/external/skia/legacy/src/core/ |
SkBitmap.cpp | [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
NumberPrototype.cpp | 117 NumberToStringBuffer buffer; 119 ? DecimalNumber(x).toStringExponential(buffer, WTF::NumberToStringBufferLength) 120 : DecimalNumber(x, RoundingSignificantFigures, decimalPlacesInExponent + 1).toStringExponential(buffer, WTF::NumberToStringBufferLength); 122 return JSValue::encode(jsString(exec, UString(buffer, length))); 155 NumberToStringBuffer buffer; local 156 unsigned length = DecimalNumber(x, RoundingDecimalPlaces, decimalPlaces).toStringDecimal(buffer, WTF::NumberToStringBufferLength); 157 return JSValue::encode(jsString(exec, UString(buffer, length))); 196 NumberToStringBuffer buffer; local 198 ? number.toStringDecimal(buffer, WTF::NumberToStringBufferLength) 199 : number.toStringExponential(buffer, WTF::NumberToStringBufferLength) [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
common.cpp | 60 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer"); 64 "getBasePointer", "(Ljava/nio/Buffer;)J"); 66 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 68 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I"); 77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) 84 position = _env->GetIntField(buffer, positionID); 85 limit = _env->GetIntField(buffer, limitID); 86 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID); 89 getBasePointerID, buffer); 96 getBaseArrayID, buffer); [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.java | 307 StringBuffer key = new StringBuffer(), value = new StringBuffer(), buffer = key; local 320 buffer.append((char) unicode); 376 if (key.length() > 0 || buffer == value) { 381 buffer = key; 388 if (buffer == key) { 389 buffer = value; 399 if (buffer.length() == 0 || mode == IGNORE) { 402 if (buffer == key) { 413 buffer = value; 416 buffer.append((char) nextChar) [all...] |
/system/extras/tests/sdcard/ |
sysutil.cpp | 70 // Read a C-string from a file. If the buffer is too short, an error 73 // @param start Buffer where the data should be written to. 74 // @param size The size of the buffer pointed by str. Must be >= 1. 138 fprintf(stderr, "Buffer too small for %s\n", filename); 203 char buffer[16] = {0,}; local 204 sprintf(buffer, "%ld", value); 205 return writeStringToFile(filename, buffer); 209 // message is in a shared buffer, not thread safe, erased by 213 static char buffer[80]; local 217 snprintf(buffer, sizeof(buffer), "ok (%d)", WEXITSTATUS(status)) [all...] |
/external/llvm/include/llvm/ADT/ |
Hashing.h | 294 /// \brief Mix in a 64-byte buffer of data. 386 /// \brief Helper to store data from a value into a buffer and advance the 387 /// pointer into that buffer. 390 /// buffer, and if not immediately returns false. If there is space, it 391 /// copies the underlying bytes of value into the buffer, advances the 413 char buffer[64], *buffer_ptr = buffer; local 414 char *const buffer_end = buffer_ptr + array_lengthof(buffer); 419 return hash_short(buffer, buffer_ptr - buffer, seed) 504 char buffer[64]; member in struct:llvm::hashing::detail::hash_combine_recursive_helper [all...] |
/external/openssh/openbsd-compat/ |
sha2.c | 288 memset(context->buffer, 0, sizeof(context->buffer)); 461 /* Calculate how much free space is available in the buffer */ 465 /* Fill the buffer completely and process it */ 466 memcpy(&context->buffer[usedspace], data, freespace); 470 SHA256_Transform(context->state, context->buffer); 472 /* The buffer is not yet full */ 473 memcpy(&context->buffer[usedspace], data, len); 489 memcpy(context->buffer, data, len); 504 context->buffer[usedspace++] = 0x80 [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
Deque.h | 74 T& first() { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } 75 const T& first() const { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } 92 typedef VectorBuffer<T, inlineCapacity> Buffer; 106 Buffer m_buffer; 320 const T* otherBuffer = other.m_buffer.buffer(); 322 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_end, m_buffer.buffer() + m_start); 324 TypeOperations::uninitializedCopy(otherBuffer, otherBuffer + m_end, m_buffer.buffer()); 325 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_buffer.capacity(), m_buffer.buffer() + m_start); 341 // FIXME: This is inefficient if we're using an inline buffer and T is 342 // expensive to copy since it will copy the buffer twice instead of once [all...] |
/frameworks/av/media/libstagefright/ |
OggExtractor.cpp | 54 MediaBuffer **buffer, const ReadOptions *options = NULL); 78 status_t readNextPacket(MediaBuffer **buffer); 122 MediaBuffer *buffer, uint8_t type); 453 MediaBuffer *buffer = NULL; local 479 if (buffer != NULL) { 480 fullSize += buffer->range_length(); 483 if (buffer != NULL) { 484 memcpy(tmp->data(), buffer->data(), buffer->range_length()); 485 tmp->set_range(0, buffer->range_length()) 851 void *buffer = malloc(outLen); local [all...] |
/external/dropbear/ |
keyimport.c | 37 #include "buffer.h" 110 buffer * buf = NULL; 144 buffer * buf; 365 char buffer[256]; local 385 if (!fgets(buffer, sizeof(buffer), fp) || 386 0 != strncmp(buffer, "-----BEGIN ", 11) || 387 0 != strcmp(buffer+strlen(buffer)-17, "PRIVATE KEY-----\n")) { 391 if (!strcmp(buffer, "-----BEGIN RSA PRIVATE KEY-----\n") [all...] |
packet.c | 31 #include "buffer.h" 39 static void writemac(buffer * outputbuffer, buffer * clearwritebuf); 40 static int checkmac(buffer* hashbuf, buffer* readbuf); 45 static buffer* buf_decompress(buffer* buf, unsigned int len); 46 static void buf_compress(buffer * dest, buffer * src, unsigned int len); 53 buffer * writebuf = NULL [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsub-table.hh | 76 hb_codepoint_t glyph_id = c->buffer->cur().codepoint; 152 hb_codepoint_t glyph_id = c->buffer->cur().codepoint; 275 unsigned int klass = c->buffer->cur().glyph_props() & 279 set_lig_props_for_component (c->buffer->cur(), i); 282 c->buffer->skip_glyph (); 345 unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); 477 hb_codepoint_t glyph_id = c->buffer->cur().codepoint; 486 hb_mask_t glyph_mask = c->buffer->cur().mask; 636 c->buffer->merge_clusters (c->buffer->idx, c->buffer->idx + end_offset) [all...] |
/external/icu4c/common/ |
normalizer2impl.h | 73 * Decomposes c, which must be a Hangul syllable, into buffer 76 static inline int32_t decompose(UChar32 c, UChar buffer[3]) { 80 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); 81 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); 85 buffer[2]=(UChar)(JAMO_T_BASE+c2); 91 * Decomposes c, which must be a Hangul syllable, into buffer. 94 static inline void getRawDecomposition(UChar32 c, UChar buffer[2]) { 100 buffer[0]=(UChar)(JAMO_L_BASE+c/JAMO_V_COUNT); 101 buffer[1]=(UChar)(JAMO_V_BASE+c%JAMO_V_COUNT); 103 buffer[0]=orig-c2; // LV syllabl [all...] |