/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_scf.c | 122 asr_addprops(scf_handle_t *scf_hdl, scf_transaction_t *tx, argument 234 if (err != 0 || (err = pf(tx, prop->entry, property, scf_type)) 273 tx, prop->entry, pname)) != 0) { 283 scf_transaction_reset(tx); 302 scf_transaction_t *tx = NULL; local 334 if ((tx = scf_transaction_create(handle)) == NULL) { 344 if ((err = scf_transaction_start(tx, pg)) == -1) { 349 if (asr_addprops(handle, tx, pgname, data, old, &props) != 0) { 352 scf_transaction_reset(tx); 356 if (scf_transaction_commit(tx) ! [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | mvcur.c | 322 int nt, tx, x, stcost, iscont; local 333 tx = (nt > 0) ? (cx / TABSIZE + nt) * TABSIZE : cx; 338 for (x = tx; x < nx; ++x) { 370 for (x = tx; x < nx; ++x) { 396 int tx, nt, x, stcost; local 403 tx = cx; 413 tx = x; 416 stcost = nt * _COST(Back_tab) + (tx-nx) * _COST(Cursor_left); 431 for (; tx > nx; --tx) [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 425 * Sets up e in tx to set pname's values. Returns 0 on success or -1 on 427 * SCF_ERROR_HANDLE_MISMATCH - tx & e are derived from different handles 431 * SCF_ERROR_NOT_SET - tx has not been started 432 * SCF_ERROR_DELETED - the pg tx was started on was deleted 435 transaction_property_set(scf_transaction_t *tx, scf_transaction_entry_t *e, argument 439 if (scf_transaction_property_change_type(tx, e, pname, ty) == 0) 456 if (scf_transaction_property_new(tx, e, pname, ty) == 0) 517 scf_transaction_t *tx = NULL; local 533 (tx = scf_transaction_create(h)) == NULL || 598 if (scf_transaction_start(tx, gp 649 scf_transaction_t *tx = NULL; local 713 scf_transaction_t *tx = NULL; local 1387 scf_transaction_t *tx = NULL; local 1407 scf_transaction_restart(scf_simple_handle_t *simple_h, scf_transaction_t *tx) argument 3028 scf_transaction_t *tx = scf_transaction_create(h); local 3180 scf_transaction_t *tx; local 3484 scf_transaction_t *tx = NULL; local [all...] |
H A D | notify_params.c | 645 prep_transaction(scf_transaction_t *tx, scf_transaction_entry_t *te, argument 648 if (scf_transaction_property_new(tx, te, prop, type) != SCF_SUCCESS && 650 scf_transaction_property_change(tx, te, prop, type) != 679 scf_transaction_t *tx = scf_transaction_create(h); local 692 if (tx == NULL) 708 scf_transaction_start(tx, pg) != SCF_SUCCESS) { 779 if (prep_transaction(tx, te, propname, type) != 793 err = scf_transaction_commit(tx); 794 scf_transaction_destroy_children(tx); 806 scf_transaction_destroy_children(tx); [all...] |
H A D | lowlevel.c | 4589 scf_transaction_t *tx; local 4594 if ((tx = cur->entry_tx) != NULL) { 4595 tx->tran_invalid = 1; 4596 uu_list_remove(tx->tran_props, cur); 4841 scf_transaction_property_new(scf_transaction_t *tx, argument 4844 return (transaction_add(tx, entry, REP_PROTOCOL_TX_ENTRY_NEW, 4854 scf_transaction_property_change(scf_transaction_t *tx, argument 4857 return (transaction_add(tx, entry, REP_PROTOCOL_TX_ENTRY_CLEAR, 4867 scf_transaction_property_change_type(scf_transaction_t *tx, argument 4870 return (transaction_add(tx, entr 4880 scf_transaction_property_delete(scf_transaction_t *tx, scf_transaction_entry_t *entry, const char *prop) argument 4888 scf_transaction_property_remove(scf_transaction_t *tx, scf_transaction_entry_t *entry, const char *prop) argument 4896 scf_transaction_property_undelete(scf_transaction_t *tx, scf_transaction_entry_t *entry, const char *prop) argument 4904 scf_transaction_property_delcust(scf_transaction_t *tx, scf_transaction_entry_t *entry, const char *prop) argument [all...] |
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | date.c | 577 DateTime tx; local 580 memset(&tx, 0, sizeof(tx)); 581 if( parseHhMmSs(z2, &tx) ) break; 582 computeJD(&tx); 583 tx.rJD -= 0.5; 584 day = (int)tx.rJD; 585 tx.rJD -= day; 586 if( z[0]=='-' ) tx.rJD = -tx [all...] |
H A D | vdbe.c | 4242 int tx = z[from+1]; local 4243 switch( tx ){ 4244 case 'b': tx = '\b'; break; 4245 case 'f': tx = '\f'; break; 4246 case 'n': tx = '\n'; break; 4247 case 'r': tx = '\r'; break; 4248 case 't': tx = '\t'; break; 4249 case 'v': tx = '\v'; break; 4252 z[to++] = tx;
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | base64.c | 168 register unsigned char* tx; local 191 tx = te - tz; 196 te = tx = tp; 211 if (tp >= tx)
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_cong.c | 638 scf_transaction_t *tx = NULL; local 655 (tx = scf_transaction_create(ss.h)) == NULL || 670 if (scf_transaction_start(tx, pg) == -1) 674 scf_transaction_property_new(tx, ent, pname, SCF_TYPE_ASTRING) : 675 scf_transaction_property_change_type(tx, ent, pname, 680 err = scf_transaction_commit(tx); 686 scf_transaction_reset(tx); 706 scf_transaction_destroy(tx); 726 scf_transaction_t *tx = NULL; local 739 (tx [all...] |
/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 1426 scf_transaction_t *tx = NULL; local 1448 if ((tx = scf_transaction_create(h)) == NULL || 1455 if (scf_transaction_start(tx, pg) == -1) 1458 if (scf_transaction_property_new(tx, txent, HASH_PROP, 1460 scf_transaction_property_change_type(tx, txent, HASH_PROP, 1468 if ((ret = scf_transaction_commit(tx)) == -1) 1472 scf_transaction_reset(tx); 1487 scf_transaction_destroy(tx);
|
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nssscf.c | 958 scf_transaction_t *tx = NULL; local 1075 if ((tx = scf_transaction_create(self->handle)) == NULL || 1082 if (scf_transaction_start(tx, pg_handle) == -1) { 1097 if (scf_transaction_property_new(tx, ent, propname, 1104 } else if (scf_transaction_property_change(tx, ent, propname, 1136 if (scf_transaction_commit(tx) > 0) { 1143 scf_transaction_reset(tx); 1151 scf_transaction_destroy(tx);
|
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 983 scf_transaction_t *tx = NULL; local 995 (tx = scf_transaction_create(h)) == NULL || 1008 if (scf_transaction_start(tx, pg) == -1 || 1009 scf_transaction_property_change(tx, ent, propname, SCF_TYPE_ASTRING) 1015 result = scf_transaction_commit(tx); 1021 scf_transaction_reset(tx);
|
/osnet-11/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 1004 scf_transaction_t *tx = NULL; local 1015 (tx = scf_transaction_create(h)) == NULL || 1025 if (scf_transaction_start(tx, pg) == -1 || 1026 scf_transaction_property_change(tx, ent, "localtime", 1032 if (scf_transaction_commit(tx) == 1 && 1047 scf_transaction_destroy(tx);
|
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | gfxterm.c | 446 unsigned int tx = x; local 453 if (bitmap_width > tx) 455 tx = bitmap_width; 459 grub_video_fill_rect (color, tx, y, w, h);
|
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.c | 1071 tx_set_value(scf_transaction_t *tx, scf_transaction_entry_t *ent, argument 1077 if (scf_transaction_property_change_type(tx, ent, pname, 1100 if (scf_transaction_property_new(tx, ent, pname, ty) == 0) 1134 tx_delete_prop(scf_transaction_t *tx, scf_transaction_entry_t *ent, argument 1137 if (scf_transaction_property_delete(tx, ent, pname) != 0) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 1611 scf_type_t type, const char *val, scf_transaction_t *tx) 1624 if (scf_transaction_property_new(tx, entry, prop_name, type) != 0) 1610 add_new_property(scf_handle_t *handle, const char *prop_name, scf_type_t type, const char *val, scf_transaction_t *tx) argument
|