/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace_printer.cc | 29 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no, 36 buffer->append("%c", *p); 42 buffer->append("%%"); 46 buffer->append("%zu", frame_no); 49 buffer->append("0x%zx", info.address); 52 buffer->append("%s", StripPathPrefix(info.module, strip_path_prefix)); 55 buffer->append("0x%zx", info.module_offset); 58 buffer->append("%s", StripFunctionName(info.function, strip_func_prefix)); 61 buffer->append("0x%zx", info.function_offset != AddressInfo::kUnknown 66 buffer->append("%s", StripPathPrefix(info.file, strip_path_prefix)) [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...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
byte_array_utils.h | 36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, 42 ByteArrayUtils::writeUint8AndAdvancePosition(buffer, data, pos); 45 ByteArrayUtils::writeUint16AndAdvancePosition(buffer, data, pos); 48 ByteArrayUtils::writeUint24AndAdvancePosition(buffer, data, pos); 51 ByteArrayUtils::writeUint32AndAdvancePosition(buffer, data, pos); 63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) { 64 return (buffer[pos] << 24) ^ (buffer[pos + 1] << 16) 65 ^ (buffer[pos + 2] << 8) ^ buffer[pos + 3] [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
NativeBuffers.java | 44 * Allocates a native buffer, of at least the given size, from the heap. 53 * Returns a native buffer, of at least the given size, from the thread 61 NativeBuffer buffer = buffers[i]; local 62 if (buffer != null && buffer.size() >= size) { 64 return buffer; 72 * Returns a native buffer, of at least the given size. The native buffer 77 NativeBuffer buffer = getNativeBufferFromCache(size); local 78 if (buffer != null) 144 NativeBuffer buffer = getNativeBuffer(cstr.length+1); local [all...] |
/external/libbrillo/brillo/ |
any_internal_impl_unittest.cc | 10 using brillo::internal_details::Buffer; 13 TEST(Buffer, Empty) { 14 Buffer buffer; local 15 EXPECT_TRUE(buffer.IsEmpty()); 16 EXPECT_EQ(Buffer::kExternal, buffer.storage_); 17 EXPECT_EQ(nullptr, buffer.GetDataPtr()); 20 TEST(Buffer, Store_Int) { 21 Buffer buffer local 29 Buffer buffer; local 37 Buffer buffer; local 67 Buffer buffer; local 75 Buffer buffer; local [all...] |
/external/clang/test/CodeGenCXX/ |
2007-01-02-UnboundedArray.cpp | 8 char buffer[]; member in struct:Object
|
mangle-literal-suffix.cpp | 4 template <class T> void g3(char (&buffer)[sizeof(T() + 5.0)]) {} 8 template <class T> void g4(char (&buffer)[sizeof(T() + 5.0L)]) {} 13 template <class T> void g5(char (&buffer)[sizeof(T() + 5)]) {} 17 template <class T> void g6(char (&buffer)[sizeof(T() + 5L)]) {}
|
/external/clang/test/PCH/ |
va_arg.cpp | 16 void f(char *buffer, unsigned count, const char* format, va_list argptr) { 17 vsnprintf(buffer, count, format, argptr); 20 void g(char *buffer, const char *format, __ms_va_list argptr) { 21 wvsprintfA(buffer, format, argptr);
|
/external/compiler-rt/test/safestack/ |
overflow.c | 7 // Test that buffer overflows on the unsafe stack do not affect variables on the 13 void fct(volatile int *buffer) 15 memset(buffer - 1, 0, 7 * sizeof(int)); 22 int buffer[5]; local 27 fct(buffer);
|
/external/curl/src/ |
tool_getpass.h | 33 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
|
/external/llvm/utils/ |
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/nanopb-c/examples/using_double_on_avr/ |
encode_double.c | 17 uint8_t buffer[32]; local 18 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); 21 fwrite(buffer, 1, stream.bytes_written, stdout);
|
/external/swiftshader/third_party/LLVM/utils/ |
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/syslinux/com32/hdt/ |
hdt-menu-syslinux.c | 36 char buffer[SUBMENULEN + 1]; local 47 snprintf(buffer, sizeof buffer, "Bootloader : %s", hardware->syslinux_fs); 50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 53 snprintf(buffer, sizeof buffer, "Version : %s", 57 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 60 snprintf(buffer, sizeof buffer, "Version : %u", hardware->sv->version); 63 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0) [all...] |
hdt-util.h | 33 void sectors_to_size_dec2(int sectors, char *buffer);
|
/external/v8/src/s390/ |
cpu-s390.cc | 14 void CpuFeatures::FlushICache(void* buffer, size_t size) {
|
/external/v8/src/ |
strtod.h | 13 // The buffer must only contain digits in the range [0-9]. It must not 15 double Strtod(Vector<const char> buffer, int exponent);
|
/external/vboot_reference/firmware/lib/cgptlib/include/ |
crc32.h | 10 uint32_t Crc32(const void *buffer, uint32_t len);
|
/frameworks/base/core/java/android/hardware/ |
SerialPort.java | 80 * Reads data into the provided buffer. 81 * Note that the value returned by {@link java.nio.Buffer#position()} on this buffer is 84 * @param buffer to read into 87 public int read(ByteBuffer buffer) throws IOException { 88 if (buffer.isDirect()) { 89 return native_read_direct(buffer, buffer.remaining()); 90 } else if (buffer.hasArray()) { 91 return native_read_array(buffer.array(), buffer.remaining()) [all...] |
/frameworks/base/libs/hwui/renderstate/ |
PixelBufferState.cpp | 23 bool PixelBufferState::bind(GLuint buffer) { 24 if (mCurrentPixelBuffer != buffer) { 25 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); 26 mCurrentPixelBuffer = buffer;
|
/hardware/interfaces/audio/effect/2.0/ |
IEffectBufferProviderCallback.hal | 25 * Called to retrieve a buffer where data should read from by 'process' 28 * @return buffer audio buffer for processing 30 getBuffer() generates (AudioBuffer buffer); 33 * Called to provide a buffer with the data written by 'process' function. 35 * @param buffer audio buffer for processing 37 putBuffer(AudioBuffer buffer);
|
/hardware/interfaces/audio/effect/4.0/ |
IEffectBufferProviderCallback.hal | 25 * Called to retrieve a buffer where data should read from by 'process' 28 * @return buffer audio buffer for processing 30 getBuffer() generates (AudioBuffer buffer); 33 * Called to provide a buffer with the data written by 'process' function. 35 * @param buffer audio buffer for processing 37 putBuffer(AudioBuffer buffer);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mmix/ |
err-bpo1.s | 6 buffer OCTA 0,0,0 label 9 GREG buffer 11 SAVE buffer,0 % { dg-error "operands" "" } 12 UNSAVE 0,buffer % { dg-error "operands" "" }
|
/external/fio/exp/ |
test-expression-parser.c | 27 extern int evaluate_arithmetic_expression(const char *buffer, long long *ival, 35 char buffer[100]; local 38 if (fgets(buffer, 90, stdin) == NULL) 40 rc = strlen(buffer); 41 if (rc > 0 && buffer[rc - 1] == '\n') 42 buffer[rc - 1] = '\0'; 43 rc = evaluate_arithmetic_expression(buffer, &result, &dresult, 1.0, 0);
|
/external/v8/src/base/ |
file-utils.cc | 15 char* RelativePath(char** buffer, const char* exec_path, const char* name) { 24 *buffer = 26 *buffer[0] = '\0'; 27 strncat(*buffer, exec_path, path_separator + 1); 28 strncat(*buffer, name, name_length); 30 *buffer = strdup(name); 32 return *buffer;
|