Home
last modified time | relevance | path

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

/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.cpp135 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes() local
138 pad |= *buffer++; // put second byte in LSB in writeBurstBufferBytes()
139 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
140 pad = 0; in writeBurstBufferBytes()
142 pad |= (*buffer++) << 8; // put first byte in MSB in writeBurstBufferBytes()
148 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
/system/core/libsparse/
Dsparse.c136 int64_t pad; in write_all_blocks() local
152 pad = s->len - (int64_t)last_block * s->block_size; in write_all_blocks()
153 assert(pad >= 0); in write_all_blocks()
154 if (pad > 0) { in write_all_blocks()
155 write_skip_chunk(out, pad); in write_all_blocks()
Doutput_file.c65 int (*pad)(struct output_file *, int64_t); member
179 .pad = file_pad,
263 .pad = gz_file_pad,
313 .pad = callback_file_pad,
525 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)} },
Dndk_camera_metadata_tags.mako65 ${ndk(path_name(i)) + '.start' | csym,ljust(30)} = ${ndk(path_name(i)) | csym,pad(64)} << 16,
165 ${'%s_%s'%(csym(ndk(entry.name)), val.name) | pad(70)} = ${val.id},
170 ${'%s_%s'%(csym(ndk(entry.name)), val.name) | pad(70)} = ${i},
Dcamera_metadata_tags.mako65 ${path_name(i) + '.start' | csym,ljust(30)} = ${path_name(i) | csym,pad(64)} << 16,
104 ${'%s_%s'%(csym(entry.name), val.name) | pad(65)} = ${val.id},
Dmetadata_helpers.py349 def pad(col): function
/system/core/mkbootimg/
Dmkbootimg44 pad = (padding - (f.tell() & (padding - 1))) & (padding - 1)
45 f.write(pack(str(pad) + 'x'))
/system/core/include/diskconfig/
Ddiskconfig.h76 uint16_t pad; /* bytes 444-445 */ member
/system/extras/tests/net_test/
Dnet_test.py294 pad = "\x00" * 4
295 return struct.pack(fmt, addr, label, action, share, flags, 0, 0, pad)
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h354 GGLubyte pad[2];
/system/keymaster/
Docb.c1256 block pad; in ae_decrypt() local
1259 pad = tmp.bl; in ae_decrypt()
1261 tmp.bl = xor_block(tmp.bl, pad); in ae_decrypt()