/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __failed_count.c | 36 attrlist items[1]; in __incr_failed_count() local 52 items[0].type = ATTR_INCR_FAILED_LOGINS; in __incr_failed_count() 53 items[0].next = NULL; in __incr_failed_count() 54 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count() 59 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { in __incr_failed_count() 64 if (items[0].data.val_i >= max_failures) { in __incr_failed_count() 69 items[0].type = ATTR_LOCK_ACCOUNT; in __incr_failed_count() 70 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count() 75 (items[0].type == ATTR_LOCK_ACCOUNT)) in __incr_failed_count() 95 attrlist items[1]; in __rst_failed_count() local [all …]
|
H A D | __set_authtoken_attr.c | 40 attrlist *items, int *updated_reps) in __set_authtoken_attr() argument 51 for (p = items; p != NULL; p = p->next) { in __set_authtoken_attr() 87 err = rops[i]->getpwnam(name, items, rep, &buf); in __set_authtoken_attr() 91 err = rops[i]->update(items, rep, buf); in __set_authtoken_attr()
|
H A D | nss_attr.c | 44 int nss_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, 88 nss_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, in nss_getpwnam() argument 105 for (p = items; p != NULL; p = p->next) { in nss_getpwnam() 221 nss_getattr(const char *name, attrlist *items, pwu_repository_t *rep) in nss_getattr() argument 229 res = nss_getpwnam(name, items, rep, (void **)&pwbuf); in nss_getattr() 236 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in nss_getattr()
|
H A D | nis_attr.c | 46 int nis_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, 48 int nis_update(attrlist *items, pwu_repository_t *rep, void *buf); 193 nis_getattr(const char *name, attrlist *items, pwu_repository_t *rep) in nis_getattr() argument 200 res = nis_getpwnam(name, items, rep, (void **)&nisbuf); in nis_getattr() 206 for (w = items; w != NULL; w = w->next) { in nis_getattr() 286 nis_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, in nis_getpwnam() argument 389 nis_update(attrlist *items, pwu_repository_t *rep, void *buf) in nis_update() argument 395 for (p = items; p != NULL; p = p->next) { in nis_update()
|
H A D | files_attr.c | 52 int files_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, 54 int files_update(attrlist *items, pwu_repository_t *rep, void *buf); 222 files_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep, in files_getpwnam() argument 238 for (p = items; p != NULL; p = p->next) { in files_getpwnam() 477 files_getattr(const char *name, attrlist *items, pwu_repository_t *rep) in files_getattr() argument 485 res = files_getpwnam(name, items, rep, (void **)&pwbuf); in files_getattr() 492 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in files_getattr() 560 if ((items->data.val_s = in files_getattr() 646 files_update(attrlist *items, pwu_repository_t *rep, void *buf) in files_update() argument 667 for (p = items; p != NULL; p = p->next) { in files_update()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 537 htab_item_t **items; in enlarge_htab() local 549 items = (htab_item_t **)calloc( in enlarge_htab() 552 if (items != NULL) { in enlarge_htab() 559 item = tab->items[(i * oldsz) + j]; in enlarge_htab() 562 itemp = &items[(i * newsz) + in enlarge_htab() 578 free(tab->items); in enlarge_htab() 579 tab->items = items; in enlarge_htab() 621 htab_item_t **items = NULL; in htab_create() local 630 items = (htab_item_t **)calloc( in htab_create() 632 if (items != NULL) { in htab_create() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 283 print_by_column(tchar *dir, tchar *items[], int count, int looking_for_command) in print_by_column() argument 291 maxwidth = max(maxwidth, tswidth(items[i])); in print_by_column() 308 printf("%t", items[i]); in print_by_column() 309 w = tswidth(items[i]); in print_by_column() 312 (tchar) filetype(dir, items[i], 0)); in print_by_column() 498 free_items(tchar **items) in free_items() argument 505 for (i = 0; items[i]; i++) in free_items() 506 xfree(items[i]); in free_items() 507 xfree((char *)items); in free_items() 510 #define FREE_ITEMS(items) { \ argument [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devpolicy.c | 409 devplcysys_t *items; in devpolicy_load() local 436 items = kmem_alloc(mem, KM_SLEEP); in devpolicy_load() 438 if (copyin(uitmp, items, mem)) { in devpolicy_load() 439 kmem_free(items, mem); in devpolicy_load() 444 if (items[0].dps_maj != DEVPOLICY_DFLT_MAJ) { in devpolicy_load() 445 kmem_free(items, mem); in devpolicy_load() 460 curmaj = items[i].dps_maj; in devpolicy_load() 461 len = strlen(items[i].dps_minornm); in devpolicy_load() 463 (tmp = strchr(items[i].dps_minornm, '*')) != NULL; in devpolicy_load() 467 len >= sizeof (items[i].dps_minornm) || in devpolicy_load() [all …]
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 378 dump_log(uint_t lvl, FILE *fp, struct acc_log_elem *items, in dump_log() argument 390 if (elem_cmp(items+i, items) != 0) in dump_log() 396 (items->access_type & BOFI_DMA_RW) ? in dump_log() 400 for (i = 0; i < nitems; i++, items++) { in dump_log() 401 offset = items->offset; in dump_log() 406 items->access_type, offset, items->size, in dump_log() 407 items->value, items->repcount, in dump_log() 409 items->access_time : 0ull); in dump_log() 419 items->access_type, offset, items->size, in dump_log() 420 items->value, items->repcount, in dump_log() [all …]
|
/illumos-gate/usr/src/data/locale/tools/ |
H A D | mkwidths.py | 47 items = line.split() 48 if (len(items) != 2) or items[0].startswith("#"): 50 (sym, val) = (items[0], items[1])
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | zutil.c | 214 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 217 ulg bsize = (ulg)items*size; in zcalloc() 277 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) in zcalloc() argument 280 return _halloc((long)items, size); in zcalloc() 298 extern voidp calloc OF((uInt items, uInt size)); 302 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 305 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc() 306 (voidpf)calloc(items, size); in zcalloc()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | cubetype.sh | 37 items=(foo bar) 74 b.items[1]=bam 75 b.items[2]=extra 85 unset b.items 91 unset bb.items 150 cc[2]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 155 [[ ${cc[2].items[2]} == pencil ]] || err_exit '${cc[2].items[2]} != pencil' 164 unset cc[2].name cc[2].colors cc[2].items 169 cc[two]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 175 [[ ${cc[two].items[2]} == pencil ]] || err_exit '${cc[two].items[2]} != pencil' [all …]
|
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | newmenu.c | 38 new_menu(ITEM **items) in new_menu() argument 46 if (items) { in new_menu() 47 if (*items == (ITEM *)0 || !_connect(m, items)) { in new_menu()
|
H A D | connect.c | 62 _connect(MENU *m, ITEM **items) in _connect() argument 68 for (ip = items; *ip; ip++) { in _connect() 75 for (i = 0, ip = items; *ip; ip++) { in _connect() 78 for (ip = items; *ip; ip++) { in _connect() 94 Items(m) = items; in _connect()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 50 char *items[500]; /* Print items */ variable 1343 indent_space, items[entity->entity_item_type], in hidparser_print_entity() 1360 items[attribute->entity_attribute_tag], in hidparser_print_this_attribute() 1365 items[attribute->entity_attribute_tag], in hidparser_print_this_attribute() 2275 items[current->entity_item_type]); in hidparser_free_report_descr_handle() 2289 items[current->entity_item_type]); in hidparser_free_report_descr_handle() 2313 items[current->entity_attribute_tag], in hidparser_free_attribute_list() 2339 items[R_ITEM_USAGE] = "Usage"; in hidparser_initialize_items() 2340 items[R_ITEM_USAGE_MIN] = "Usage Minimum"; in hidparser_initialize_items() 2341 items[R_ITEM_USAGE_MAX] = "Usage Maximum"; in hidparser_initialize_items() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 270 int items, i; in show_options() local 339 items = *start++ / 4; in show_options() 340 display_ip(items, "%s at = %s", in show_options() 406 items = *start++ / 8; in show_options() 407 for (i = 0; i < items; i++) { in show_options() 426 items = *start / sizeof (ushort_t); in show_options() 428 for (i = 0; i < items; i++) { in show_options() 450 items = *start++ / 8; in show_options() 451 for (i = 0; i < items; i++) { in show_options() 632 display_ip(int items, char *fmt, char *msg, unsigned char **opt) in display_ip() argument [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_kmod.c | 394 smb_netsvcitem_t *items; in smb_kmod_enum() local 412 items = calloc(svcenum->se_nitems, sizeof (smb_netsvcitem_t)); in smb_kmod_enum() 413 if (items == NULL) in smb_kmod_enum() 416 ns->ns_items = items; in smb_kmod_enum() 424 user = &items->nsi_un.nsi_user; in smb_kmod_enum() 428 tree = &items->nsi_un.nsi_tree; in smb_kmod_enum() 433 ofile = &items->nsi_un.nsi_ofile; in smb_kmod_enum() 444 list_insert_tail(&ns->ns_list, items); in smb_kmod_enum() 446 ++items; in smb_kmod_enum()
|
/illumos-gate/usr/src/lib/mergeq/ |
H A D | workq.c | 153 void **items; in workq_grow() local 162 items = workq_alloc(ncap * sizeof (void *)); in workq_grow() 163 if (items == NULL) in workq_grow() 166 bzero(items, ncap * sizeof (void *)); in workq_grow() 167 bcopy(wqp->wq_items, items, wqp->wq_cap * sizeof (void *)); in workq_grow() 169 wqp->wq_items = items; in workq_grow()
|
H A D | mergeq.c | 321 void **items; in mergeq_grow() local 330 items = mergeq_alloc(ncap * sizeof (void *)); in mergeq_grow() 331 if (items == NULL) in mergeq_grow() 334 bzero(items, ncap * sizeof (void *)); in mergeq_grow() 335 bcopy(mqp->mq_items, items, mqp->mq_cap * sizeof (void *)); in mergeq_grow() 337 mqp->mq_items = items; in mergeq_grow()
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 1265 char *items[FMD_MSG_ITEM_MAX]; in fmd_msg_gettext_locked() local 1283 bzero(items, sizeof (items)); in fmd_msg_gettext_locked() 1286 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i); in fmd_msg_gettext_locked() 1287 if (items[i] == NULL) in fmd_msg_gettext_locked() 1340 items[FMD_MSG_ITEM_TYPE], items[FMD_MSG_ITEM_SEVERITY], in fmd_msg_gettext_locked() 1342 items[FMD_MSG_ITEM_DESC], items[FMD_MSG_ITEM_RESPONSE], in fmd_msg_gettext_locked() 1343 items[FMD_MSG_ITEM_IMPACT], items[FMD_MSG_ITEM_ACTION]); in fmd_msg_gettext_locked() 1351 items[FMD_MSG_ITEM_TYPE], items[FMD_MSG_ITEM_SEVERITY], in fmd_msg_gettext_locked() 1353 items[FMD_MSG_ITEM_DESC], items[FMD_MSG_ITEM_RESPONSE], in fmd_msg_gettext_locked() 1354 items[FMD_MSG_ITEM_IMPACT], items[FMD_MSG_ITEM_ACTION]); in fmd_msg_gettext_locked() [all …]
|
/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | SpellCheck.py | 266 for misspelling, correct in misspellings.items(): 271 for alternate, correct in alternates.items(): 276 for alternate, correct in case.items():
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | wjposer1.awk | 61 items = split(rec["IH"],ihs,"/"); 69 for(i = 1; i <= items; i++){
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | zmod_subr.c | 41 zcalloc(void *opaque __unused, uint_t items, uint_t size) in zcalloc() argument 43 size_t nbytes = sizeof (struct zchdr) + items * size; in zcalloc()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 250 size_t items; in fread() local 257 for (items = 0, bytes = 0; items < nitems; items++) { in fread()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 62 static void *z_alloc __P((void *, u_int items, u_int size)); 92 z_alloc(notused, items, size) in z_alloc() argument 94 u_int items, size; 96 return malloc(items * size);
|