Searched refs:sizeof (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/test/typedef/
H A Dtst.libctype.ksh5 ::sizeof rm_t
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dtst.DataModel32.d.ksh44 /4 != sizeof(long)/
51 /4 == sizeof(long)/
H A Dtst.DataModel64.d.ksh45 /8 != sizeof(long)/
52 /8 == sizeof(long)/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/
H A Dtst.printtypetarg.ksh45 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
53 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
61 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
H A Dtst.printtype.ksh44 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
52 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
60 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
H A Dtst.chasestrings.ksh45 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
55 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
65 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dmkerror.sh51 sizeof (_fmev_errstrs) / sizeof (_fmev_errstrs[0]);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Derr.copyoutbadaddr.ksh46 ptr = alloca(sizeof (char *));
47 copyinto(curpsinfo->pr_envp, sizeof (char *), ptr);
48 copyout(ptr, 0, sizeof (char *));
H A Derr.copyoutstrbadaddr.ksh45 ptr = alloca(sizeof (char *));
46 copyinto(curpsinfo->pr_envp, sizeof (char *), ptr);
47 copyout(ptr, 0, sizeof (char *));
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dnceucform100 sizeof (wchar_t));
102 sizeof (yy_twbuf));
105 sizeof (wchar_t));
107 sizeof (yy_tbuf));
112 sizeof (wchar_t));
114 sizeof (yy_tbuf));
123 yytextsz * sizeof (wchar_t));
242 yyleng=wcstombs((char *)yytext, YYTEXT, sizeof(yytext)-1);
244 if(yyleng>=sizeof(yytext)-1)
H A Dncform94 memcpy(yytext, yy_tbuf, sizeof (yy_tbuf));
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddstyle.pl185 if ($inclause && /sizeof\(/) {
186 err "missing space after sizeof";
/illumos-gate/usr/src/uts/common/tnf/
H A Dmkprobehdr.sh68 size_t version_size; /* sizeof(struct tnf_probe_version) */
69 size_t probe_control_size; /* sizeof(tnf_probe_control_t) */
195 echo " sizeof (ctype_record##_prototype_t), \\"
197 echo " sizeof (ctype_record##_t), TNF_STRUCT, 0, \\"
213 echo " sizeof (ctype_record##_prototype_t)); \\"
302 echo " sizeof (struct tnf_v_buf_$i) \\"
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dyaccpar55 #define YYNEW(type) malloc(sizeof(type) * yynewmax)
57 (type *) memcpy(to, (char *) from, yymaxdepth * sizeof (type))
59 (type *) realloc((char *) from, yynewmax * sizeof(type))
/illumos-gate/usr/src/tools/scripts/
H A Dcstyle.pl600 if (/\b(for|if|while|switch|sizeof|return|case)\(/) {
604 # multiple "case" and "sizeof" allowed
607 if (/\b(for|if|while|switch|sizeof|return|case)\s\s+\(/ &&
616 s/\b(for|if|while|switch|return|case|sizeof)\s\(/XXX(/g;
647 err("unparenthesized sizeof expression");
698 # "sizeof (int) + 1", "void (*funcptr)(int) = foo;", and
702 !/sizeof\s*\($typename( \*)?\)\s/o &&
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dndrtypes.ndl145 case N: size1 = sizeof (struct NAME##N); \
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c.texi143 + mmap->size + sizeof (mmap->size)))
/illumos-gate/usr/src/lib/libadt_jni/
H A Dauditxml_jni352 (int *)malloc(length * sizeof (int));
386 ($cType *)malloc(length * sizeof ($cType));
416 (long *)malloc(length * sizeof (long long));
491 * sizeof (char *));
1008 $dataSize = "sizeof ($type)";
1024 $dataSize = "sizeof (time_t)";
1029 $dataSize = "sizeof (au_tid_addr_t *)";
1067 my $sizeString = "sizeof";
1079 push (@xlateType, "\{$entryType, sizeof ($type)\}");
1083 push (@xlateType, "\{$dataType, sizeof (au_tid_addr_
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dconf.sh1567 int prefix_elements = (int)sizeof(prefix) / (int)sizeof(prefix[0]);
1580 int conf_elements = (int)sizeof(conf) / (int)sizeof(conf[0]);
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dxlate.m4625 /* ADDR */ { A_sizeof, sizeof (Elf32_Addr) },
626 /* DYN */ { D1_sizeof, sizeof (Elf32_Dyn) },
627 /* EHDR */ { E1_sizeof, sizeof (Elf32_Ehdr) },
628 /* HALF */ { H_sizeof, sizeof (Elf32_Half) },
629 /* OFF */ { O_sizeof, sizeof (Elf32_Off) },
630 /* PHDR */ { P1_sizeof, sizeof (Elf32_Phdr) },
631 /* RELA */ { RA1_sizeof, sizeof (Elf32_Rela) },
632 /* REL */ { R1_sizeof, sizeof (Elf32_Rel) },
633 /* SHDR */ { SH1_sizeof, sizeof (Elf32_Shdr) },
634 /* SWORD */ { W_sizeof, sizeof (Elf32_Swor
[all...]
H A Dxlate64.m4682 /* ADDR */ { A_sizeof, sizeof (Elf64_Addr) },
683 /* DYN */ { D1_sizeof, sizeof (Elf64_Dyn) },
684 /* EHDR */ { E1_sizeof, sizeof (Elf64_Ehdr) },
685 /* HALF */ { H_sizeof, sizeof (Elf64_Half) },
686 /* OFF */ { O_sizeof, sizeof (Elf64_Off) },
687 /* PHDR */ { P1_sizeof, sizeof (Elf64_Phdr) },
688 /* RELA */ { RA1_sizeof, sizeof (Elf64_Rela) },
689 /* REL */ { R1_sizeof, sizeof (Elf64_Rel) },
690 /* SHDR */ { SH1_sizeof, sizeof (Elf64_Shdr) },
691 /* SWORD */ { W_sizeof, sizeof (Elf64_Swor
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in69 b_blkno = sizeof (long) == 8 ? B->_b_blkno._f : B->_b_blkno._p._l;
/illumos-gate/usr/src/lib/libsqlite/
H A Dmain.mk246 echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c

Completed in 130 milliseconds