/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
ticon.h | 44 int console_send_buffer_to_host(tiUINT8 module_inedx, tiUINT8 *buffer, tiUINT16 length);
|
/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());
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete4.java | 84 StringBuilder buffer = null; local 87 buffer = new StringBuilder(); 88 buffer.append("UPPER("); 89 buffer.append(Contacts.ContactMethods.NAME); 90 buffer.append(") GLOB ?"); 95 buffer == null ? null : buffer.toString(), args,
|
/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();
|
AuthScope.java | 257 StringBuffer buffer = new StringBuffer(); local 259 buffer.append(this.scheme.toUpperCase(Locale.ENGLISH)); 260 buffer.append(' '); 263 buffer.append('\''); 264 buffer.append(this.realm); 265 buffer.append('\''); 267 buffer.append("<any realm>"); 270 buffer.append('@'); 271 buffer.append(this.host); 273 buffer.append(':') [all...] |
/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/chromium/base/third_party/xdg_user_dirs/ |
xdg_user_dir_lookup.cc | 53 char buffer[512]; local 90 while (fgets (buffer, sizeof (buffer), file)) 93 len = strlen (buffer); 94 if (len > 0 && buffer[len-1] == '\n') 95 buffer[len-1] = 0; 97 p = buffer;
|
/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/iptables/extensions/ |
libip6t_length.c | 45 char *buffer; local 48 buffer = strdup(s); 49 if ((cp = strchr(buffer, ':')) == NULL) 50 info->min = info->max = parse_length(buffer); 55 info->min = buffer[0] ? parse_length(buffer) : 0; 58 free(buffer);
|
libipt_2tcpmss.c | 43 char *buffer; local 46 buffer = strdup(mssvaluestring); 47 if ((cp = strchr(buffer, ':')) == NULL) 48 *mss_min = *mss_max = parse_tcp_mssvalue(buffer); 53 *mss_min = buffer[0] ? parse_tcp_mssvalue(buffer) : 0; 56 free(buffer);
|
libipt_length.c | 43 char *buffer; local 46 buffer = strdup(s); 47 if ((cp = strchr(buffer, ':')) == NULL) 48 info->min = info->max = parse_length(buffer); 53 info->min = buffer[0] ? parse_length(buffer) : 0; 56 free(buffer);
|
/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();
|
/frameworks/base/media/libstagefright/ |
MediaBuffer.cpp | 148 void MediaBuffer::setNextBuffer(MediaBuffer *buffer) { 149 mNextBuffer = buffer; 161 MediaBuffer *buffer = new MediaBuffer(mData, mSize); local 162 buffer->set_range(mRangeOffset, mRangeLength); 163 buffer->mMetaData = new MetaData(*mMetaData.get()); 166 buffer->mOriginal = this; 168 return buffer;
|
ShoutcastSource.cpp | 101 MediaBuffer *buffer; local 102 status_t err = mGroup->acquire_buffer(&buffer); 107 *out = buffer; 109 size_t num_bytes = buffer->size(); 114 ssize_t n = mHttp->receive(buffer->data(), num_bytes); 120 buffer->set_range(0, n); 147 // next buffer. XXX 148 buffer->meta_data()->setData('shou', 'shou', meta, meta_length);
|
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 234 * {@code buffer}. 236 * @param buffer 244 public int read(byte[] buffer) throws IOException { 245 return read(buffer, 0, buffer.length); 250 * byte array {@code buffer} starting at {@code offset}. 252 * @param buffer 255 * the initial position in {@code buffer} to store the bytes read 258 * the maximum number of bytes to store in {@code buffer}. 264 * {@code buffer} [all...] |
FileOutputStream.java | 245 * Writes the entire contents of the byte array {@code buffer} to this 248 * @param buffer 249 * the buffer to be written to the file. 255 public void write(byte[] buffer) throws IOException { 256 write(buffer, 0, buffer.length); 260 * Writes {@code count} bytes from the byte array {@code buffer} starting at 263 * @param buffer 264 * the buffer to write to this stream. 266 * the index of the first byte in {@code buffer} to write [all...] |
/libcore/luni/src/main/java/java/util/ |
AbstractCollection.java | 378 StringBuilder buffer = new StringBuilder(size() * 16); local 379 buffer.append('['); 384 buffer.append(next); 386 buffer.append("(this Collection)"); 389 buffer.append(", "); 392 buffer.append(']'); 393 return buffer.toString();
|
/libcore/luni/src/test/java/tests/api/java/io/ |
FilterWriterTest.java | 57 public void write(char[] buffer, int offset, int count) throws IOException { 150 char[] buffer = new char[5]; local 151 fw.write(buffer, 0, 5); 165 char[] buffer = new char[10]; local 171 fw.write(buffer, 0, -1); 178 fw.write(buffer, -1, 1); 185 fw.write(buffer, 10, 1);
|
/bootable/recovery/ |
encryptedfs_provisioning.c | 43 void get_property_file_name(char *buffer, const char *property_name) { 44 sprintf(buffer, "%s%s", encrypted_fs_property_dir, property_name); 47 int get_binary_file_contents(char *buffer, int buf_size, const char *file_name, int *out_size) { 57 read_bytes = fread(buffer, 1, buf_size, in_file); 72 int set_binary_file_contents(char *buffer, int buf_size, const char *file_name) { 82 write_bytes = fwrite(buffer, 1, buf_size, out_file); 94 int get_text_file_contents(char *buffer, int buf_size, char *file_name) { 104 read_data = fgets(buffer, buf_size, in_file); 116 int set_text_file_contents(char *buffer, char *file_name) { 126 result = fputs(buffer, out_file) [all...] |
/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...] |
/external/chromium/net/tools/flip_server/ |
loadtime_measurement.h | 46 char buffer[16]; local 47 snprintf(buffer, 16, "%d", num_urls_); 48 output.append(buffer, strlen(buffer)); 91 char buffer[4096]; local 92 ssize_t read_status = read(fd, buffer, sizeof(buffer)); 94 output->append(buffer, static_cast<size_t>(read_status)); 96 read_status = read(fd, buffer, sizeof(buffer)); [all...] |
/external/oprofile/libop/ |
op_xml_out.c | 94 void open_xml_element(tag_t tag, int with_attrs, char * buffer) 101 fprintf(stderr,"Warning: open_xml_element: buffer overflow %d\n", max_len); 108 strncat(buffer, tmp_buf, sizeof(tmp_buf)); 112 void close_xml_element(tag_t tag, int has_nested, char * buffer) 119 fprintf(stderr,"Warning: close_xml_element: buffer overflow %d\n", max_len); 132 strncat(buffer, tmp_buf, sizeof(tmp_buf)); 136 void init_xml_int_attr(tag_t attr, int value, char * buffer) 144 "Warning: init_xml_int_attr: buffer overflow %d\n", max_len); 152 strncat(buffer, tmp_buf, sizeof(tmp_buf)); 156 void init_xml_dbl_attr(tag_t attr, double value, char * buffer) [all...] |
/external/skia/src/core/ |
SkComposeShader.cpp | 33 SkComposeShader::SkComposeShader(SkFlattenableReadBuffer& buffer) : 34 INHERITED(buffer) 36 fShaderA = static_cast<SkShader*>(buffer.readFlattenable()); 37 fShaderB = static_cast<SkShader*>(buffer.readFlattenable()); 38 fMode = static_cast<SkXfermode*>(buffer.readFlattenable()); 79 void SkComposeShader::flatten(SkFlattenableWriteBuffer& buffer) 81 this->INHERITED::flatten(buffer); 82 buffer.writeFlattenable(fShaderA); 83 buffer.writeFlattenable(fShaderB); 84 buffer.writeFlattenable(fMode) [all...] |