/illumos-gate/usr/src/lib/libfruutils/ |
H A D | fru_tag.c | 167 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1]; in get_tag_type() 173 tmp32 = (tag->byte[0] << 16) | (tag->byte[1] << 8) | tag->byte[2]; in get_tag_type() 180 tmp32 = (tag->byte[0] << 24) | (tag->byte[1] << 16) | in get_tag_type() 181 (tag->byte[2] << 8) | tag->byte[3]; in get_tag_type() 231 tmp = *tag; in get_tag_dense() 236 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1]; in get_tag_dense() 239 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1]; in get_tag_dense() 253 (tag->byte[2] << 8) | tag->byte[3]; in get_tag_dense() 309 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1]; in get_payload_length() 312 tmp.raw_data = (tag->byte[0] << 8) | tag->byte[1]; in get_payload_length() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | sml.c | 208 tag->tags = (SML_TAG *)realloc(tag->tags, in smlAddTag() 304 tag->tags = (SML_TAG *)realloc(tag->tags, in smlDelTag() 331 (unsigned long)tag, tag->name); in smlFreeTag() 420 tag->name, name, tag->params[k].value); in smlGetParam_r() 483 tag->name, name, tag->params[k].value); in smlGetParam() 540 tag->name, index, tag->params[index].name); in smlGetParamName() 982 (unsigned long)tag, tag->name); in smlConvertStringToTag() 989 tag->tags = (SML_TAG *)realloc(tag->tags, in smlConvertStringToTag() 3202 tag->name ? tag->name : "<<NONE>>", in _smlFreeTag() 3203 tag->params_num, tag->tags_num); in _smlFreeTag() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_mtag.c | 62 *tag &= ~MTAG_ALIAS_BIT; in str_to_mtag() 65 return *tag; in str_to_mtag() 90 tag, ALLOCATOR); in get_allocator_info_from_tag() 132 mtag_t tag; in get_mtag_return() local 154 tag_sval.uvalue = tag; in get_mtag_return() 178 *tag = *tag ^ xor; in get_string_mtag() 222 mtag_t tag; in global_variable() local 268 mtag_t tag; in swap_mtag_seed() local 279 sval.value = tag; in swap_mtag_seed() 343 *tag = 0; in expr_to_mtag_offset() [all …]
|
H A D | smatch_mtag_data.c | 44 tag, offset); in select_orig() 115 if (tag == ignored_mtag) in is_ignored_tag() 122 if (is_ignored_tag(tag)) in insert_mtag_data() 128 tag, offset, DATA_VALUE); in insert_mtag_data() 161 mtag_t tag; in update_mtag_data() local 189 orig = select_orig(tag, offset); in update_mtag_data() 197 mtag_t tag; in match_global_assign() local 263 mtag_t tag; member 271 mtag_t merged = tag | offset; in get_rl_from_mtag_offset() 290 tag, offset, DATA_VALUE); in get_rl_from_mtag_offset() [all …]
|
H A D | smatch_param_to_mtag_data.c | 48 mtag_t tag; member 59 data->tag = tag; in alloc_tag_data_state() 84 mtag_t tag; in match_assign() local 101 if (!expr_to_mtag_offset(left, &tag, &offset)) in match_assign() 130 set_state(my_id, name, sym, alloc_tag_data_state(tag, buf, offset)); in propogate_assignment() 153 if (!create_mtag_alias(tag, expr, &alias)) in assign_to_alias() 167 mtag_t tag; in call_does_mtag_assign() local 175 tag = strtoul(value, NULL, 10); in call_does_mtag_assign() 182 propogate_assignment(expr, tag, offset, param, key); in call_does_mtag_assign() 183 assign_to_alias(expr, param, tag, offset, key); in call_does_mtag_assign() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | multiboot2.c | 981 tag->mb_size = sizeof (*tag); in multiboot2_exec() 1038 tag->mb_size = sizeof (*tag) + num; in multiboot2_exec() 1074 tag->mb_size = sizeof (*tag) + in multiboot2_exec() 1104 memcpy(tag, &vbestate, sizeof (*tag)); in multiboot2_exec() 1106 tag->mb_size = sizeof (*tag); in multiboot2_exec() 1138 tag->mb_size = sizeof (*tag); in multiboot2_exec() 1148 tag->mb_size = sizeof (*tag); in multiboot2_exec() 1160 memcpy(tag, &gfx_fb, sizeof (*tag)); in multiboot2_exec() 1180 memcpy(tag, &gfx_fb, sizeof (*tag)); in multiboot2_exec() 1247 tag->mb_size = sizeof (*tag) + map_size; in multiboot2_exec() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_tlv_layout.h | 113 uint32_t tag; member 135 uint32_t tag; member 152 uint32_t tag; member 171 uint32_t tag; member 189 uint32_t tag; member 209 uint32_t tag; member 217 uint32_t tag; member 234 uint32_t tag; member 242 uint32_t tag; member 259 uint32_t tag; member [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cheetahregs.h | 861 #define PN_L2TAG_TO_PA(tag) ((tag) & PN_L2TAG_PA_MASK) argument 964 #define CH_DCSNTAG_TO_PA(tag) ((tag << CH_DCTAG_PA_SHIFT) \ argument 966 #define CH_DCUTAG_TO_UTAG(tag) ((tag) & 0xff) argument 967 #define CH_DCUTAG_TO_VA(tag) ((tag & 0xff) << 14) argument 977 #define CHP_DCUTAG_TO_UTAG(tag) ((tag) & 0xffff) argument 983 #define CHP_DCTAG_PARITY(tag) (tag & CHP_DC_TAG) argument 984 #define CHP_DCSNTAG_PARITY(tag) (tag & CHP_DC_SNTAG) argument 1041 #define CH_ICUTAG_TO_UTAG(tag) (((tag) >> 38) & 0xff) argument 1086 #define CHP_ICTAG_PARITY(tag) (tag & CHP_IC_TAG) argument 1087 #define CHP_ICSNTAG_PARITY(tag) (tag & CHP_IC_SNTAG) argument [all …]
|
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | encode.c | 62 if (tag & mask) in kmfber_calc_taglen() 77 ntag = htonl(tag); in ber_put_tag() 213 tag = BER_ENUMERATED; in kmfber_put_enum() 222 tag = BER_INTEGER; in ber_put_int() 258 tag = BER_INTEGER; in ber_put_big_int() 289 ber_tag_t tag) in kmfber_put_ostring() argument 297 tag = BER_OCTET_STRING; in kmfber_put_ostring() 351 tag = BER_BIT_STRING; in kmfber_put_bitstring() 377 tag = BER_NULL; in kmfber_put_null() 396 tag = BER_BOOLEAN; in kmfber_put_boolean() [all …]
|
H A D | decode.c | 68 ber_tag_t tag; in kmfber_get_tag() local 106 ber_tag_t tag; in kmfber_skip_tag() local 152 return (tag); in kmfber_skip_tag() 211 ber_tag_t tag; in kmfber_get_int() local 271 return (tag); in kmfber_get_stringb() 293 return (tag); in kmfber_get_stringa() 315 return (tag); in ber_get_oid() 363 return (tag); in ber_get_bigint() 394 return (tag); in kmfber_get_stringal() 423 return (tag); in kmfber_get_bitstringa() [all …]
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sacadm.c | 441 char *tag; in add_pm() 651 char *tag; in cleandirs() 677 char *tag; in rem_pm() 736 char *tag; in start_pm() 757 char *tag; in kill_pm() 778 char *tag; in enable_pm() 799 char *tag; in disable_pm() 821 char *tag; in read_db() 827 if (tag) 1070 char *tag; [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | encode.c | 58 if ( tag & mask ) in ber_calc_taglen() 73 ntag = LBER_HTONL( tag ); in ber_put_tag() 211 tag = LBER_ENUMERATED; in ber_put_enum() 221 tag = LBER_INTEGER; in ber_put_int() 229 ber_tag_t tag ) in ber_put_ostring() argument 293 tag = LBER_BITSTRING; in ber_put_bitstring() 320 tag = LBER_NULL; in ber_put_null() 340 tag = LBER_BOOLEAN; in ber_put_boolean() 391 new_sos->sos_tag = tag; in ber_start_seqorset() 408 tag = LBER_SEQUENCE; in ber_start_seq() [all …]
|
H A D | decode.c | 52 ber_tag_t tag; in ber_get_tag() local 91 ber_tag_t tag; in ber_skip_tag() local 136 return( tag ); in ber_skip_tag() 196 ber_tag_t tag; in ber_get_int() local 217 ber_tag_t tag; in ber_get_stringb() local 256 return( tag ); in ber_get_stringb() 264 ber_tag_t tag; in ber_get_stringa() local 291 return( tag ); in ber_get_stringa() 299 ber_tag_t tag; in ber_get_stringal() local 517 tag != LBER_DEFAULT && tag != LBER_END_OF_SEQORSET in ber_scanf() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | html.c | 164 struct tag *tag; in html_reset_internal() local 168 while ((tag = h->tag) != NULL) { in html_reset_internal() 169 h->tag = tag->next; in html_reset_internal() 170 free(tag); in html_reset_internal() 661 t->tag = tag; in print_otag() 836 print_ctag(struct html *h, struct tag *tag) in print_ctag() argument 847 tflags = htmltags[tag->tag].flags; in print_ctag() 857 print_word(h, htmltags[tag->tag].name); in print_ctag() 863 h->tag = tag->next; in print_ctag() 918 if (h->tag->tag == TAG_SECTION) in print_tagged_text() [all …]
|
H A D | tag.c | 165 free(nold->tag); in tag_put() 166 nold->tag = NULL; in tag_put() 185 assert(n->tag == NULL); in tag_put() 186 n->tag = mandoc_strndup(s, len); in tag_put() 191 tag_exists(const char *tag) in tag_exists() argument 232 if (np->tag == NULL) { in tag_move_id() 233 np->tag = mandoc_strdup(n->tag == NULL ? in tag_move_id() 286 assert(n->tag == NULL); in tag_move_href() 287 n->tag = mandoc_strdup(tag); in tag_move_href() 319 free(n->tag); in tag_postprocess() [all …]
|
H A D | html.h | 76 struct tag { struct 77 struct tag *next; argument 80 enum htmltag tag; argument 101 struct tag *tag; /* last open tag */ member 103 struct tag *tblt; /* current open table scope */ 108 struct tag *metaf; /* current open font scope */ 126 struct tag *print_otag(struct html *, enum htmltag, const char *, ...); 127 struct tag *print_otag_id(struct html *, enum htmltag, const char *, 129 void print_tagq(struct html *, const struct tag *); 130 void print_stagq(struct html *, const struct tag *);
|
H A D | eqn_html.c | 37 struct tag *post, *row, *cell, *t; in eqn_box() 41 enum htmltag tag; in eqn_box() local 150 tag = TAG_MI; in eqn_box() 154 tag = TAG_MN; in eqn_box() 158 tag = TAG_MI; in eqn_box() 163 tag = TAG_MO; in eqn_box() 169 tag = TAG_MI; in eqn_box() 177 (((tag == TAG_MN || tag == TAG_MO) && in eqn_box() 179 (tag == TAG_MI && font == (bp->text[1] == '\0' ? in eqn_box() 184 post = print_otag(p, tag, ""); in eqn_box() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | rrwlock.c | 102 rrn_add(rrwlock_t *rrl, void *tag) in rrn_add() argument 109 rn->rn_tag = tag; in rrn_add() 185 rrn_add(rrl, tag); in rrw_enter_read_impl() 209 rrw_enter_read_impl(rrl, B_TRUE, tag); in rrw_enter_read_prio() 234 rrw_enter_read(rrl, tag); in rrw_enter() 240 rrw_exit(rrwlock_t *rrl, void *tag) in rrw_exit() argument 259 if (rrn_find_and_remove(rrl, tag)) { in rrw_exit() 261 &rrl->rr_linked_rcount, tag); in rrw_exit() 345 rrm_enter_read(rrl, tag); in rrm_enter() 376 rrm_exit(rrmlock_t *rrl, void *tag) in rrm_exit() argument [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SAttrMsg.java | 143 String tag = (String)tags.elementAt(i); in initialize() local 150 if (tag.startsWith("*")) { in initialize() 152 tag = tag.substring(1, tag.length()); in initialize() 155 if (tag.endsWith("*")) { in initialize() 157 tag = tag.substring(0, tag.length()-1); in initialize() 160 tag = in initialize() 161 ServiceLocationAttributeV1.unescapeAttributeString(tag, in initialize() 165 tag = "*" + tag; in initialize() 169 tag = tag + "*"; in initialize() 172 tags.setElementAt(tag.trim(), i); in initialize()
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_multiboot2.c | 53 dboot_multiboot2_next_tag(multiboot_tag_t *tag) in dboot_multiboot2_next_tag() argument 55 if (tag == NULL || tag->mb_type == MULTIBOOT_TAG_TYPE_END) in dboot_multiboot2_next_tag() 59 tag->mb_size, MULTIBOOT_TAG_ALIGN)); in dboot_multiboot2_next_tag() 70 while (tagp != NULL && tagp->mb_type != tag) { in dboot_multiboot2_find_tag_impl() 84 return (dboot_multiboot2_find_tag_impl(tagp, tag)); in dboot_multiboot2_find_tag() 108 uint32_t tag = ctx->dboot_iter_tag; in dboot_multiboot2_iterate() local 111 tagp = dboot_multiboot2_find_tag(mbi, tag); in dboot_multiboot2_iterate() 119 tagp = dboot_multiboot2_find_tag_impl(tagp, tag); in dboot_multiboot2_iterate() 128 multiboot_tag_string_t *tag; in dboot_multiboot2_cmdline() local 132 if (tag != NULL) in dboot_multiboot2_cmdline() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 365 char *tag, in create_config() argument 410 char *tag, in update_config() argument 430 tag); in update_config() 434 tag); in update_config() 773 char **tag, in get_info() argument 785 *tag = NULL; in get_info() 791 *tag = tok; in get_info() 852 char *tag, in is_complete_config() argument 921 if (tag == NULL) in is_legal_tag() 923 len = strlen(tag); in is_legal_tag() [all …]
|
/illumos-gate/usr/src/cmd/device_remap/ |
H A D | device_remap.pl | 101 %node = (tag => $tag, name => $name, nameid => $nameoff); 103 if ($tag == MDSTR || $tag == MDDATA) { 106 } elsif ($tag == MDVAL) { 108 } elsif ($tag == MDARC || $tag == MDNODE) { 121 my (%node, $tag, %prop); 124 $tag = $node{'tag'}; 125 %prop = (name => $node{'name'}, tag => $tag); 127 if ($tag == MDSTR) { 130 } elsif ($tag == MDARC) { 132 } elsif ($tag == MDVAL) { [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_mailbox.h | 162 vio_msg_tag_t tag; member 185 vio_msg_tag_t tag; member 231 vio_msg_tag_t tag; member 244 vio_msg_tag_t tag; member 277 vio_msg_tag_t tag; member 303 vio_msg_tag_t tag; member 324 vio_msg_tag_t tag; member 346 dmsg.tag.vio_msgtype = VIO_TYPE_DATA; \ 347 dmsg.tag.vio_subtype = VIO_SUBTYPE_INFO; \ 348 dmsg.tag.vio_subtype_env = VIO_DRING_DATA;
|
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/ |
H A D | libinst.h | 478 #define SML_TAG__ISVALID(tag) ((tag) != (SML_TAG__NULL)) argument 516 SML_TAG *tag, char *path); 517 char *smlConvertTagToString(SML_TAG *tag); 521 void smlDelParam(SML_TAG *tag, char *name); 522 SML_TAG *smlDup(SML_TAG *tag); 524 void smlFreeTag(SML_TAG *tag); 527 char *smlGetParam(SML_TAG *tag, char *name); 538 SML_TAG *smlGetTag(SML_TAG *tag, int index); 550 void smlPrintTag(SML_TAG *tag); 553 void smlSetFileStatInfo(SML_TAG **tag, [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 210 int threaded = 0, entry = 0, tag; in get_lcinterface() local 228 for (tag = funcs->ci_tag; tag; tag = (++funcs)->ci_tag) { in get_lcinterface() 234 if (tag >= CI_MAX) in get_lcinterface() 243 if ((lcp[tag].lc_lmp) && in get_lcinterface() 244 (tag != CI_LCMESSAGES) && (tag != CI_VERSION)) { in get_lcinterface() 246 lcp[tag].lc_lmp, tag)); in get_lcinterface() 250 lcp[tag].lc_un.lc_ptr = lptr; in get_lcinterface() 251 lcp[tag].lc_lmp = lmp; in get_lcinterface() 253 gptr = glcs[tag].lc_un.lc_ptr; in get_lcinterface() 259 switch (tag) { in get_lcinterface() [all …]
|