Searched defs:padding (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcexpand.c57 * Remove the padding sequences from the input string.
58 * Return the new string without the padding sequences
59 * and the padding itself in padbuffer.
62 *rmpadding(char *str, char *padbuffer, int *padding) argument
74 if (padding)
75 *padding = 0;
109 /* Termcap does not support mandatory padding */
115 "padding removed\n",
119 /* oops, not a padding spec after all */
127 /* Flag padding inf
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dmmapobjsys.c69 size_t padding = 0; local
116 padding = padding32;
118 error = copyin(arg, &padding, sizeof (padding));
131 if (padding) {
132 padding = P2ROUNDUP(padding, PAGESIZE);
133 if (padding == 0) {
138 /* turn off padding if no bytes were requested */
139 if (padding
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi_fsm.c282 int padding; local
296 padding = ata_pktp->ap_cdb_pad;
298 while (padding) {
300 padding--;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c68 * Add one leading byte of zero-padding only in these cases to ensure
74 int padding; local
92 padding = (src->big_value[0] < 0x80) ? 0 : 1;
93 dst->big_value_len = src->big_value_len + padding;
101 (void) memcpy(&(dst->big_value[padding]), src->big_value,
107 * Sometimes there is one bytes of zero-padding, if a big integer may
110 * of zero-padding in those cases from the decoded octet strings.
/illumos-gate/usr/src/cmd/tput/
H A Dtput.c433 * Figure out how many milliseconds of padding the capability cap
435 * where n is the number of milliseconds of padding. More than one
436 * padding string is allowed within the string, although this is unlikely.
442 int padding = 0; local
444 /* No padding needed at speeds below padding_baud_rate */
452 padding += atoi(cap);
465 return (padding);
/illumos-gate/usr/src/cmd/infocmp/
H A Dinfocmp.c443 int padding; local
454 (void) rmpadding(cursor_left, padbuffer, &padding);
455 if (padding > 0)
456 pr_number((char *)0, "dB", (char *)0, padding);
461 (void) rmpadding(carriage_return, padbuffer, &padding);
462 if (padding > 0)
463 pr_number((char *)0, "dC", (char *)0, padding);
468 (void) rmpadding(form_feed, padbuffer, &padding);
469 if (padding > 0)
470 pr_number((char *)0, "dF", (char *)0, padding);
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c610 /* figure how much padding we'll need for header alignment */
643 int remlen, padding, lastpad, totlen; local
659 padding = totlen = lastpad = 0;
671 padding++;
691 /* completely ignore any trailing padding */
693 padding -= lastpad;
699 * padding added was attempting to get 32 bit alignment. If that's
702 if (padding > 0) {
705 totlen -= padding;
708 padding
[all...]
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c729 uint64_t padding = 0; local
734 if ((error = uiomove(&padding,
/illumos-gate/usr/src/boot/sys/sys/
H A Dgpt.h54 * padding will happen. We make the padding explicit so that we can
58 uint32_t padding; member in struct:gpt_hdr
H A Dvtoc.h85 char padding[152]; member in struct:vtoc8
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c789 size_t padding; local
855 padding = ALIGN(newbrk, HUNKSIZE) - newbrk;
857 if (padding > 0 && (uintptr_t)sbrk(padding) != newbrk)
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c94 * 2) The size of this padding must be smaller than the size of the
195 * newline padding at the end in order to bring the following object
196 * into PADSZ alignment within the file. This padding cannot be
199 * ELF and how our tools lay out objects to determine whether padding was
207 size_t padding; local
223 * we've found the end, and the difference is padding (We assume
234 * (negative padding), then we don't know what is going on
240 padding = file->ar_size - extent;
241 if (padding >= PADSZ) {
267 padding
[all...]
/illumos-gate/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c610 * This is done before the padding information has been modified by
611 * changecalculations() below, so the padding information, if there
620 /* Is there padding to add? */
624 /* Is there any padding info already? */
627 /* Assume that the padding info that is there is correct. */
629 /* Add the padding at the end of the present string. */
634 /* Create a new string that only has the padding. */
723 /* skip any possible padding */
934 /* The dX numbers are now stored as padding */
981 /* If there is no padding inf
1055 char padding[100], *saveto; local
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_dlpi.c864 int padding = 0; local
900 nmp = allocb(sizeof (struct ether_header) + padding, BPRI_MED);
905 nmp->b_rptr += padding;
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Diconv_tm.h256 unsigned char padding[ITM_PAD_LEN]; /* padding */ member in struct:__anon576
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c1643 void *padding; local
1657 * If object padding is required, set the necessary flags.
1661 padding = &r_debug.rtd_objpad;
1664 padding = NULL;
1673 if (mmapobj(fd, mflags, smpp, &mapnum, padding) == -1) {
1706 if (mmapobj(fd, mflags, smpp, &mapnum, padding) == -1) {
1782 * padding.
1790 * padding.
1822 * The size of the total reservation, and the padding range,
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.h398 uint8_t padding; member in struct:atu_tx_hdr
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/vm/
H A Dhw_channel.h130 u8 padding[3]; member in struct:pfvf_tlv
141 u8 padding[4]; member in struct:channel_list_end_tlv
172 u8 padding[3]; member in struct:vfpf_q_op_tlv
191 u8 padding; member in struct:vfpf_rss_tlv
221 u8 padding; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
248 u8 padding[2]; member in struct:vfpf_port_phys_id_resp_tlv
264 u32 padding [2]; member in struct:vfpf_init_tlv
299 u8 padding; member in struct:vfpf_setup_q_tlv::vf_pf_rxq_params
314 u8 padding; member in struct:vfpf_setup_q_tlv::vf_pf_txq_params
321 u8 padding[ member in struct:vfpf_setup_q_tlv
350 u8 padding; member in struct:vfpf_set_q_filters_tlv
387 u8 padding[2]; member in struct:vfpf_close_tlv
394 u8 padding[2]; member in struct:vfpf_release_tlv
[all...]
H A Dvfpf_if.h92 u8 padding[3]; member in struct:vf_pf_msg_q_op
138 u8 padding; member in struct:pf_vf_msg_acquire_resp::sw_pf_vf_pfdev_info
185 u16 padding; member in struct:vf_pf_msg_setup_q
218 u8 padding; member in struct:vf_pf_msg_setup_q::sw_vf_pf_rxq_params
233 u8 padding; member in struct:vf_pf_msg_setup_q::sw_vf_pf_txq_params
261 u8 padding; member in struct:vf_pf_msg_set_q_filters
290 u16 padding; member in struct:vf_pf_msg_close_vf
297 u16 padding; member in struct:vf_pf_msg_release_vf
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.h90 uint32_t padding:32; member in struct:_hxge_tcam_res_t::__anon5710
112 uint32_t padding:32;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fct.c3161 uint32_t padding; local
3260 padding = (8 - (size & 7)) & 7;
3263 (size + padding + GET_STRUCT_SIZE(emlxs_buf_t)),
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c898 char *padding; local
901 padding = malloc(lsz + 1);
903 padding[i] = ' ';
904 padding[i] = 0;
933 label = padding;
935 free(padding);
959 print_name(name_list_t *list, char *padding, int *np, int pct, int full) argument
965 (void) printf("%s \"%s\" (%s)", padding, list->label, name);
968 (void) printf("%s %s", padding, name);
1077 char *padding; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c90 * In addition to the above, the mmapobj interface allows for padding to be
92 * When padding is requested, no additional optimizations will be made for
909 mmapobj_map_flat(vnode_t *vp, mmapobj_result_t *mrp, size_t padding, argument
936 if (padding == 0) {
951 /* padding was requested so there's more work to be done */
957 /* Need to setup padding which can only be in PAGESIZE increments. */
958 ASSERT((padding & PAGEOFFSET) == 0);
959 pad_len = len + (2 * padding);
969 addr += padding;
975 mrp[0].mr_msize = padding;
1549 process_phdrs(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, vnode_t *vp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
1937 doelfwork(Ehdr *ehdrp, vnode_t *vp, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
2313 mmapobj_map_interpret(vnode_t *vp, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
2449 mmapobj(vnode_t *vp, uint_t flags, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c757 int padding, p; local
767 /* now chop off the padding */
768 padding = output[inputlen - 11];
769 if (padding < 1 || padding > 8) {
770 /* invalid padding length */
773 /* verify all padding is correct */
774 for (p = 1; p <= padding; p++) {
775 if (output[inputlen - 10 - p] != padding) {
780 /* chop off the padding */
878 int p, padding = 0; local
1562 int padding, p; local
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm.h249 unsigned char padding; member in struct:drm_tex_region
262 char padding[60]; /**< Pad to cache line */ member in struct:drm_hw_lock

Completed in 3192 milliseconds

12