HomeSort by relevance Sort by last modified time
    Searched defs:header (Results 926 - 950 of 2389) sorted by null

<<31323334353637383940>>

  /system/core/libziparchive/
zip_writer.cc 244 LocalFileHeader header = {}; local
247 CopyFromFileEntry(file_entry, true /*use_data_descriptor*/, &header);
249 if (fwrite(&header, sizeof(header), 1, file_) != 1) {
452 // Seek back to the header and rewrite to include the size.
457 LocalFileHeader header = {}; local
458 CopyFromFileEntry(current_file_entry_, false /*use_data_descriptor*/, &header);
460 if (fwrite(&header, sizeof(header), 1, file_) != 1) {
  /system/core/property_service/libpropertyinfoparser/include/property_info_parser/
property_info_parser.h 164 uint32_t current_version() const { return header()->current_version; }
165 uint32_t minimum_supported_version() const { return header()->minimum_supported_version; }
172 TrieNode root_node() const { return trie(header()->root_offset); }
178 const PropertyInfoAreaHeader* header() const { function in class:android::properties::PropertyInfoArea
181 uint32_t contexts_offset() const { return header()->contexts_offset; }
183 uint32_t types_offset() const { return header()->types_offset; }
  /system/extras/ioshark/
compile_ioshark.c 531 struct ioshark_header header; local
664 header.num_io_operations = num_io_operations;
665 header.num_files = files_db_get_total_obj();
666 if (ioshark_write_header(fp, &header) != 1) {
  /system/extras/libfec/
fec_private.h 52 /* verity header and metadata */
90 verity_header header; member in struct:verity_info
  /system/extras/simpleperf/
record_file_reader.cpp 277 RecordHeader header(header_buf);
279 if (header.type == SIMPLE_PERF_RECORD_SPLIT) {
284 while (header.type == SIMPLE_PERF_RECORD_SPLIT) {
285 size_t bytes_to_read = header.size - Record::header_size();
291 *nbytes_read += header.size;
295 header = RecordHeader(header_buf);
297 if (header.type != SIMPLE_PERF_RECORD_SPLIT_END) {
301 *nbytes_read += header.size;
302 header = RecordHeader(buf.data());
303 p.reset(new char[header.size])
415 auto header = reinterpret_cast<const perf_event_header*>(p); local
    [all...]
record_file_writer.cpp 79 // Skip file header part.
138 RecordHeader header; local
139 header.type = SIMPLE_PERF_RECORD_SPLIT;
144 header.size = bytes_to_write + Record::header_size();
146 header.MoveToBinaryFormat(header_p);
156 header.type = SIMPLE_PERF_RECORD_SPLIT_END;
157 header.size = Record::header_size();
159 header.MoveToBinaryFormat(header_p);
198 RecordHeader header(record_buf.data());
199 if (record_buf.size() < header.size)
416 FileHeader header; local
    [all...]
  /system/libufdt/utils/src/
mkdtimg_core.c 178 struct dt_table_header header; local
179 dt_table_header_init(&header);
180 header.dt_entry_count = cpu_to_fdt32(entry_count);
181 header.total_size = cpu_to_fdt32(total_size);
182 header.page_size = cpu_to_fdt32(options->page_size);
183 header.version = cpu_to_fdt32(options->version);
186 fwrite(&header, sizeof(header), 1, img_fp);
205 fprintf(stderr, "Bad FDT header: %s\n", fdt_info->filename);
  /system/nvram/core/
nvram_manager.cpp 273 // Write the header before the space data. This ensures that all space
274 // definitions present in storage are also recorded in the header. Thus, the
275 // set of spaces present in the header is always a superset of the set of
277 // header but before writing the space information, the space data will be
280 // header.
344 // header. Then, delete the space data from storage. This allows orphaned
539 // Go through all spaces and wipe the corresponding data. Note that the header
542 // if we crash somewhere during the wiping process before clearing the header.
545 // up in a state where the header appears clean but existing space data
548 // As a final note, the ideal solution would be to atomically clear the header
819 NvramHeader header; local
    [all...]
  /system/nvram/core/tests/
nvram_manager_test.cpp 40 NvramHeader header; local
41 header.version = header_version;
42 ASSERT_TRUE(header.allocated_indices.Resize(1));
43 header.allocated_indices[0] = index;
44 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header));
91 // Produce a matching header and append some trailing bytes.
92 NvramHeader header; local
93 header.version = NvramHeader::kVersion;
94 ASSERT_TRUE(header.allocated_indices.Resize(1));
95 header.allocated_indices[0] = 1
131 NvramHeader header; local
177 NvramHeader header; local
1151 NvramHeader header; local
    [all...]
  /system/tpm/trunks/
trunks_ftdi_spi.cc 61 // SPI frame header for TPM transactions is 4 bytes in size, it is described
87 SpiFrameHeader header; local
92 // The first byte of the frame header encodes the transaction type (read or
94 header.body[0] = (read_write ? 0x80 : 0) | 0x40 | (bytes - 1);
96 // The rest of the frame header is the internal address in the TPM
98 header.body[i + 1] = (addr >> (8 * (2 - i))) & 0xff;
102 response = Transfer(mpsse_, header.body, sizeof(header.body));
109 // header trasmitted by master. If the slave needs to stall the transaction,
110 // it sets the MOSI bit to 0 during the last clock of the 4 byte header. I
    [all...]
  /system/update_engine/payload_generator/
squashfs_filesystem.cc 61 SquashfsFilesystem::SquashfsHeader* header) {
66 memcpy(&header->magic, blob.data(), 4);
67 memcpy(&header->block_size, blob.data() + 12, 4);
68 memcpy(&header->compression_type, blob.data() + 20, 2);
69 memcpy(&header->major_version, blob.data() + 28, 2);
73 bool CheckHeader(const SquashfsFilesystem::SquashfsHeader& header) {
74 return header.magic == 0x73717368 && header.major_version == 4;
104 const SquashfsHeader& header,
108 bool is_zlib = header.compression_type == kSquashfsZlibCompression
265 SquashfsHeader header; local
329 SquashfsHeader header; local
    [all...]
  /toolchain/binutils/binutils-2.27/bfd/
coff-stgo32.c 109 #define _H(index) (H_GET_16 (abfd, (header + index * 2)))
158 /* Copy the stub to the file header. */
289 unsigned char header[10]; local
310 if (read (f, &header, sizeof (header)) < 0)
  /prebuilts/tools/common/m2/repository/net/sf/ezmorph/ezmorph/1.0.6/
ezmorph-1.0.6.jar 
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
DexFile.java 88 /** {@code non-null;} file header */
89 private final HeaderSection header; field in class:DexFile
107 header = new HeaderSection(this);
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds,
276 * <p>This is package-scope in order to allow the header section
393 * <p>This is package-scope in order to allow the header section
406 * <p>This is package-scope in order to allow the header section
494 header.prepare();
  /dalvik/dx/src/com/android/dx/dex/file/
DexFile.java 102 /** {@code non-null;} file header */
103 private final HeaderSection header; field in class:DexFile
125 header = new HeaderSection(this);
155 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs,
163 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs,
352 * <p>This is package-scope in order to allow the header section
495 * <p>This is package-scope in order to allow the header section
508 * <p>This is package-scope in order to allow the header section
638 header.prepare();
  /external/apache-http/android/src/android/net/http/
Headers.java 36 // header parsing constant
51 // header strings
262 // In case where we receive more than one header, create a ',' separated list.
434 public void header(String name, String value); method in interface:Headers.HeaderCallback
444 hcb.header(sHeaderNames[i], h);
453 hcb.header(mExtraHeaderNames.get(i),
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
LocalRenderer.java 18 import org.apache.http.Header;
151 Header[] headers = response.getAllHeaders();
153 for (Header header : headers) {
154 errorExtras.putString(header.getName(), header.getValue());
  /tools/apksig/src/main/java/com/android/apksig/internal/zip/
LocalFileRecord.java 34 * <p>The record consists of the Local File Header, file data, and (if present) Data Descriptor.
121 * consists of the Local File Header, data, and (if present) Data Descriptor.
139 * consists of the Local File Header, data, and (if present) Data Descriptor.
157 "Local File Header of " + entryName + " extends beyond start of Central"
161 ByteBuffer header; local
163 header = apk.getByteBuffer(headerStartOffset, headerSizeWithName);
165 throw new IOException("Failed to read Local File Header of " + entryName, e);
167 header.order(ByteOrder.LITTLE_ENDIAN);
169 int recordSignature = header.getInt();
172 "Not a Local File Header record for entry " + entryName + ". Signature: 0x
317 ByteBuffer header = ByteBuffer.allocate(headerSize); local
    [all...]
  /art/libdexfile/dex/
test_dex_file_builder.h 87 uint8_t data[sizeof(DexFile::Header)];
91 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(&header_data.data); local
92 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_);
93 std::copy_n(StandardDexFile::kDexMagicVersions[0], 4u, header->magic_ + 4u);
94 header->header_size_ = sizeof(DexFile::Header);
95 header->endian_tag_ = DexFile::kDexEndianConstant;
96 header->link_size_ = 0u; // Unused
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
OffsetTracker.java 86 * (why? to read, we read the header, then the map list, and then use the map
88 * when we write, we write the header, and then we cannot write the map list
91 * so we can skip there after we write out the header.
148 * Only MapItem should call this method, when the MapItem that points to the header
256 * Called after writing out the header, to skip to after the map list.
296 Log.errorAndQuit("Header " + offsetName + " offset not pointing at first element?");
323 // Add the field IDs to the header.
324 rawDexFile.header.fieldIdsOff.unsetNullAndPointTo(fieldOffsettable);
325 rawDexFile.header.fieldIdsSize = 1;
362 // Based on the type of the item we just added, check the relevant Offset in the header
365 HeaderItem header = rawDexFile.header; local
    [all...]
  /art/tools/dmtracedump/
createtesttrace.cc 20 #include "profile.h" // from VM header
34 * Values from the header of the data file.
47 DataHeader header = {0x574f4c53, VERSION, sizeof(DataHeader), 0LL}; variable
345 header.version = versionNumber;
346 write4LE(dataFp, header.magic);
347 write2LE(dataFp, header.version);
348 write2LE(dataFp, header.offsetToData);
  /bionic/tests/
unistd_test.cpp 1195 __user_cap_header_struct header; local
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
MainFragment.java 63 * Main class to show BrowseFragment with header and rows of videos
171 HeaderItem header = new HeaderItem(i, entry.getKey()); local
173 mRowsAdapter.add(new ListRow(header, listRowAdapter));
MovieDetailsFragment.java 252 HeaderItem header = new HeaderItem(0, subcategories[0]); local
253 mAdapter.add(new ListRow(header, listRowAdapter));
  /developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
WeatherWidgetProvider.java 185 // Restore the minimal header
190 // Update the header to reflect the weather for "today"
197 String header = String.format(formatStr, temp, local
199 rv.setTextViewText(R.id.city_name, header);

Completed in 1230 milliseconds

<<31323334353637383940>>