/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/ |
sha1.h | 21 u_char buffer[64]; member in struct:__anon42028
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/ |
sha1.h | 21 u_char buffer[64]; member in struct:__anon42474
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/ |
sha1.h | 21 u_char buffer[64]; member in struct:__anon42922
|
/system/core/adb/ |
remount_service.c | 104 char buffer[200]; local 105 snprintf(buffer, sizeof(buffer), "remount failed: %s\n", strerror(errno)); 106 write_string(fd, buffer);
|
/system/core/libcutils/ |
debugger.c | 75 char buffer[4096]; local 77 while ((n = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)))) > 0) { 78 if (TEMP_FAILURE_RETRY(write(fd, buffer, n)) != n) {
|
/system/core/libdiskconfig/ |
diskutils.c | 37 uint8_t buffer[2048]; local 62 if ((nr_bytes = read(src_fd, buffer, sizeof(buffer))) < 0) { 83 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) {
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSound.cpp | 69 android::sp<Buffer> buffer; local 74 buffer = Buffer::loadFromFile(tokens->at(1)); 83 buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, amplitude, 93 buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, amplitude, 97 // next buffer check will return 100 if (buffer.get() == NULL) { 103 if (!getTestCase()->registerBuffer(id, buffer)) { 104 LOGE("TaskSound::run registering buffer %s failed", id.string()) [all...] |
/dalvik/dx/src/com/android/dx/io/ |
Annotation.java | 25 private final DexBuffer buffer; field in class:Annotation 31 public Annotation(DexBuffer buffer, byte visibility, int typeIndex, int[] names, 33 this.buffer = buffer; 84 if (buffer == null) { 91 result.append(buffer.typeNames().get(typeIndex)); 97 result.append(buffer.strings().get(names[i]));
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPowerEvent.java | 70 * Buffer an event to be logged later. 107 StringBuffer buffer = new StringBuffer(); local 110 buffer.append(MonkeyUtils.toCalendarTime(event.getAsLong("date"))); 111 buffer.append(event.getAsString("tag")); 114 buffer.append(" "); 115 buffer.append(value.replace('\n', '/')); 117 buffer.append("\n"); 120 writer.write(buffer.toString());
|
/external/apache-http/src/org/apache/http/auth/ |
NTCredentials.java | 171 StringBuilder buffer = new StringBuilder(); local 172 buffer.append("[principal: "); 173 buffer.append(this.principal); 174 buffer.append("][workstation: "); 175 buffer.append(this.workstation); 176 buffer.append("]"); 177 return buffer.toString();
|
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderElement.java | 223 CharArrayBuffer buffer = new CharArrayBuffer(64); local 224 buffer.append(this.name); 226 buffer.append("="); 227 buffer.append(this.value); 230 buffer.append("; "); 231 buffer.append(this.parameters[i]); 233 return buffer.toString();
|
/external/dropbear/ |
session.h | 30 #include "buffer.h" 102 buffer *writepayload; /* Unencrypted payload to write - this is used 104 buffer with the packet to send. */ 106 buffer *readbuf; /* Encrypted */ 107 buffer *decryptreadbuf; /* Post-decryption */ 108 buffer *payload; /* Post-decompression, the actual SSH packet */ 137 buffer* kexhashbuf; /* session hash buffer calculated from various packets*/ 138 buffer* transkexinit; /* the kexinit packet we send should be kept so we 141 algo_type*(*buf_match_algo)(buffer*buf, algo_type localalgos[] [all...] |
/external/expat/tests/ |
chardata.c | 85 char buffer[1280]; local 95 sprintf(buffer, "wrong number of data characters:" 98 sprintf(buffer, 101 fail(buffer); 114 char buffer[1024]; local 121 sprintf(buffer, "wrong number of data characters: got %d, expected %d", 123 fail(buffer);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
CollectionSerializer.java | 81 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 85 buffer.putInt(length); 100 buffer.put((byte)1); 101 Serializer.writeClass(buffer, elementClass); 105 serializer.writeObject(buffer, elem); 108 buffer.put((byte)0); 110 Serializer.writeClassAndObject(buffer, elem);
|
/external/jpeg/ |
jerror.c | 61 * The setjmp buffer can be made a private field within an expanded error 100 char buffer[JMSG_LENGTH_MAX]; local 103 (*cinfo->err->format_message) (cinfo, buffer); 107 MessageBox(GetActiveWindow(), buffer, "JPEG Library Error", local 111 fprintf(stderr, "%s\n", buffer); 151 * The message is stored into buffer, which should be at least JMSG_LENGTH_MAX 157 format_message (j_common_ptr cinfo, char * buffer) 191 /* Format the message into the passed buffer */ 193 sprintf(buffer, msgtext, err->msg_parm.s); 195 sprintf(buffer, msgtext [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
FullFrame.java | 182 StringBuffer buffer = new StringBuffer(super.toString()).append("Var: "); local 186 buffer = buffer.append('[') 191 buffer.append(", Stack: "); 195 buffer = buffer.append('[') 200 return buffer.toString();
|
/external/qemu/distrib/jpeg-6b/ |
jerror.c | 61 * The setjmp buffer can be made a private field within an expanded error 100 char buffer[JMSG_LENGTH_MAX]; local 103 (*cinfo->err->format_message) (cinfo, buffer); 107 MessageBox(GetActiveWindow(), buffer, "JPEG Library Error", local 111 fprintf(stderr, "%s\n", buffer); 151 * The message is stored into buffer, which should be at least JMSG_LENGTH_MAX 157 format_message (j_common_ptr cinfo, char * buffer) 191 /* Format the message into the passed buffer */ 193 sprintf(buffer, msgtext, err->msg_parm.s); 195 sprintf(buffer, msgtext [all...] |
/external/skia/src/core/ |
SkColorTable.cpp | 141 SkColorTable::SkColorTable(SkFlattenableReadBuffer& buffer) { 146 fFlags = buffer.readUInt(); 147 fCount = buffer.getArrayCount(); 149 SkDEBUGCODE(const uint32_t countRead =) buffer.readColorArray(fColors); 156 void SkColorTable::flatten(SkFlattenableWriteBuffer& buffer) const { 157 buffer.writeUInt(fFlags); 158 buffer.writeColorArray(fColors, fCount);
|
/external/skia/src/effects/ |
SkColorFilters.cpp | 81 virtual void flatten(SkFlattenableWriteBuffer& buffer) const SK_OVERRIDE { 82 this->INHERITED::flatten(buffer); 83 buffer.writeColor(fColor); 84 buffer.writeUInt(fMode); 87 SkModeColorFilter(SkFlattenableReadBuffer& buffer) { 88 fColor = buffer.readColor(); 89 fMode = (SkXfermode::Mode)buffer.readUInt(); 136 Src_SkModeColorFilter(SkFlattenableReadBuffer& buffer) 137 : INHERITED(buffer) {} 172 SrcOver_SkModeColorFilter(SkFlattenableReadBuffer& buffer) [all...] |
/external/skia/tests/ |
ToUnicode.cpp | 17 const char* buffer, size_t len) { 22 if (len != strlen(buffer)) { 25 return memcmp(data->bytes() + offset, buffer, len) == 0; 71 SkDynamicMemoryWStream buffer; local 73 append_cmap_sections(glyphToUnicode, &subset, &buffer); 89 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 90 buffer.getOffset()));
|
/frameworks/base/core/java/android/content/res/ |
StringBlock.java | 170 SpannableString buffer = new SpannableString(str); 179 buffer.setSpan(new StyleSpan(Typeface.BOLD), 183 buffer.setSpan(new StyleSpan(Typeface.ITALIC), 187 buffer.setSpan(new UnderlineSpan(), 191 buffer.setSpan(new TypefaceSpan("monospace"), 195 buffer.setSpan(new RelativeSizeSpan(1.25f), 199 buffer.setSpan(new RelativeSizeSpan(0.8f), 203 buffer.setSpan(new SubscriptSpan(), 207 buffer.setSpan(new SuperscriptSpan(), 211 buffer.setSpan(new StrikethroughSpan() [all...] |
/libcore/luni/src/main/java/java/util/ |
AbstractCollection.java | 368 StringBuilder buffer = new StringBuilder(size() * 16); local 369 buffer.append('['); 374 buffer.append(next); 376 buffer.append("(this Collection)"); 379 buffer.append(", "); 382 buffer.append(']'); 383 return buffer.toString();
|
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
AndFileFilter.java | 155 StringBuffer buffer = new StringBuffer();
local 156 buffer.append(super.toString());
157 buffer.append("(");
161 buffer.append(",");
164 buffer.append(filter == null ? "null" : filter.toString());
167 buffer.append(")");
168 return buffer.toString();
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
RamDisk.java | 58 final byte[] buffer = new byte[4096]; 60 int read = zis.read(buffer); 65 bos.write(buffer, 0, read); 66 read = zis.read(buffer); 76 private RamDisk(ByteBuffer buffer, int sectorSize) { 77 this.size = buffer.limit(); 79 this.data = buffer; 152 * {@code RamDisk} as it's backing store. The returned buffer will be 156 * @return a buffer holding the contents of this {@code RamDisk}
|
/development/host/windows/usb/api/ |
adb_legacy_endpoint_object.cpp | 45 void* buffer,
83 buffer,
88 buffer,
97 transfer_param.SetWriteBuffer(is_read ? NULL : buffer);
102 is_read ? buffer : adb_io_completion->transferred_bytes_ptr(),
129 void* buffer,
155 ReadFile(usb_handle(), buffer, bytes_to_transfer, bytes_transferred, &overlapped) :
156 WriteFile(usb_handle(), buffer, bytes_to_transfer, bytes_transferred, &overlapped);
162 transfer_param.SetWriteBuffer(is_read ? NULL : buffer);
168 is_read ? buffer : &ioctl_write_transferred, [all...] |