/external/v8/test/cctest/ |
test-bignum-dtoa.cc | 61 Vector<char> buffer(buffer_container, kBufferSize); 65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); 66 CHECK_EQ("1", buffer.start()); 69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); 71 TrimRepresentation(buffer); 72 CHECK_EQ("1", buffer.start()); 75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); 77 TrimRepresentation(buffer); 78 CHECK_EQ("1", buffer.start()); 81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point) [all...] |
/external/elfutils/libasm/ |
asm_error.c | 57 /* If we have not yet initialized the buffer do it now. */ 62 /* We have a key. Use it to get the thread-specific buffer. */ 63 int *buffer = getspecific (key); local 64 if (buffer == NULL) 66 /* No buffer allocated so far. */ 67 buffer = (int *) malloc (sizeof (int)); 68 if (buffer == NULL) 69 /* No more memory available. We use the static buffer. */ 70 buffer = &global_error; 72 setspecific (key, buffer); 98 int *buffer = getspecific (key); local 144 int *buffer = (int *) getspecific (key); local [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
MessageProtocol.java | 43 * and provides a rolling message buffer. ByteBuffers can be 65 * then a 32k byte buffer will be created and filled. 70 ByteBuffer buffer = target == null ? ByteBuffer.allocate( 32767 + 2 ) : target; local 73 buffer.position( 2 ); 74 Serializer.writeClassAndObject( buffer, message ); 75 buffer.flip(); 76 short dataLength = (short)(buffer.remaining() - 2); 77 buffer.putShort( dataLength ); 78 buffer.position( 0 ); 80 return buffer; [all...] |
/external/llvm/utils/ |
DSAclean.py | 21 buffer = input.readline() variable 22 while buffer != '': 23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer): 25 buffer = input.readline() variable 28 output.write(buffer) 30 buffer = input.readline() variable
|
DSAextract.py | 59 buffer = input.readline() variable 60 while buffer != '': 62 if not arrowexp.search(buffer): 67 if regexp.search(buffer): 68 node_set |= set([re.split('\s+',buffer,2)[1]]) 70 buffer = input.readline() variable 86 buffer = input.readline() variable 87 while buffer != '': 95 if arrowexp.search(buffer): 98 nodes = arrowexp.split(buffer) 110 buffer = input.readline() variable [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-sizeof.cpp | 5 int buffer[n]; local 6 [] { int x = sizeof(sizeof(buffer)); }();
|
instantiate-typeof.cpp | 5 int buffer[n]; // expected-note {{declared here}} local 6 [] { __typeof(buffer) x; }(); // expected-error {{variable 'buffer' with variably modified type cannot be captured in a lambda expression}}
|
/external/valgrind/main/none/tests/ |
coolo_strlen.c | 5 char buffer[200] = "HALLO"; local 6 char *b2 = strdup(strcat(buffer, "THis is a very long strings"));
|
/external/webkit/Source/WebKit/chromium/src/ |
ChromiumOSRandomSource.cpp | 39 void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length) 41 WebKit::webKitClient()->cryptographicallyRandomValues(buffer, length);
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
wrapper_output.cpp | 19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { 22 if (!Write(buffer[i])) return false;
|
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
UnboundedFifoByteBuffer.java | 26 * UnboundedFifoByteBuffer is a very efficient buffer implementation.
41 * Buffer fifo = BufferUtils.synchronizedBuffer(new UnboundedFifoByteBuffer());
44 * This buffer prevents null objects from being added.
57 protected byte[] buffer;
field in class:UnboundedFifoByteBuffer 77 * @param initialSize the initial size of the buffer
84 buffer = new byte[initialSize + 1];
90 * Returns the number of elements stored in the buffer.
92 * @return this buffer's size
98 size = buffer.length - head + tail;
107 * Returns true if this buffer is empty; false otherwise. [all...] |
/external/openssh/ |
bufaux.c | 50 #include "buffer.h" 55 * Returns integers from the buffer (msb first). 59 buffer_get_short_ret(u_short *ret, Buffer *buffer) 63 if (buffer_get_ret(buffer, (char *) buf, 2) == -1) 70 buffer_get_short(Buffer *buffer) 74 if (buffer_get_short_ret(&ret, buffer) == -1) 75 fatal("buffer_get_short: buffer error"); 81 buffer_get_int_ret(u_int *ret, Buffer *buffer [all...] |
/external/e2fsprogs/ext2ed/ |
group_com.c | 25 char *ptr,buffer [80]; local 27 ptr=parse_word (command_line,buffer); 29 ptr=parse_word (ptr,buffer); 30 entry_offset=atol (buffer); 33 sprintf (buffer,"entry %ld",group_info.group_num+entry_offset); 34 dispatch (buffer); 41 char *ptr,buffer [80]; local 43 ptr=parse_word (command_line,buffer); 45 ptr=parse_word (ptr,buffer); 46 entry_offset=atol (buffer); 57 char *ptr,buffer [80]; local 83 char *ptr,buffer [80]; local 138 char buffer [80]; local 149 char buffer [80]; local 163 char buffer [80]; local [all...] |
/external/clang/test/CodeGenCXX/ |
2007-01-02-UnboundedArray.cpp | 8 char buffer[]; member in struct:Object
|
/external/qemu/android/utils/ |
timezone.h | 20 /* append the current host "zoneinfo" timezone name to a given buffer. note 29 extern char* bufprint_zoneinfo_timezone( char* buffer, char* end );
|
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
SDL_dcvideo.h | 39 void *buffer; member in struct:SDL_PrivateVideoData
|
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
SDL_nullvideo.h | 37 void *buffer; member in struct:SDL_PrivateVideoData
|
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
SDL_ipodvideo.h | 33 char *buffer; member in struct:SDL_PrivateVideoData
|
/external/skia/src/ports/ |
SkDebug_win.cpp | 20 char buffer[kBufferSize + 1]; local 23 vsnprintf(buffer, kBufferSize, format, args); 26 OutputDebugStringA(buffer); 27 printf(buffer);
|
/external/v8/src/ |
strtod.h | 34 // The buffer must only contain digits in the range [0-9]. It must not 36 double Strtod(Vector<const char> buffer, int exponent);
|
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
URLEscape.h | 40 inline void appendURLEscapedCharacter(InChar ch, URLBuffer<OutChar>& buffer) 42 buffer.append('%'); 43 buffer.append(hexCharacterTable[ch >> 4]); 44 buffer.append(hexCharacterTable[ch & 0xf]);
|
/external/webkit/Source/WebCore/platform/mac/ |
KURLMac.mm | 41 Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string 42 char* bytes = &buffer[5]; 50 buffer[0] = 'f'; 51 buffer[1] = 'i'; 52 buffer[2] = 'l'; 53 buffer[3] = 'e'; 54 buffer[4] = ':'; 56 parse(buffer.data(), 0);
|
/external/webkit/Source/WebCore/platform/qt/ |
SharedBufferQt.cpp | 42 Vector<char> buffer(file.size()); 43 file.read(buffer.data(), buffer.size()); 44 return SharedBuffer::adoptVector(buffer);
|
/frameworks/base/core/java/android/hardware/ |
SerialPort.java | 85 * Reads data into the provided buffer 87 * @param buffer to read into 90 public int read(ByteBuffer buffer) throws IOException { 91 if (buffer.isDirect()) { 92 return native_read_direct(buffer, buffer.remaining()); 93 } else if (buffer.hasArray()) { 94 return native_read_array(buffer.array(), buffer.remaining()); 96 throw new IllegalArgumentException("buffer is not direct and has no array") [all...] |
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 33 private static boolean isSelecting(Spannable buffer) { 34 return ((MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SHIFT_ON) == 1) || 35 (MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SELECTING) != 0)); 38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); 51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, 58 && MetaKeyKeyListener.getMetaState(buffer, 65 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event); 69 protected boolean left(TextView widget, Spannable buffer) { 71 if (isSelecting(buffer)) { [all...] |