Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 26) sorted by relevance

12

/system/extras/pagecache/
Dpagecache.py84 def print_stats_curses(self, pad): argument
86 height, width = pad.getmaxyx()
87 pad.clear()
88 pad.addstr(0, 2, 'NAME'.ljust(68), curses.A_REVERSE)
89 pad.addstr(0, 70, 'ADDED (MB)'.ljust(12), curses.A_REVERSE)
90 pad.addstr(0, 82, 'REMOVED (MB)'.ljust(14), curses.A_REVERSE)
91 pad.addstr(0, 96, 'SIZE (MB)'.ljust(9), curses.A_REVERSE)
99 pad.addstr(y, 2, filename)
100 pad.addstr(y, 70, self.pages_to_mb(added).rjust(10))
101 pad.addstr(y, 80, self.pages_to_mb(removed).rjust(14))
[all …]
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp137 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes() local
140 pad |= *buffer++; // put second byte in LSB in writeBurstBufferBytes()
141 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
142 pad = 0; in writeBurstBufferBytes()
144 pad |= (*buffer++) << 8; // put first byte in MSB in writeBurstBufferBytes()
150 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
/system/core/libsparse/
Dsparse.cpp117 int64_t pad; in write_all_blocks() local
130 pad = s->len - (int64_t)last_block * s->block_size; in write_all_blocks()
131 assert(pad >= 0); in write_all_blocks()
132 if (pad > 0) { in write_all_blocks()
133 write_skip_chunk(out, pad); in write_all_blocks()
Doutput_file.cpp62 int (*pad)(struct output_file*, int64_t); member
171 .pad = file_pad,
250 .pad = gz_file_pad,
295 .pad = callback_file_pad,
484 return out->ops->pad(out, out->len); in write_normal_end_chunk()
/system/media/camera/docs/
Dcamera_metadata_tag_info.mako36 ${"[%s]" %(path_name(i)) | csym,pad(36)} = "${path_name(i)}",
42 ${"[%s]" %(path_name(i)) | csym,pad(36)} = { ${path_name(i) | csym}_START,
52 { ${'"%s",' %(entry.name_short) | pad(40)} ${entry.type | ctype_enum,ljust(11)} },
Dcamera_metadata_tags.mako65 ${path_name(i) + '.start' | csym,ljust(30)} = ${path_name(i) | csym,pad(64)} << 16,
102 …${entry.name | csym}_${val.name | pad(70)}, // HIDL v${val.hal_major_version}.${val.hal_minor_vers…
104 …${'%s_%s'%(csym(entry.name), val.name) | pad(70)} = ${val.id}, // HIDL v${val.hal_major_version}.$…
Dndk_camera_metadata_tags.mako72 ${ndk(path_name(i)) + '.start' | csym,ljust(30)} = ${ndk(path_name(i)) | csym,pad(64)} << 16,
181 ${'%s_%s'%(csym(ndk(entry.name)), val.name) | pad(70)} = ${val.id},
186 ${'%s_%s'%(csym(ndk(entry.name)), val.name) | pad(70)} = ${i},
DHidlMetadata.mako151 ${'%s_%s'%(csym(entry.name), val.name) | pad(65)} = ${val.id},
Dmetadata_helpers.py353 def pad(col): function
/system/core/libunwindstack/include/unwindstack/
DUcontextX86_64.h41 int32_t pad; member
/system/core/trusty/utils/rpmb_dev/
Drpmb_protocol.h50 uint8_t pad[196]; member
Drpmb_dev.c74 uint8_t pad[512 - 4 - 2 - 1 - 1 - sizeof(struct rpmb_key)]; member
/system/extras/simpleperf/
DRecordReadThread_test.cpp448 std::vector<char> pad; member
452 : buf1(buf1_size, c), buf2(buf2_size, c), pad(pad_size, 0), lost(lost) {} in FakeAuxData()
520 expected.buf1.size() + expected.buf2.size() + expected.pad.size()); in TEST_F()
531 if (!expected.pad.empty()) { in TEST_F()
532 ASSERT_EQ(memcmp(p, expected.pad.data(), expected.pad.size()), 0); in TEST_F()
DRecordReadThread.cpp606 uint64_t pad = 0; in ReadAuxDataFromKernelBuffer() local
607 memcpy(p, &pad, pad_size); in ReadAuxDataFromKernelBuffer()
DJITDebugReader.cpp151 uint32_t pad; member
/system/core/libdiskconfig/include/diskconfig/
Ddiskconfig.h76 uint16_t pad; /* bytes 444-445 */ member
/system/core/adb/tools/
Dcheck_ms_os_desc.cpp101 uint8_t pad = (*os_desc)[17]; in check_ms_os_desc_v1() local
103 if (pad != 0) { in check_ms_os_desc_v1()
/system/core/libunwindstack/
DJitDebug.cpp45 uint32_t pad; member
/system/tools/mkbootimg/
Dmkbootimg.py46 pad = (padding - (f.tell() & (padding - 1))) & (padding - 1)
47 f.write(pack(str(pad) + 'x'))
/system/chre/external/kiss_fft/
Dkiss_fftr.c23 void * pad; member
/system/core/libsync/
Dsync.c175 data.pad = 0; in modern_sync_merge()
/system/nfc/src/nfa/include/
Dnfa_dm_int.h182 uint16_t pad; /* add padding to ensure the size is big enough for member
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h354 GGLubyte pad[2];
/system/keymaster/key_blob_utils/
Docb.c1283 block pad; in ae_decrypt() local
1286 pad = tmp.bl; in ae_decrypt()
1288 tmp.bl = xor_block(tmp.bl, pad); in ae_decrypt()
/system/update_engine/
Dupdate_metadata.proto136 // always pad the signature data to the maximum possible signature size of

12