/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 132 size_t need = 1 ; /*%< for null byte */ in irp_marshall_pw() local 168 need += strlen(pw->pw_name) + 1; /*%< one for fieldsep */ in irp_marshall_pw() 169 need += strlen(pw->pw_passwd) + 1; in irp_marshall_pw() 170 need += strlen(pwUid) + 1; in irp_marshall_pw() 171 need += strlen(pwGid) + 1; in irp_marshall_pw() 172 need += strlen(pwClass) + 1; in irp_marshall_pw() 173 need += strlen(pwChange) + 1; in irp_marshall_pw() 174 need += strlen(pwExpire) + 1; in irp_marshall_pw() 175 need += strlen(pw->pw_gecos) + 1; in irp_marshall_pw() 176 need += strlen(pw->pw_dir) + 1; in irp_marshall_pw() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | mbdb.c | 498 int need; local 605 need = NEED_FULLNAME|NEED_HOMEDIR|NEED_SHELL|NEED_UID|NEED_GID; 643 if (!bitset(NEED_FULLNAME, need) || 649 need &= ~NEED_FULLNAME; 653 if (!bitset(NEED_HOMEDIR, need) || 659 need &= ~NEED_HOMEDIR; 663 if (!bitset(NEED_SHELL, need) || 669 need &= ~NEED_SHELL; 675 if (!bitset(NEED_UID, need)) 691 need &= ~NEED_UID; [all …]
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ecb.c | 47 size_t need; in ecb_cipher_contiguous_blocks() local 74 need = block_size - ctx->ecb_remainder_len; in ecb_cipher_contiguous_blocks() 76 if (need > remainder) in ecb_cipher_contiguous_blocks() 80 [ctx->ecb_remainder_len], need); in ecb_cipher_contiguous_blocks() 97 need); in ecb_cipher_contiguous_blocks() 116 datap += need; in ecb_cipher_contiguous_blocks()
|
H A D | cbc.c | 56 size_t need; in cbc_encrypt_contiguous_blocks() local 83 need = block_size - ctx->cbc_remainder_len; in cbc_encrypt_contiguous_blocks() 85 if (need > remainder) in cbc_encrypt_contiguous_blocks() 89 [ctx->cbc_remainder_len], need); in cbc_encrypt_contiguous_blocks() 112 need); in cbc_encrypt_contiguous_blocks() 150 datap += need; in cbc_encrypt_contiguous_blocks() 193 size_t need; in cbc_decrypt_contiguous_blocks() local 220 need = block_size - ctx->cbc_remainder_len; in cbc_decrypt_contiguous_blocks() 222 if (need > remainder) in cbc_decrypt_contiguous_blocks() 226 [ctx->cbc_remainder_len], need); in cbc_decrypt_contiguous_blocks() [all …]
|
H A D | ccm.c | 55 size_t need; in ccm_mode_encrypt_contiguous_blocks() local 86 need = block_size - ctx->ccm_remainder_len; in ccm_mode_encrypt_contiguous_blocks() 88 if (need > remainder) in ccm_mode_encrypt_contiguous_blocks() 92 [ctx->ccm_remainder_len], need); in ccm_mode_encrypt_contiguous_blocks() 136 need); in ccm_mode_encrypt_contiguous_blocks() 159 datap += need; in ccm_mode_encrypt_contiguous_blocks() 366 size_t need; in ccm_mode_decrypt_contiguous_blocks() local 452 need = block_size - ctx->ccm_remainder_len; in ccm_mode_decrypt_contiguous_blocks() 454 if (need > remainder) in ccm_mode_decrypt_contiguous_blocks() 458 [ctx->ccm_remainder_len], need); in ccm_mode_decrypt_contiguous_blocks() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sftable.c | 61 int argp, argn, maxp, need[FP_INDEX]; local 108 need[n] = -1; 141 need[FP_STR] = n; 198 need[dot] = n; 235 need[FP_SIZE] = n; 328 fp[argp].need[n] = need[n]; 354 fp[n].need[v] = -1; 361 if((v = fp[n].need[FP_WIDTH]) >= 0 && v < n) 363 if((v = fp[n].need[FP_PRECIS]) >= 0 && v < n) 365 if((v = fp[n].need[FP_BASE]) >= 0 && v < n) [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | table.c | 45 int need; in sqlite_get_table_cb() local 53 need = nCol*2; in sqlite_get_table_cb() 55 need = nCol; in sqlite_get_table_cb() 57 if( p->nData + need >= p->nAlloc ){ in sqlite_get_table_cb() 59 p->nAlloc = p->nAlloc*2 + need + 1; in sqlite_get_table_cb()
|
/illumos-gate/usr/src/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 202 expand_env_list(char *list, uint64_t *test, uint64_t *need, char **erritem) in expand_env_list() argument 231 *need |= mask; in expand_env_list() 233 *need &= ~(mask); in expand_env_list() 653 sym_test_env(struct sym_test *st, struct compile_env *cenv, int *need) in sym_test_env() argument 661 *need = (st->st_need_mask & b) ? 1 : 0; in sym_test_env() 866 do_compile(test_t t, struct sym_test *st, struct compile_env *cenv, int need) in do_compile() argument 927 (void) fprintf(logf, "EXPECT: %s\n", need ? "OK" : "FAIL"); in do_compile() 936 if (!need) { in do_compile() 944 if (need) { in do_compile() 962 int need; in test_compile() local [all …]
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | README.illumos | 25 You'll need the data tarball. Most data files are used in the gate 33 Next you need to copy the country tab and the zone tab files. These have 39 Now, you need to manually fix up the zone_sun.tab. zone_sun.tab has 62 After that's done, you'll need to go through the more agonizing process of 65 These "Link" lines describe hardlinks that need to exist in packaging. 83 changed to links but others may need manual adjustment. If you're not friends 86 Once both of those are done, you'll need to update the version of the package 88 Instead, you need to encode that letter to its spot in the alphabet. So 2013i
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue5.c | 38 int need; variable 61 nsucc = need = inct = rflag = numwords = nfound = 0; in fgrep() 79 need = (int)xargv[1]; in fgrep() 133 if (need == 0) need = numwords; in execute() 189 fprintf(stderr, " found: nfound %d need %d\n", nfound, need); in execute() 191 if (++nfound >= need) { in execute()
|
H A D | hunt6.c | 40 int i, g, j, need, got, na, len; in baddrop() local 106 need = colevel ? reached : nitem; in baddrop() 111 ar[na++] = (char *)need; in baddrop()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | dockspace.c | 77 static void warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail, 129 warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail, fsblkcnt_t limit) in warn() argument 133 logerr(gettext(WRN_NOBLKS), name, avail, (need + limit), limit, in warn() 134 (need + limit - avail)); in warn() 136 logerr(gettext(WRN_NOFILES), name, avail, (need + limit), limit, in warn() 137 (need + limit - avail)); in warn()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | collate.c | 385 size_t need = 0; in _collate_wxfrm() local 448 need = want; in _collate_wxfrm() 468 need = want; in _collate_wxfrm() 474 return (need); in _collate_wxfrm() 533 size_t need = 0; in _collate_sxfrm() local 607 need = want; in _collate_sxfrm() 635 need = want; in _collate_sxfrm() 641 return (need); in _collate_sxfrm()
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_output.c | 288 int need; in auimpl_output_callback_impl() local 302 need = fragfr; in auimpl_output_callback_impl() 325 used = min(avail, need); in auimpl_output_callback_impl() 349 need -= used; in auimpl_output_callback_impl() 351 } while (need && avail); in auimpl_output_callback_impl() 381 sp->s_errors += need; in auimpl_output_callback_impl()
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t7.c | 19 void need(void); 26 if (boxflg || allflg || dboxflg) need(); in runout() 93 need(void) in need() function
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnbo.c | 493 int need; in xnbo_hotplug_connected() local 505 "SUNW-need-rx-filter", "%d", &need) != 0) in xnbo_hotplug_connected() 506 need = 0; in xnbo_hotplug_connected() 507 xnbop->o_need_rx_filter = (need > 0); in xnbo_hotplug_connected() 510 "SUNW-need-set-physaddr", "%d", &need) != 0) in xnbo_hotplug_connected() 511 need = 0; in xnbo_hotplug_connected() 512 xnbop->o_need_setphysaddr = (need > 0); in xnbo_hotplug_connected()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ |
H A D | README | 209 - Depending on the polling interval, we need to add the above calculated 210 bandwidth to one or more frame bandwidth lists. Before adding, we need to 216 In this case, we need to add required bandwidth to 0,4,8,12,16,20,24, 397 For a high speed usb device, you only need high speed bandwidth. For a 398 full/low speed device connected through a high speed hub, you need both 443 - Depending on the polling interval, we need to add the above calculated 446 Before adding, we need to double check the availability of bandwidth in 452 is 3. In this case, we need to add required bandwidth to 0,4,8,12,16, 454 saved using ehci_start_split_masks matrix. For this example, we need 459 For a given full/low speed interrupt or isochronous endpoint, we need both [all …]
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 813 strtbl_alloc(ARSTRTBL *strtbl, size_t need) in strtbl_alloc() argument 821 uint64_t need64 = need; in strtbl_alloc() 938 size_t need; in savename() local 940 need = strlen(symbol) + 1; in savename() 941 if ((need + sym_strtbl.used) > sym_strtbl.size) in savename() 942 strtbl_alloc(&sym_strtbl, need); in savename() 945 sym_strtbl.used += need; in savename() 964 size_t len, need; in savelongname() local 969 need = len + 2; in savelongname() 972 if ((need + long_strtbl.used) > long_strtbl.size) in savelongname() [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 212 int need; in vglitchup() local 218 need = p + vp->vdepth - (vp+1)->vliny; in vglitchup() 219 if (need > 0) { in vglitchup() 220 if (state == VISUAL && WTOP - ZERO >= need && insert_line && delete_line) { in vglitchup() 222 WTOP -= need; in vglitchup() 224 p -= need; in vglitchup() 229 vdellin(WTOP, need, -1); in vglitchup() 234 vinslin((vp+1)->vliny, need, l); in vglitchup()
|
/illumos-gate/usr/src/lib/ |
H A D | README.Makefiles | 119 In addition, if your header files need to be installed in a location other 122 ROOTHDRDIR have been set, your Makefile need only contain 161 above example. If you need to skip the C preprocessor, just use the native 204 via MSGDOMAINPOFILE, there is no need to use MSGDOMAINPOFILE in this Makefile 304 3. A list of macros that need not be defined prior to the inclusion 331 actually do not need to set this prior to the inclusion of 361 you usually do not need to set this. 368 Makefile.rootfs), you usually do not need to set this. 381 you only need to set this when source files from directories other 398 Makefile.lib, so you only need to change this if you have additional [all …]
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_ocp.c | 30 size_t need = offsetof(ocp_vul_telstr_t, ots_rsvd40); in nvme_ocp_telstr_var_len() local 36 (void) memcpy(&telstr, data, need); in nvme_ocp_telstr_var_len()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 265 #define CRYPTO_BUFFER_CHECK(sp, need, rctl_chk) \ argument 266 ((sp->sd_pre_approved_amount >= need) ? \ 267 (sp->sd_pre_approved_amount -= need, \ 269 (rctl_chk = B_TRUE, crypto_buffer_check(need))) 1430 size_t need; in get_provider_info() local 1447 need = sizeof (crypto_provider_ext_info_t); in get_provider_info() 1448 if ((rv = crypto_buffer_check(need)) != CRYPTO_SUCCESS) { in get_provider_info() 1449 need = 0; in get_provider_info() 1461 ext_info = kmem_zalloc(need, KM_SLEEP); in get_provider_info() 1503 CRYPTO_DECREMENT_RCTL(need); in get_provider_info() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | README | 17 You need to modify sigvechandler() 19 You need to modify struct sigcontext.
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pfmod.c | 236 int need; in pfrput() local 276 need = pfp->pf_PByteLen; in pfrput() 277 if (mbp && (MBLKL(mbp) < need)) { in pfrput() 281 if (pullupmsg(mbp, MIN(need, len)) == 0) { in pfrput()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppsearch.c | 119 int need; in search() local 156 need = TYPE_HOSTED; in search() 158 need = TYPE_VENDOR; in search() 160 need = TYPE_INCLUDE; in search() 162 if (dp->type & need) in search() 164 …message((-3, "search: fp=%s need=%02x index=%d dp=%s type=%02x index=%d", fp->name, need, index, d… in search() 359 …gs & SEARCH_NEXT) && index != dp->index && (!(need & TYPE_HOSTED) || dp->index == INC_STANDARD) &&… in search()
|