Searched refs:map (Results 1 - 25 of 267) sorted by relevance

1234567891011

/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dshim.c75 /* Number of times to try to update a map before giving up */
90 map_ctrl *map; local
92 /* Lock the map */
93 map = get_map_ctrl(db);
94 if (map == NULL)
97 free_map_ctrl(map);
116 map_ctrl *map; local
118 /* Lock the map */
119 map = get_map_ctrl(db);
120 if (map
152 map_ctrl *map; local
191 map_ctrl *map; local
223 map_ctrl *map; local
310 map_ctrl *map; local
351 map_ctrl *map; local
382 map_ctrl *map; local
454 map_ctrl *map; local
561 check_old_map_date(map_ctrl *map) argument
[all...]
H A Dshim_lockmap.c30 * DESCRIPTION: Contains a front end to the map locking code. These are called
31 * when a map, or its map_ctrl structure, needs to be locked
36 * held for a relatively long period when a map is being update
60 lock_map_ctrl(map_ctrl *map) argument
64 ret = lock_core(map->hash_val);
80 unlock_map_ctrl(map_ctrl *map) argument
84 ret = unlock_core(map->hash_val);
H A Dupdate.c30 * DESCRIPTION: Contains the map update thread and related code.
72 * GIVEN : Pointer to the open map ctrl
82 update_entry_if_required(map_ctrl *map, datum *key) argument
85 /* Only update individual entries if entire map is */
87 if (is_map_updating(map))
92 * the map is in need of an update. If it is then fake a
93 * recent order. The client will then read the map, using
97 if (has_map_expired(map))
98 update_timestamp(map->entries);
106 if (!has_entry_expired(map, ke
128 update_from_dit(map_ctrl *map, datum *key) argument
206 update_map_if_required(map_ctrl *map, bool_t wait) argument
345 map_ctrl *map; local
[all...]
H A Dmap_ctrl.c29 * specific to one NIS map.
32 * information about an individual map they are created (on the
33 * heap) when a map is opened and destroyed when it is closed.
37 * If two processes access the same map two map_ctrls will be
61 * map_id_list: hash table for map lists
63 * it is also used as the map ID for
79 * INPUTS: Fully qualified map name
89 map_ctrl *map; local
91 map = (map_ctrl *)am(myself, sizeof (map_ctrl));
92 if (NULL == map) {
140 map_ctrl_init(map_ctrl *map, char *name) argument
333 free_map_ctrl(map_ctrl *map) argument
402 map_ctrl *map = (map_ctrl *)db; local
422 set_key_data(map_ctrl *map, datum *data) argument
469 open_yptol_files(map_ctrl *map) argument
[all...]
H A Dttl_utils.c56 * INPUTS: Map control structure for an open map
65 has_entry_expired(map_ctrl *map, datum *key) argument
73 if ((map == NULL) || (map->ttl == NULL))
77 ttl = dbm_fetch(map->ttl, *key);
81 * If we failed to get a map expiry key, which must always be
83 * the map.
88 "for map %s. Will attempt to recreate map",
89 MAP_EXPIRY_KEY, map
159 has_map_expired(map_ctrl *map) argument
186 update_entry_ttl(map_ctrl *map, datum *key, TTL_TYPE type) argument
234 update_map_ttl(map_ctrl *map) argument
[all...]
H A Ddit_access.c107 * DESCRIPTION: Read (i.e. get and map) a single NIS entry from the LDAP DIT.
121 read_from_dit(char *map, char *domain, datum *key, datum *value) argument
146 if (TRUE == singleReadFromDIT(map, domain, key, value, &res))
183 * INPUTS: Pointer to (unqualified) map name
197 write_to_dit(char *map, char *domain, datum key, datum value, argument
223 res = singleWriteToDIT(map, domain, &key, &value, replace);
269 * GIVEN : Pointer to map
276 get_ttl_value(map_ctrl *map, TTL_TYPE type) argument
282 /* Get the mapping structure corresponding to `map.domain' */
283 table_map = mappingFromMap(map
542 add_special_entries(DBM *db, map_ctrl *map, bool_t *secure_flag) argument
592 update_map_from_dit(map_ctrl *map, bool_t log_flag) argument
1187 update_netgroup_byxxx(map_ctrl *map) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.h36 extern void get_drive_geometry (struct geometry *geom, char **map, int drive);
38 extern int init_device_map (char ***map, const char *map_file,
40 extern void restore_device_map (char **map);
43 extern int is_disk_device (char **map, int drive);
44 extern int write_to_partition (char **map, int drive, int partition,
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dbitops.h24 ** Each bit in this map can be referenced by an ascii character.
28 # define BITMAPBITS 256 /* number of bits in a bit map */
30 # define BITMAPBYTES (BITMAPBITS / BYTEBITS) /* number of bytes in bit map */
45 # define bitnset(bit, map) ((map)[_BITWORD(bit)] & _BITBIT(bit))
48 # define setbitn(bit, map) (map)[_BITWORD(bit)] |= _BITBIT(bit)
51 # define clrbitn(bit, map) (map)[_BITWORD(bit)] &= ~_BITBIT(bit)
53 /* clear an entire bit map */
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dfriendly.c46 ldap_friendly_name( char *filename, char *name, FriendlyMap *map )
53 if ( map == NULL ) {
61 if ( *map == NULL ) {
72 if ( (*map = (FriendlyMap)NSLDAPI_MALLOC( (entries + 1) *
109 (*map)[i].f_unfriendly = nsldapi_strdup( buf );
110 (*map)[i].f_friendly = nsldapi_strdup( s );
115 (*map)[i].f_unfriendly = NULL;
118 for ( i = 0; (*map)[i].f_unfriendly != NULL; i++ ) {
119 if ( strcasecmp( name, (*map)[i].f_unfriendly ) == 0 )
120 return( (*map)[
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmap.c16 SM_RCSID("@(#)$Id: map.c,v 8.706 2010/07/27 03:35:42 ca Exp $")
42 #include "map.h"
78 /* default error message for trying to open a map in write mode */
90 ** MAP.C -- implementations for various map classes.
92 ** Each map class implements a series of functions:
94 ** bool map_parse(MAP *map, char *args)
96 ** if they were ok, false otherwise. Fill in map with the
99 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat)
100 ** Look up the key in the given map. If found, do any
101 ** rewriting the map want
469 register MAP *map; local
624 MAP *map; local
4676 MAP map; local
7162 ns_map_t *map; /* XXX ns_ ? */ member in struct:ns_map_list
[all...]
H A Dalias.c23 static MAP *AliasFileMap = NULL; /* the actual aliases.files map */
80 ** If the map was unavailable, we will queue this message
81 ** until the map becomes available; otherwise, we could
216 static MAP *map = NULL; local
222 if (map == NULL)
228 map = &s->s_map;
230 DYNOPENMAP(map);
245 return (*map->map_class->map_lookup)(map, name, argv, pstat);
247 return (*map
267 register MAP *map; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dgrep.t4 # grep() and map() tests
19 my @mapped = map {scalar @$_} @lol;
33 print map({$_} ("ok $test\n"));
35 print map
38 print((map({a => $_}, ("ok $test\n")))[0]->{a});
40 print((map
44 print map { $_ } ("ok $test\n");
46 print map
49 print((map {a => $_}, ("ok $test\n"))[0]->{a});
51 print((map
[all...]
H A Dglob.t13 map { $files{lc($_)}++ } <op/*>;
14 map { delete $files{"op/$_"} } split /[\s\n]/, `dir /b /l op & dir /b /l /ah op 2>nul`,
17 map { $files{lc($_)}++ } <[.op]*>;
18 map { s/;.*$//; delete $files{lc($_)}; } split /[\n]/, `directory/noheading/notrailing/versions=1 [.op]`,
22 map { $files{$_}++ } <:op:*>;
23 map { delete $files{$_} } split /[\s\n]/, `echo :op:\xc5`;
26 map { $files{$_}++ } <op/*>;
27 map { delete $files{$_} } split /[\s\n]/, `echo op/*`;
H A Drange.t45 join(",", map {sprintf "%02d",$_} 9..99);
108 print join(":", map "[$_]", "".."B") eq '[]' ? "ok 24\n" : "not ok 24\n";
109 print join(":", map "[$_]", undef.."B") eq '[]' ? "ok 25\n" : "not ok 25\n";
110 print join(":", map "[$_]", "B".."") eq '' ? "ok 26\n" : "not ok 26\n";
111 print join(":", map "[$_]", "B"..undef) eq '' ? "ok 27\n" : "not ok 27\n";
114 print join(":", map "[$_]", undef..undef) eq '[]' ? "ok 28\n" : "not ok 28\n";
130 print join(":", map "[$_]", @foo) eq '[]' ? "ok 33\n" : "not ok 33\n";
133 print join(":", map "[$_]", @foo) eq '[]' ? "ok 34\n" : "not ok 34\n";
136 print join(":", map "[$_]", @foo) eq '' ? "ok 35\n" : "not ok 35\n";
139 print join(":", map "[
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c92 open_mapper_library(KMF_MAPPER_RECORD *map) argument
96 map->dldesc = dlopen(map->curpathname, RTLD_LAZY | RTLD_PARENT);
97 if (map->dldesc == NULL)
115 KMF_MAPPER_RECORD *map = NULL; local
127 map = &handle->policy->mapper;
128 old_curpathname = map->curpathname;
129 old_curoptions = map->curoptions;
156 } else if (map->pathname != NULL) {
157 tmppath = strdup(map
313 KMF_MAPPER_RECORD *map = NULL; local
339 KMF_MAPPER_RECORD *map = NULL; local
367 KMF_MAPPER_RECORD *map = NULL; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dfriendly.c47 ldap_friendly_name( char *filename, char *uname, FriendlyMap **map )
54 if ( map == NULL ) {
61 if ( *map == NULL ) {
72 if ( (*map = (FriendlyMap *) malloc( (entries + 1) *
109 (*map)[i].f_unfriendly = strdup( buf );
110 (*map)[i].f_friendly = strdup( s );
115 (*map)[i].f_unfriendly = NULL;
118 for ( i = 0; (*map)[i].f_unfriendly != NULL; i++ ) {
119 if ( strcasecmp( uname, (*map)[i].f_unfriendly ) == 0 )
120 return( (*map)[
[all...]
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_master.c54 yp_master(char *domain, char *map, char **master) argument
61 if ((map == NULL) || (domain == NULL))
65 maplen = strlen(map);
79 reason = domaster(domain, map, pdomb, _ypserv_timeout,
97 * Lookup could be for a secure map; fail over to retry
102 rsvdreason = __yp_master_rsvdport(domain, map, master);
116 __yp_master_rsvdport(char *domain, char *map, char **master) argument
123 if ((map == NULL) || (domain == NULL))
127 maplen = strlen(map);
141 reason = domaster(domain, map, pdom
173 domaster(char *domain, char *map, struct dom_binding *pdomb, struct timeval timeout, char **master) argument
[all...]
H A Dyp_order.c54 yp_order(char *domain, char *map, unsigned long *order) argument
61 if ((map == NULL) || (domain == NULL))
65 maplen = strlen(map);
79 reason = doorder(domain, map, pdomb, _ypserv_timeout,
102 doorder(char *domain, char *map, struct dom_binding *pdomb, argument
110 req.map = map;
/osnet-11/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5240/
H A DMakefile33 include ../Makefile.map
/osnet-11/usr/src/lib/fm/topo/maps/i386/
H A DMakefile36 include ../Makefile.map
/osnet-11/usr/src/lib/fm/topo/maps/sparc/
H A DMakefile36 include ../Makefile.map
/osnet-11/usr/src/lib/fm/topo/maps/sun4u/
H A DMakefile34 include ../Makefile.map
/osnet-11/usr/src/lib/fm/topo/maps/sun4v/
H A DMakefile34 include ../Makefile.map
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c150 static void prldap_return_map( PRLDAP_TPDMap *map );
277 PRLDAP_TPDMap *map; local
280 if (( map = (PRLDAP_TPDMap *)errorarg ) != NULL && ( eip =
282 map->prtm_index )) != NULL ) {
305 PRLDAP_TPDMap *map; local
308 if (( map = (PRLDAP_TPDMap *)errorarg ) != NULL ) {
310 map->prtm_index )) == NULL ) {
327 (void)prldap_set_thread_private( map->prtm_index, eip );
376 * Clean up our thread private data map.
410 * Description: allocate a thread-private data map t
417 PRLDAP_TPDMap *map, *prevmap; local
[all...]
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAggregation.java103 private transient Map <Tuple, AggregationRecord> map; field in class:Aggregation
112 map = new HashMap <Tuple, AggregationRecord> ();
143 // assumes map is not yet created
149 map = new HashMap <Tuple, AggregationRecord> (capacity, 1.0f);
151 map.put(record.getTuple(), record);
161 for (AggregationRecord r : map.values()) {
162 if ((r.getTuple().size() == 0) && (map.size() > 1)) {
210 new ArrayList <AggregationRecord> (map.values());
224 if (map.put(key, record) != null) {
238 return Collections. <Tuple, AggregationRecord> unmodifiableMap(map);
[all...]

Completed in 63 milliseconds

1234567891011