Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 1662) sorted by relevance

12345678910>>...67

/titanic_51/usr/src/stand/lib/tcp/
H A Dtcp_sack.c59 sack_blk_t tmp[MAX_SACK_BLK - 1]; in tcp_sack_insert() local
78 * Use tmp to hold old SACK blks. After the loop, copy them back in tcp_sack_insert()
90 tmp[j].begin = head[i].begin; in tcp_sack_insert()
91 tmp[j].end = head[i].end; in tcp_sack_insert()
113 * copies the original SACK blk into the tmp storage. Other in tcp_sack_insert()
115 * tmp storage. in tcp_sack_insert()
123 head[i+1].begin = tmp[i].begin; in tcp_sack_insert()
124 head[i+1].end = tmp[i].end; in tcp_sack_insert()
141 sack_blk_t tmp[MAX_SACK_BLK]; in tcp_sack_remove() local
150 /* Walk thru the whole list and copy the new list to tmp[] in tcp_sack_remove()
201 notsack_blk_t *prev, *tmp, *new; tcp_notsack_insert() local
345 notsack_blk_t *prev, *tmp; tcp_notsack_remove() local
401 notsack_blk_t *tmp; tcp_notsack_update() local
[all...]
/titanic_51/usr/src/uts/common/inet/tcp/
H A Dtcp_sack.c53 sack_blk_t tmp[MAX_SACK_BLK - 1]; in tcp_sack_insert() local
72 * Use tmp to hold old SACK blks. After the loop, copy them back in tcp_sack_insert()
84 tmp[j].begin = head[i].begin; in tcp_sack_insert()
85 tmp[j].end = head[i].end; in tcp_sack_insert()
107 * copies the original SACK blk into the tmp storage. Other in tcp_sack_insert()
109 * tmp storage. in tcp_sack_insert()
117 head[i+1].begin = tmp[i].begin; in tcp_sack_insert()
118 head[i+1].end = tmp[i].end; in tcp_sack_insert()
135 sack_blk_t tmp[MAX_SACK_BLK]; in tcp_sack_remove() local
144 /* Walk thru the whole list and copy the new list to tmp[] in tcp_sack_remove()
195 notsack_blk_t *prev, *tmp, *new; tcp_notsack_insert() local
340 notsack_blk_t *prev, *tmp; tcp_notsack_remove() local
394 notsack_blk_t *tmp; tcp_notsack_update() local
[all...]
/titanic_51/usr/src/cmd/fm/eversholt/common/
H A Dlut.c81 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; in lut_add() local
83 while (tmp) { in lut_add()
85 diff = (*cmp_func)(tmp->lut_lhs, lhs); in lut_add()
87 diff = (const char *)lhs - (const char *)tmp->lut_lhs; in lut_add()
91 tmp->lut_rhs = rhs; in lut_add()
94 tmp_hdl = &(tmp->lut_left); in lut_add()
95 parent = tmp; in lut_add()
96 tmp = tmp->lut_left; in lut_add()
98 tmp_hdl = &(tmp in lut_add()
167 struct lut *tmp = root; lut_walk() local
207 struct lut *tmp = root; lut_free() local
[all...]
/titanic_51/usr/src/cmd/sgs/link_audit/common/
H A Dhash.c66 hash_entry *tmp, *new; in get_hash() local
69 tmp = tbl->table[bucket = hash_string(key, tbl->size)]; in get_hash()
71 tmp = tbl->table[bucket = labs((long)key) % tbl->size]; in get_hash()
75 while (tmp != NULL) { in get_hash()
76 if (strcmp(tmp->key, key) == 0) { in get_hash()
77 return (&tmp->data); in get_hash()
79 tmp = tmp->next_entry; in get_hash()
82 while (tmp != NULL) { in get_hash()
83 if (tmp in get_hash()
116 hash_entry *tmp; find_hash() local
140 hash_entry * tmp, * prev = NULL; del_hash() local
203 hash_entry *tmp = tbl->start; operate_hash() local
217 hash_entry *tmp = tbl->start; operate_hash_addr() local
231 hash_entry * tmp = tbl->start, * prev; destroy_hash() local
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathtemp.c56 * / as first pfx char provides tmp file generation control
60 * automatic (default) cycled with each tmp file
81 #define TMP1 "/tmp"
82 #define TMP2 "/usr/tmp"
99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; variable
125 tmp.manual = 1; in pathtemp()
126 if (tmp.dir && !*tmp.dir++) in pathtemp()
127 tmp.dir = tmp in pathtemp()
[all...]
/titanic_51/usr/src/lib/libast/common/path/
H A Dpathtemp.c99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; variable
125 tmp.manual = 1; in pathtemp()
126 if (tmp.dir && !*tmp.dir++) in pathtemp()
127 tmp.dir = tmp.vec; in pathtemp()
130 tmp.manual = streq(dir, "manual"); in pathtemp()
135 if (tmp.pfx) in pathtemp()
136 free(tmp.pfx); in pathtemp()
137 tmp.pfx = dir ? strdup(dir) : (char*)0; in pathtemp()
142 tmp.mode = S_IRUSR|S_IWUSR; in pathtemp()
147 tmp.mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in pathtemp()
[all …]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dio.sh31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
43 print 'read -r a; print -r -u$1 -- "$a"' > $tmp/mycat
44 chmod 755 $tmp/mycat
47 eval "a=\$(print foo | $tmp/mycat" $i $i'>&1 > /dev/null |cat)' 2> /dev/null
53 cd $tmp || { err_exit "cd $tmp failed"; exit ; }
176 cat > $tmp/1 <<- ++EOF++
177 script=$tmp/2
192 chmod +x $tmp/
[all...]
H A Dbasic.sh31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
62 cd $tmp || { err_exit "cd $tmp failed"; exit 1; }
118 cat > $tmp/script <<- !
122 chmod 755 $tmp/script
123 if [[ $($tmp/script) != "$tmp/script" ]]
136 cd /tmp
137 cd ../../tmp || err_exi
[all...]
/titanic_51/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc119 for (Iter tmp = adapterAddEventListeners.begin(); in removeListener() local
120 tmp != adapterAddEventListeners.end(); tmp++) { in removeListener()
121 if (*tmp == listener) { in removeListener()
122 adapterAddEventListeners.erase(tmp); in removeListener()
138 for (Iter tmp = adapterEventListeners.begin(); in removeListener() local
139 tmp != adapterEventListeners.end(); tmp++) { in removeListener()
140 if (*tmp == listener) { in removeListener()
141 adapterEventListeners.erase(tmp); in removeListener()
157 for (Iter tmp = adapterPortEventListeners.begin(); removeListener() local
176 for (Iter tmp = adapterDeviceEventListeners.begin(); removeListener() local
195 for (Iter tmp = targetEventListeners.begin(); removeListener() local
274 for (Iter tmp = adapterPortEventListeners.begin(); dispatch() local
297 for (Iter tmp = adapterPortEventListeners.begin(); dispatch() local
316 for (Iter tmp = adapterDeviceEventListeners.begin(); dispatch() local
335 for (Iter tmp = adapterDeviceEventListeners.begin(); dispatch() local
378 for (Iter tmp = adapterPortEventListeners.begin(); dispatch() local
412 for (Iter tmp = adapterPortEventListeners.begin(); dispatch() local
443 for (Iter tmp = targetEventListeners.begin(); dispatch() local
460 for (Iter tmp = adapterAddEventListeners.begin(); dispatch() local
485 for (Iter tmp = adapterEventListeners.begin(); dispatch() local
[all...]
/titanic_51/usr/src/tools/protocmp/
H A Ddepend.c50 pkg_list *tmp; in processed_package() local
53 for (tmp = packages[bucket]; tmp != NULL; tmp = tmp->next) { in processed_package()
54 if (strcmp(tmp->pkg_name, pkgname) == 0) in processed_package()
64 pkg_list *tmp; in mark_processed() local
67 tmp = malloc(sizeof (pkg_list)); in mark_processed()
68 bzero(tmp, sizeof (pkg_list)); in mark_processed()
69 (void) strcpy(tmp in mark_processed()
77 pkg_list *tmp; add_dependency() local
98 pkg_list *tmp; free_dependency_list() local
112 pkg_list *tmp; print_dependencies() local
223 pkg_list *tmp; process_dependencies() local
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dconf.sh82 tmp=conf.tmp
111 rm -f $tmp.*
113 '') trap "code=\$?; rm -f $tmp.*; exit \$code" 0 1 2 ;;
118 cat > $tmp.c <<!
130 if $cc -o $tmp.exe $tmp.c >/dev/null 2>&1 && ./$tmp.exe
137 cat > $tmp.c <<!
152 if $cc -o $tmp
[all...]
/titanic_51/usr/src/lib/libadm/common/
H A Dputerror.c48 char *tmp; in puterror() local
54 tmp = calloc(MS+n+1, sizeof (char)); in puterror()
55 (void) strcpy(tmp, DEFMSG); in puterror()
56 (void) strcat(tmp, defmesg ? defmesg : INVINP); in puterror()
62 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char)); in puterror()
63 (void) strcpy(tmp, DEFMSG); in puterror()
64 (void) strcat(tmp, defmesg); in puterror()
65 (void) strcat(tmp, "\n"); in puterror()
67 (void) strcat(tmp, error); in puterror()
70 tmp in puterror()
[all...]
/titanic_51/usr/src/lib/libipmi/common/
H A Dipmi_fru.c58 char *tmp; in ipmi_fru_read() local
80 if ((tmp = malloc(sz)) == NULL) { in ipmi_fru_read()
101 free(tmp); in ipmi_fru_read()
109 free(tmp); in ipmi_fru_read()
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count); in ipmi_fru_read()
115 *buf = tmp; in ipmi_fru_read()
124 char *tmp; in ipmi_fru_parse_product() local
141 tmp = fru_area + (fru_hdr.ifh_product_info_off * 8) + 3; in ipmi_fru_parse_product()
143 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
145 ipmi_decode_string((typelen >> 6), len, tmp in ipmi_fru_parse_product()
188 char *tmp; ipmi_fru_parse_board() local
[all...]
/titanic_51/usr/src/lib/libast/common/comp/
H A Dconf.sh82 tmp=conf.tmp
111 rm -f $tmp.*
113 '') trap "code=\$?; rm -f $tmp.*; exit \$code" 0 1 2 ;;
118 cat > $tmp.c <<!
130 if $cc -o $tmp.exe $tmp.c >/dev/null 2>&1 && ./$tmp.exe
137 cat > $tmp.c <<!
152 if $cc -o $tmp.exe $tmp.c >/dev/null 2>&1
153 then if ./$tmp.exe
238 $sym) echo "$1" >> $tmp.v ;;
313 echo "$systeminfo" > $tmp.c
[all …]
/titanic_51/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c138 PRINTER *tmp; in lpsched_printer_configuration_to_attributes() local
148 if ((tmp = getprinter(dest)) == NULL) { in lpsched_printer_configuration_to_attributes()
156 "printer-name", tmp->name); in lpsched_printer_configuration_to_attributes()
157 if (tmp->name != NULL) { in lpsched_printer_configuration_to_attributes()
161 tmp->name); in lpsched_printer_configuration_to_attributes()
167 if ((tmp->banner & BAN_OPTIONAL) == BAN_OPTIONAL) in lpsched_printer_configuration_to_attributes()
170 else if (tmp->banner & BAN_NEVER) in lpsched_printer_configuration_to_attributes()
173 else if (tmp->banner & BAN_ALWAYS) in lpsched_printer_configuration_to_attributes()
178 if (tmp->input_types != NULL) { in lpsched_printer_configuration_to_attributes()
181 for (i = 0; tmp in lpsched_printer_configuration_to_attributes()
362 CLASS *tmp; lpsched_class_configuration_to_attributes() local
432 attributes_to_printer(papi_attribute_t ** attributes,PRINTER * tmp) attributes_to_printer() argument
[all...]
/titanic_51/usr/src/uts/common/io/
H A Dneti_stack.c348 net_instance_int_t *tmp; in net_instance_register() local
361 LIST_FOREACH(tmp, &neti_instance_list, nini_next) { in net_instance_register()
362 if (strcmp(nin->nin_name, tmp->nini_instance->nin_name) == 0) { in net_instance_register()
392 tmp = net_instance_int_create(nin, parent); in net_instance_register()
393 ASSERT(tmp != NULL); in net_instance_register()
394 LIST_INSERT_HEAD(&nts->nts_instances, tmp, nini_next); in net_instance_register()
416 net_instance_int_t *tmp; in net_instance_unregister() local
421 LIST_FOREACH(tmp, &neti_instance_list, nini_next) { in net_instance_unregister()
422 if (strcmp(tmp->nini_instance->nin_name, nin->nin_name) == 0) { in net_instance_unregister()
423 LIST_REMOVE(tmp, nini_nex in net_instance_unregister()
553 net_instance_int_t *tmp; neti_stack_apply_create() local
619 net_instance_int_t *tmp; neti_stack_apply_shutdown() local
703 net_instance_int_t *tmp; neti_stack_apply_destroy() local
[all...]
/titanic_51/usr/src/lib/libc/port/sys/
H A Dtime_util.c42 uint32_t sec, nsec, tmp; in hrt2ts() local
44 tmp = (uint32_t)(hrt >> 30); in hrt2ts()
45 sec = tmp - (tmp >> 2); in hrt2ts()
46 sec = tmp - (sec >> 5); in hrt2ts()
47 sec = tmp + (sec >> 1); in hrt2ts()
48 sec = tmp - (sec >> 6) + 7; in hrt2ts()
49 sec = tmp - (sec >> 3); in hrt2ts()
50 sec = tmp + (sec >> 1); in hrt2ts()
51 sec = tmp in hrt2ts()
[all...]
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dio.sh31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
43 print 'read -r a;print -r -u$1 -- "$a"' > $tmp/mycat
44 chmod 755 $tmp/mycat
47 eval "a=\$(print foo | $tmp/mycat" $i $i'>&1 > /dev/null |cat)' 2> /dev/null
53 cd $tmp || { err_exit "cd $tmp failed"; exit ; }
176 cat > $tmp/1 <<- ++EOF++
177 script=$tmp/2
192 chmod +x $tmp/1
193 [[ $($SHELL $tmp/1) == ok ]] || err_exit "parent i/o causes child script to fail"
[all …]
H A Dbasic.sh31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
62 cd $tmp || { err_exit "cd $tmp failed"; exit 1; }
118 cat > $tmp/script <<- !
122 chmod 755 $tmp/script
123 if [[ $($tmp/script) != "$tmp/script" ]]
136 cd /tmp
137 cd ../../tmp || err_exit "cd ../../tmp failed"
138 if [[ $PWD != /tmp ]]
144 ) | cat > $tmp/foobar &
[all …]
/titanic_51/usr/src/lib/libsip/common/
H A Dsip_hash.c91 sip_hash_obj_t *tmp; in sip_hash_find() local
96 tmp = hash_entry->hash_head; in sip_hash_find()
98 if (match_func(tmp->sip_obj, digest)) { in sip_hash_find()
101 return (tmp->sip_obj); in sip_hash_find()
103 tmp = tmp->next_obj; in sip_hash_find()
119 sip_hash_obj_t *tmp; in sip_walk_hash() local
124 tmp = hash_entry->hash_head; in sip_walk_hash()
126 assert(tmp->sip_obj != NULL); in sip_walk_hash()
127 func(tmp in sip_walk_hash()
145 sip_hash_obj_t *tmp; sip_hash_delete() local
[all...]
/titanic_51/usr/src/lib/libproc/common/
H A DPzone.c241 char zname[ZONENAME_MAX], zpath[PATH_MAX], tmp[PATH_MAX]; in Pzoneroot() local
273 if ((rv = resolvepath(zpath, tmp, sizeof (tmp) - 1)) < 0) { in Pzoneroot()
284 tmp[rv] = '\0'; in Pzoneroot()
285 (void) strlcpy(zpath, tmp, sizeof (zpath)); in Pzoneroot()
313 char tmp[PATH_MAX + 1]; in Plofspath() local
326 (void) strlcpy(tmp, path, sizeof (tmp) - 1); in Plofspath()
332 if ((rv = resolvepath(tmp, tmp, sizeo in Plofspath()
520 char zroot[PATH_MAX], zpath[PATH_MAX], tmp[PATH_MAX], link[PATH_MAX]; Pzonepath() local
[all...]
/titanic_51/usr/src/contrib/ast/lib/package/
H A Dpackage.mk598 then tmp=/tmp/pkg$(tmp)
599 mkdir $tmp
602 cat > $tmp/configure <<'!'
605 chmod +x $tmp/configure
606 echo ";;;$tmp/configure;configure"
607 cat > $tmp/Makefile0 <<'!'
617 echo ";;;$tmp/Makefile0;Makefile"
618 cat > $tmp/CYGWI
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/
H A Dpackage.mk598 then tmp=/tmp/pkg$(tmp)
599 mkdir $tmp
602 cat > $tmp/configure <<'!'
605 chmod +x $tmp/configure
606 echo ";;;$tmp/configure;configure"
607 cat > $tmp/Makefile0 <<'!'
617 echo ";;;$tmp/Makefile0;Makefile"
618 cat > $tmp/CYGWI
[all...]
/titanic_51/usr/src/lib/libast/common/port/
H A Dastlicense.c399 Buffer_t tmp; in astlicense() local
402 tmp.end = (tmp.buf = tmp.nxt = tmpbuf) + sizeof(tmpbuf); in astlicense()
677 copy(&tmp, "This software is part of the ", -1); in astlicense()
678 expand(&notice, &tmp, &notice.item[PACKAGE]); in astlicense()
679 copy(&tmp, " package", -1); in astlicense()
680 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense()
684 copyright(&notice, &tmp); in astlicense()
685 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense()
691 copy(&tmp, notice.item[PACKAGE].data ? "and" : "This software", -1); in astlicense()
692 copy(&tmp, " is licensed under the", -1); in astlicense()
[all …]
/titanic_51/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-snmp.c119 char *tmp = NULL; in snmp_brother_printer_info() local
126 tmp = snmp_get_string(hostname, community, in snmp_brother_printer_info()
128 if (tmp != NULL) { in snmp_brother_printer_info()
129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_brother_printer_info()
131 free(tmp); in snmp_brother_printer_info()
147 char *tmp = NULL; in snmp_ricoh_printer_info() local
154 tmp = snmp_get_string(hostname, community, in snmp_ricoh_printer_info()
156 if (tmp != NULL) { in snmp_ricoh_printer_info()
157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_ricoh_printer_info()
159 free(tmp); in snmp_ricoh_printer_info()
175 char *tmp = NULL; snmp_lexmark_printer_info() local
203 char *tmp = NULL; snmp_xerox_phaser_printer_info() local
265 char *tmp = NULL; snmp_qms_printer_info() local
302 char *tmp = NULL; snmp_oki_printer_info() local
330 char *tmp = NULL; snmp_hp_printer_info() local
358 char *tmp = NULL; snmp_ppm_printer_info() local
381 char *tmp = NULL; snmp_prt_printer_info() local
412 char *tmp = NULL; snmp_host_resource_printer_info() local
430 char *tmp = NULL; snmp_printer_info() local
[all...]

12345678910>>...67