Searched defs:iter (Results 1 - 25 of 38) sorted by relevance

12

/osnet-11/usr/src/cmd/hal/hald-runner/
H A Dutils.c34 get_string_array(DBusMessageIter *iter, char *extra) argument
40 while (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_STRING) {
43 dbus_message_iter_get_basic(iter, &value);
46 dbus_message_iter_next(iter);
H A Dmain.c35 parse_first_part(run_request *r, DBusMessage *msg, DBusMessageIter *iter) argument
41 if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_STRING)
43 dbus_message_iter_get_basic(iter, &tmpstr);
47 if (!dbus_message_iter_next(iter) || dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_ARRAY)
49 dbus_message_iter_recurse(iter, &sub_iter);
55 if (!dbus_message_iter_next(iter) || dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_ARRAY)
57 dbus_message_iter_recurse(iter, &sub_iter);
70 DBusMessageIter iter; local
112 DBusMessageIter iter; local
[all...]
H A Drunner.c110 DBusMessageIter iter; local
119 dbus_message_iter_init_append(reply, &iter);
120 dbus_message_iter_append_basic(&iter, DBUS_TYPE_UINT32, &exit_type);
121 dbus_message_iter_append_basic(&iter, DBUS_TYPE_INT32, &return_code);
123 dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &error[i]);
/osnet-11/usr/src/cmd/hal/utils/
H A Dadt_data.c27 DBusMessageIter iter, subiter; local
63 dbus_message_iter_init (reply, &iter);
65 if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_ARRAY ||
66 dbus_message_iter_get_element_type (&iter) != DBUS_TYPE_BYTE) {
72 dbus_message_iter_recurse (&iter, &subiter);
H A Dprinter.c48 char *iter = NULL; local
55 for (s = (char *)strtok_r(devid_string, ";\n", &iter); s != NULL;
56 s = (char *)strtok_r(NULL, ";\n", &iter)) {
/osnet-11/usr/src/grub/grub2/grub-core/bus/emu/
H A Dpci.c37 struct pci_device_iterator *iter; local
44 iter = pci_slot_match_iterator_create (&slot);
45 while ((dev = pci_device_next (iter)))
47 pci_iterator_destroy (iter);
/osnet-11/usr/src/lib/libfedfs/common/
H A Dsmf_params.c254 scf_iter_t *iter = NULL; local
266 (iter = scf_iter_create(h)) == NULL ||
272 if (scf_iter_service_pgs_typed(iter, svc, SCF_GROUP_APPLICATION) != 0)
285 if (scf_iter_next_pg(iter, pg) != 1)
319 scf_iter_destroy(iter);
465 scf_iter_t *iter = NULL; local
476 (iter = scf_iter_create(h)) == NULL ||
531 scf_iter_destroy(iter);
/osnet-11/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc159 PayloadReader::getIterationOffset(uint8_t *iter, int iterLen, argument
168 uint8_t head = iter[0];
169 uint8_t tail = iter[1];
170 uint8_t iterThere = iter[2];
171 uint8_t iterPoss = iter[3];
/osnet-11/usr/src/lib/libidmap/common/
H A Dutils.c117 _iter_get_next_list(int type, idmap_iter_t *iter, argument
123 iter->next = 0;
124 iter->retlist = NULL;
145 iter->retlist = *list;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c88 void *iter = 0; local
108 cp, &iter, 0,
388 void *iter; local
392 iter = 0;
394 retval = profile_find_node_relation(root, 0, &iter,
411 } while (iter != 0);
413 iter = 0;
415 retval = profile_find_node_subsection(root, 0, &iter,
440 } while (iter != 0);
H A Dprof_tree.c413 struct profile_iterator *iter; local
428 if ((iter = malloc(sizeof(struct profile_iterator))) == NULL)
431 iter->magic = PROF_MAGIC_ITERATOR;
432 iter->profile = profile;
433 iter->names = names;
434 iter->flags = flags;
435 iter->file = profile->first_file;
436 iter->done_idx = done_idx;
437 iter->node = 0;
438 iter
445 struct profile_iterator *iter; local
466 struct profile_iterator *iter = *iter_p; local
[all...]
/osnet-11/usr/src/cmd/hal/hald/
H A Ddevice_store.c222 GSList *iter; local
224 for (iter = store->devices; iter != NULL; iter = iter->next) {
225 HalDevice *d = iter->data;
239 GSList *iter; local
244 for (iter = store->devices; iter != NULL; iter
284 GSList *iter; local
314 GSList *iter; local
342 GSList *iter; local
[all...]
H A Dproperty.c227 GSList *iter; local
233 for (iter = hal_property_get_strlist (prop);
234 iter != NULL && i < sizeof(buf);
235 iter = g_slist_next (iter)) {
239 str = (const char *) iter->data;
244 if (g_slist_next (iter) != NULL && i < sizeof(buf)) {
H A Dhald_runner.c242 DBusMessageIter *iter = (DBusMessageIter *)user_data; local
255 dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &env);
265 add_env(DBusMessageIter *iter, const gchar *key, const gchar *value) { argument
268 dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &env);
273 add_basic_env(DBusMessageIter *iter, const gchar *udi) { argument
278 add_env(iter, "HALD_VERBOSE", "1");
281 add_env(iter, "HALD_STARTUP", "1");
284 add_env(iter, "HALD_USE_SYSLOG", "1");
286 add_env(iter, "UDI", udi);
288 add_env(iter, "HALD_DIRECT_ADD
304 add_extra_env(DBusMessageIter *iter, gchar **env) argument
312 add_command(DBusMessageIter *iter, const gchar *command_line) argument
340 add_first_part(DBusMessageIter *iter, HalDevice *device, const gchar *command_line, char **extra_env) argument
370 DBusMessageIter iter; local
431 DBusMessageIter iter; local
488 DBusMessageIter iter; local
547 DBusMessageIter iter; local
[all...]
H A Ddevice.c200 GSList *iter; local
209 for (iter = source->properties; iter != NULL; iter = iter->next) {
210 HalProperty *p = iter->data;
279 GSList *iter; local
284 for (iter = source->properties; iter != NULL; iter
354 GSList *iter; local
440 GSList *iter; local
478 GSList *iter; local
510 GSList *iter; local
590 GSList *iter; local
932 GSList *iter; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Doverload.t532 my $iter = new symbolic 2;
534 my $cnt = $iter;
540 my $pi = $side*(2**($iter+2));
546 my $iter = new symbolic 2;
548 my $cnt = $iter;
553 my $pi = $side*(2**($iter+2));
653 my $iter = new symbolic1 2;
655 my $cnt = $iter;
661 my $pi = $side*(2**($iter+2));
667 my $iter
721 sub iter { my ($x) = @_; return undef if $$x < 0; return $$x--; } subroutine
[all...]
/osnet-11/usr/src/lib/libuvfs/common/
H A Dsvc.c363 scf_iter_t *iter = NULL; local
380 iter = scf_iter_create(fs->fs_scf_handle);
381 rc = scf_iter_service_instances(iter, service);
388 for (rc = scf_iter_next_instance(iter, instance); rc == 1;
389 rc = scf_iter_next_instance(iter, instance)) {
433 if (iter != NULL)
434 scf_iter_destroy(iter);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios_cache.c90 smb_netbios_cache_getfirst(nbcache_iter_t *iter) argument
96 item = ht_findfirst(smb_netbios_cache, &iter->nbc_hti);
104 iter->nbc_entry = smb_netbios_name_dup(entry, 1);
109 return ((iter->nbc_entry) ? 0 : -1);
113 smb_netbios_cache_getnext(nbcache_iter_t *iter) argument
119 item = ht_findnext(&iter->nbc_hti);
127 iter->nbc_entry = smb_netbios_name_dup(entry, 1);
132 return ((iter->nbc_entry) ? 0 : -1);
/osnet-11/usr/src/lib/libntsvcs/common/
H A Deventlog_svc.c506 int dir, ent_per_req, iter; local
566 iter = ent_no & LOGR_NMSGMASK;
568 iter = (ent_no - 1) & LOGR_NMSGMASK;
570 le = logr_get_entry(rdata->rd_log, iter);
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c696 scf_iter_t *iter = NULL; local
715 (iter = scf_iter_create(hdl)) == NULL ||
766 scf_iter_property_values(iter, prop) != 0 ||
767 scf_iter_next_value(iter, val) != 1)
791 scf_iter_destroy(iter);
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c546 GSList *iter; local
572 iter = gdl->devices;
574 while (iter != NULL) {
575 d = HAL_DEVICE (iter->data);
578 iter = iter->next;
590 iter = iter->next;
597 iter = iter
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c65 int iter; member in struct:mtab_handle
100 if (mtab->iter < mtab->n_mounts)
101 return mtab->mounts[mtab->iter++].f_mntfromname;
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_upgrade.c510 scf_iter_t *iter = NULL; local
582 iter = scf_iter_create(handle->handle);
587 if (iter == NULL || value == NULL || prop == NULL ||
593 if (scf_iter_pg_properties(iter, pg) == 0) {
594 while (scf_iter_next_property(iter, prop) > 0) {
626 if (iter != NULL)
627 scf_iter_destroy(iter);
648 scf_iter_t *iter, *viter; local
671 iter = scf_iter_create(handle->handle);
676 if (iter
789 scf_iter_t *iter; local
893 scf_iter_t *iter; local
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_cfg.c1339 smb_hostifs_walker_t iter; local
1344 iter.hiw_ifname = ifname;
1345 iter.hiw_matchfound = B_FALSE;
1346 dlpi_walk(smb_config_ifcmp, &iter, 0);
1348 return (iter.hiw_matchfound);
H A Dsmb_pwdutil.c360 smb_pwd_iteropen(smb_pwditer_t *iter) argument
362 if (iter == NULL)
366 return (smb_pwd_ops.pwop_iteropen(iter));
368 iter->spi_next = NULL;
381 smb_pwd_iterate(smb_pwditer_t *iter) argument
385 if (iter == NULL)
389 return (smb_pwd_ops.pwop_iterate(iter));
391 if (iter->spi_next == NULL)
394 ucnode = AVL_NEXT(&smb_uch.uc_cache, iter->spi_next);
396 if ((iter
408 smb_pwd_iterclose(smb_pwditer_t *iter) argument
[all...]

Completed in 112 milliseconds

12