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

/system/media/audio_utils/spdif/
H A DSPDIFEncoder.cpp135 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; local
138 pad |= *buffer++; // put second byte in LSB
139 mBurstBuffer[mByteCursor >> 1] = pad;
140 pad = 0;
142 pad |= (*buffer++) << 8; // put first byte in MSB
148 mBurstBuffer[mByteCursor >> 1] = pad;
/system/extras/pagecache/
H A Dpagecache.py84 def print_stats_curses(self, pad):
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
[all...]
/system/media/camera/docs/
H A 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)} },
H A 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},
H A 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},
H A Dmetadata_helpers.py303 # pad with spaces to make string len == size. add new line if too big
306 Creates a function that given a string will pad it with spaces to make
320 Deprecated. Use pad instead since it works for non-first items in a
349 def pad(col): function
351 Create a function that given a string will pad it to the specified column col.
352 If the string overflows the column, put the string on a new line and pad it.
361 pad(8)("hello") == 'hello '
/system/core/libsparse/
H A Dsparse.c136 int64_t pad; local
152 pad = s->len - (int64_t)last_block * s->block_size;
153 assert(pad >= 0);
154 if (pad > 0) {
155 write_skip_chunk(out, pad);
H A Doutput_file.c65 int (*pad)(struct output_file *, int64_t); member in struct:output_file_ops
179 .pad = file_pad,
263 .pad = gz_file_pad,
313 .pad = callback_file_pad,
525 return out->ops->pad(out, out->len);
/system/core/include/diskconfig/
H A Ddiskconfig.h76 uint16_t pad; /* bytes 444-445 */ member in struct:pc_boot_record
/system/core/mkbootimg/
H A Dmkbootimg44 pad = (padding - (f.tell() & (padding - 1))) & (padding - 1)
45 f.write(pack(str(pad) + 'x'))
/system/extras/tests/net_test/
H A 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/
H A Dggl_context.h354 GGLubyte pad[2]; member in struct:android::surface_t::__anon1657::__anon1658
/system/keymaster/
H A Docb.c1256 block pad; local
1259 pad = tmp.bl;
1261 tmp.bl = xor_block(tmp.bl, pad);

Completed in 199 milliseconds