/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __failed_count.c | 35 attrlist items[1]; in __incr_failed_count() local 51 items[0].type = ATTR_INCR_FAILED_LOGINS; in __incr_failed_count() 52 items[0].next = NULL; in __incr_failed_count() 63 if (items[0].data.val_i >= max_failures) { in __incr_failed_count() 68 items[0].type = ATTR_LOCK_ACCOUNT; in __incr_failed_count() 69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count() 74 (items[0].type == ATTR_LOCK_ACCOUNT)) in __incr_failed_count() 94 attrlist items[1]; in __rst_failed_count() local 110 items[0].type = ATTR_RST_FAILED_LOGINS; in __rst_failed_count() 111 items[0].next = NULL; in __rst_failed_count() [all …]
|
H A D | __set_authtoken_attr.c | 39 attrlist *items, int *updated_reps) in __set_authtoken_attr() argument 50 for (p = items; p != NULL; p = p->next) { in __set_authtoken_attr() 86 err = rops[i]->getpwnam(name, items, rep, &buf); in __set_authtoken_attr() 90 err = rops[i]->update(items, rep, buf); in __set_authtoken_attr()
|
H A D | nss_attr.c | 43 int nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, 87 nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) in nss_getpwnam() argument 103 for (p = items; p != NULL; p = p->next) { in nss_getpwnam() 219 nss_getattr(char *name, attrlist *items, pwu_repository_t *rep) in nss_getattr() argument 227 res = nss_getpwnam(name, items, rep, (void **)&pwbuf); in nss_getattr() 234 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in nss_getattr()
|
H A D | nis_attr.c | 45 int nis_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, 47 int nis_update(attrlist *items, pwu_repository_t *rep, void *buf); 191 nis_getattr(char *name, attrlist *items, pwu_repository_t *rep) in nis_getattr() argument 198 res = nis_getpwnam(name, items, rep, (void **)&nisbuf); in nis_getattr() 204 for (w = items; w != NULL; w = w->next) { in nis_getattr() 284 nis_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, in nis_getpwnam() argument 380 nis_update(attrlist *items, pwu_repository_t *rep, void *buf) in nis_update() argument 386 for (p = items; p != NULL; p = p->next) { in nis_update()
|
H A D | files_attr.c | 50 int files_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, 52 int files_update(attrlist *items, pwu_repository_t *rep, void *buf); 219 files_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) in files_getpwnam() argument 234 for (p = items; p != NULL; p = p->next) { in files_getpwnam() 473 files_getattr(char *name, attrlist *items, pwu_repository_t *rep) in files_getattr() argument 481 res = files_getpwnam(name, items, rep, (void **)&pwbuf); in files_getattr() 488 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in files_getattr() 556 if ((items->data.val_s = in files_getattr() 642 files_update(attrlist *items, pwu_repository_t *rep, void *buf) in files_update() argument 663 for (p = items; p != NULL; p = p->next) { in files_update()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 579 tab->items = items; in enlarge_htab() 634 tab->items = items; in htab_create() 715 items = tab->items[hval & tab->mask]; in htab_add() 725 items = NULL; in htab_add() 728 items = items->next; in htab_add() 782 items[i].p = p; in htab_add() 802 items = NULL; in htab_add() 815 free(items); in htab_add() 937 free(items); in htab_remove() 1101 items = tab->items[i]; in htab_dump() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 506 xfree(items[i]); in free_items() 507 xfree((char *)items); in free_items() 514 free_items(items);\ 515 items = NULL;\ 537 if (items != NULL) in search2() 538 FREE_ITEMS(items); in search2() 569 if (items == NULL) in search2() 570 items = (tchar **)xcalloc(sizeof (items[1]), in search2() 610 qsort((char *)items, numitems, sizeof (items[1]), in search2() 619 if (items != NULL) in search2() [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() 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() 469 kmem_free(items, mem); in devpolicy_load() 477 kmem_free(items, mem); in devpolicy_load() 485 audit_devpolicy(nitems, items); in devpolicy_load() [all …]
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 390 if (elem_cmp(items+i, items) != 0) in dump_log() 406 items->access_type, offset, items->size, in dump_log() 407 items->value, items->repcount, in dump_log() 419 items->access_type, offset, items->size, in dump_log() 420 items->value, items->repcount, in dump_log() 928 qsort((void *)items, nitems, sizeof (*items), log_cmp); in reduce_log() 971 qsort((void *)items, cnt, sizeof (*items), log_cmp2); in reduce_log() 982 items[j].access_type == items[i].access_type; j++) in reduce_log() 1040 *llp = items; in reduce_log() 1129 items = 0; in log2errdefs() [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 2275 items[current->entity_item_type]); in hidparser_free_report_descr_handle() 2339 items[R_ITEM_USAGE] = "Usage"; in hidparser_initialize_items() 2355 items[R_ITEM_EXPONENT] = "Exponent"; in hidparser_initialize_items() 2356 items[R_ITEM_UNIT] = "Unit"; in hidparser_initialize_items() 2358 items[R_ITEM_REPORT_ID] = "Report Id"; in hidparser_initialize_items() 2360 items[R_ITEM_PUSH] = "Push"; in hidparser_initialize_items() 2361 items[R_ITEM_POP] = "Pop"; in hidparser_initialize_items() 2364 items[R_ITEM_INPUT] = "Input"; in hidparser_initialize_items() 2365 items[R_ITEM_OUTPUT] = "Output"; 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/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/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/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/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/uts/common/zmod/ |
H A D | zmod_subr.c | 42 zcalloc(void *opaque, uint_t items, uint_t size) in zcalloc() argument 44 size_t nbytes = sizeof (struct zchdr) + items * size; in zcalloc()
|
/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);
|