| /frameworks/base/cmds/incident_helper/src/parsers/ |
| CpuInfoParser.cpp | 48 header_t header; local 102 // Header of tasks must be next to usage line 104 // How to parse Header of Tasks: 106 // After parsing, header = { PID, TID, USER, PR, NI, CPU, S, VIRT, RES, PCY, CMD, NAME } 108 header = parseHeader(line, "[ %]"); 130 diff = record.size() - header.size(); 143 if (!table.insertField(&proto, header[i], record[i])) { 145 this->name.string(), nline, header[i].c_str(), record[i].c_str());
|
| ProcrankParser.cpp | 31 header_t header; // the header of /d/wakeup_sources local 45 header = parseHeader(line); 59 if (record.size() != header.size()) { 71 if (!table.insertField(&proto, header[i], record[i])) { 73 this->name.string(), nline, header[i].c_str(), record[i].c_str()); 85 table.insertField(&proto, header[header.size() - i].c_str(), record[record.size() - i].c_str());
|
| PsParser.cpp | 29 header_t header; // the header of /d/wakeup_sources local 49 header = parseHeader(line, DEFAULT_WHITESPACE); 61 diff = record.size() - header.size(); 76 if (!table.insertField(&proto, header[i], record[i])) { 78 this->name.string(), nline, header[i].c_str(), record[i].c_str());
|
| /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
| Header.java | 26 public class Header extends Dicttool.Command { 27 public static final String COMMAND = "header"; 29 public Header() { 34 return COMMAND + " <filename>: prints the header contents of a dictionary file"; 59 final DictionaryHeader header = spec.mResult; local 63 System.out.println("Format version : " + header.mFormatOptions.mVersion); 65 System.out.println("Header attributes :"); 66 System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing));
|
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
| print.go | 25 header(f *Func) 38 func (p stringFuncPrinter) header(f *Func) { func 86 p.header(f)
|
| /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
| print.go | 25 header(f *Func) 38 func (p stringFuncPrinter) header(f *Func) { func 86 p.header(f)
|
| /system/bt/vendor_libs/test_vendor_lib/src/ |
| packet_stream.cc | 33 vector<uint8_t> header; local 37 if (!ReceiveAll(header, CommandPacket::kCommandHeaderSize, fd)) { 38 LOG_ERROR(LOG_TAG, "Error: receiving command header."); 51 return std::unique_ptr<CommandPacket>(new CommandPacket(header, payload)); 85 LOG_ERROR(LOG_TAG, "Error: Could not send event header.");
|
| /system/connectivity/wifilogd/ |
| message_buffer.cpp | 67 const auto& header = CopyFromBufferOrDie<LengthHeader>( local 69 read_pos_ += sizeof(header); 72 read_pos_ += header.payload_len; 75 return {payload_start, header.payload_len}; 83 LengthHeader header; local 84 header.payload_len = message_len; 85 AppendRawBytes(&header, sizeof(header));
|
| /system/core/libprocinfo/ |
| process.cpp | 92 std::string header = std::string(line, header_len); local 93 if (header == "Name:") { 101 } else if (header == "Pid:") { 104 } else if (header == "Tgid:") { 107 } else if (header == "PPid:") { 110 } else if (header == "TracerPid:") { 113 } else if (header == "Uid:") { 116 } else if (header == "Gid:") { 119 } else if (header == "State:") {
|
| /system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
| getbsize.c | 56 static char header[20]; local 114 snprintf(header, sizeof(header), "%ld%s-blocks", n, form); 117 return (header);
|
| /system/core/trusty/keymaster/ |
| trusty_keymaster_ipc.cpp | 76 struct keymaster_message header; local 77 iov[0] = {.iov_base = &header, .iov_len = sizeof(struct keymaster_message)}; 94 if ((cmd | KEYMASTER_RESP_BIT) != (header.cmd & ~(KEYMASTER_STOP_BIT))) { 95 ALOGE("invalid command (%d)", header.cmd); 99 if (header.cmd & KEYMASTER_STOP_BIT) {
|
| /toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
| crypt.h | 62 * Initialize the encryption keys and the random header according to 91 unsigned char* buf, /* where to write header */ 97 int n; /* index in random header */ 100 unsigned char header[RAND_HEAD_LEN-2]; /* random header */ local 101 static unsigned calls = 0; /* ensure different random header each time */ 118 header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); 120 /* Encrypt random header (last two bytes is high word of crc) */ 124 buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t);
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
| WriteNumberFormatSerialTestData.java | 27 static final String header="/*\n" + field in class:WriteNumberFormatSerialTestData 51 file.write(header.getBytes());
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| WriteNumberFormatSerialTestData.java | 24 static final String header="/*\n" + field in class:WriteNumberFormatSerialTestData 48 file.write(header.getBytes());
|
| /art/libdexfile/dex/ |
| code_item_accessors_test.cc | 33 CompactDexFile::Header* header = local 34 const_cast<CompactDexFile::Header*>(CompactDexFile::Header::At(data->data())); 35 CompactDexFile::WriteMagic(header->magic_); 36 CompactDexFile::WriteCurrentVersion(header->magic_); 37 header->data_off_ = 0; 38 header->data_size_ = data->size();
|
| /development/tools/bugreport/src/com/android/bugreport/logcat/ |
| LogLine.java | 45 public String header; field in class:LogLine
|
| /device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/sds/ |
| sds.c | 30 * within a Structure Header contain obviously invalid data. 33 static int sds_struct_is_valid(uintptr_t header) 35 size_t struct_size = GET_SDS_HEADER_STRUCT_SIZE(header); 38 if (GET_SDS_HEADER_ID(header) == 0) 42 if (GET_SDS_HEADER_VERSION(header) == SDS_REGION_SCH_VERSION) 62 uintptr_t header; local 69 header = sds_mem_base + SDS_REGION_DESC_SIZE; 73 if (sds_struct_is_valid(header) != SDS_OK) { 74 WARN("SDS: Invalid structure header detected\n"); 77 header += GET_SDS_HEADER_STRUCT_SIZE(header) + SDS_HEADER_SIZE 120 struct_header_t *header = NULL; local 143 struct_header_t *header = NULL; local 189 struct_header_t *header = NULL; local [all...] |
| /external/adhd/cras/src/server/ |
| cras_server_metrics.c | 23 struct cras_main_message header; member in struct:cras_server_metrics_message 34 msg->header.type = CRAS_MAIN_METRICS; 35 msg->header.length = sizeof(*msg);
|
| /external/apache-http/src/org/apache/http/client/methods/ |
| HttpOptions.java | 38 import org.apache.http.Header; 101 Header header = it.nextHeader(); local 102 HeaderElement[] elements = header.getElements();
|
| /external/apache-http/src/org/apache/http/client/protocol/ |
| ResponseProcessCookies.java | 39 import org.apache.http.Header; 123 Header header = iterator.nextHeader(); local 125 List<Cookie> cookies = cookieSpec.parse(header, cookieOrigin); 148 this.log.warn("Invalid cookie header: \"" 149 + header + "\". " + ex.getMessage());
|
| /external/apache-http/src/org/apache/http/impl/entity/ |
| LaxContentLengthStrategy.java | 34 import org.apache.http.Header; 66 * empty line after the header fields, regardless of the entity-header fields present in the 70 * 2.If a Transfer-Encoding header field (section 14.41) is present and has any value other 75 * 3.If a Content-Length header field (section 14.13) is present, its decimal value in 77 * header field MUST NOT be sent if these two lengths are different (i.e., if a 81 * header field is present). If a message is received with both a 82 * Transfer-Encoding header field and a Content-Length header field, 89 * presence in a request of a Range header with ultiple byte- range specifiers from a 1.1 244 Header header = headers[i]; local [all...] |
| /external/apache-http/src/org/apache/http/impl/io/ |
| AbstractMessageWriter.java | 37 import org.apache.http.Header; 83 Header header = (Header) it.next(); local 85 (lineFormatter.formatHeader(this.lineBuf, header));
|
| /external/avb/libavb/ |
| avb_descriptor.c | 45 const AvbVBMetaImageHeader* header = NULL; local 63 avb_error("Length is smaller than header.\n"); 75 header = (const AvbVBMetaImageHeader*)image_data; 79 avb_be64toh(header->authentication_data_block_size) + 80 avb_be64toh(header->descriptors_offset); 82 desc_end = desc_start + avb_be64toh(header->descriptors_size);
|
| /external/clang/test/Analysis/engine/ |
| replay-without-inlining.c | 33 static void getH(IB *st, Hdr *header) { 34 getID (st, header->I); 35 header->S = gl(st); 42 Hdr header; local 43 getH (st, &header); 44 getID(st, header.I); 48 getH (st, &header);
|
| /external/elfutils/libdwfl/ |
| image-header.c | 65 const void *header = mapped; local 67 if (header == NULL) 76 header = header_buffer - H_START; 79 if (*(uint16_t *) (header + H_MAGIC1) == LE16 (MAGIC1) 80 && *(uint32_t *) (header + H_MAGIC2) == LE32 (MAGIC2) 81 && LE16 (*(uint16_t *) (header + H_VERSION)) >= MIN_VERSION) 86 uint32_t offset = LE32 (*(uint32_t *) (header + H_PAYLOAD_OFFSET)); 87 uint32_t length = LE32 (*(uint32_t *) (header + H_PAYLOAD_LENGTH)); 89 offset += ((*(uint8_t *) (header + H_SETUP_SECTS) ?: 4) + 1) * 512;
|