/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 706 int loc = 0; local 719 loc += 2; 721 out_storage[loc++] = (u_char) key->dk_proto; 722 out_storage[loc++] = (u_char) key->dk_alg; 726 dst_s_put_int16(&out_storage[loc], val); 727 loc += 2; 730 return (loc); 733 (u_char *) &out_storage[loc], 734 out_len - loc); 736 return (enc_len + loc); [all...] |
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | call_frame_inst.c | 476 intptr_t loc = ((intptr_t)*datap) + reloc; local 511 res += loc;
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 547 char *loc) 559 hostname, port, loc); 561 (void) snprintf(url, sizeof (url), "/%s", loc); 546 send_download_request(int sock, char *hostname, int port, boolean_t is_proxy, char *loc) argument
|
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 93 int loc; member in struct:dirstuff 253 dirp.loc = 0; 299 if (dirp->loc >= ip->i_size) { 302 off = dirp->loc & ((1 << ISO_SECTOR_SHIFT) - 1); 304 lbn = hdbtodb(dirp->loc >> ISO_SECTOR_SHIFT); 313 dirp->loc += parse_dir(filep, off, &hsdep); 314 if (udp->d_reclen == 0 && dirp->loc <= ip->i_size) { 315 dirp->loc = roundup(dirp->loc, ISO_SECTOR_SIZE);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_minix.c | 316 int loc; /* location within a directory */ local 448 loc = 0; 453 printf ("dirname=`%s', rest=`%s', loc=%d\n", dirname, rest, loc); 458 if (loc >= INODE->i_size) 475 blk = loc >> BLOCK_SIZE_BITS; 491 off = loc & (BLOCK_SIZE - 1); 493 /* advance loc prematurely to next on-disk directory entry */ 494 loc += sizeof (dp->inode) + namelen;
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 413 size_t loc, i; local 425 loc = 0; 426 while (loc < size) { 427 /*LINTED [buf is char[] in getfile, loc % 4 == 0]*/ 428 dp = (struct direct *)(buf + loc); 430 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1)); 432 loc += i; 435 loc += dp->d_reclen; 588 rst_seekdir(RST_DIR *sdirp, offset_t loc, offset_t base) argument 591 if (loc [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 106 int loc; member in struct:dirstuff 420 dirp.loc = 0; 460 dirp.loc = 0; 500 if (dirp->loc >= (int)dirp->ip->di_size) 502 if (blkoff(&sblock, dirp->loc) == 0) { 504 lbn = lblkno(&sblock, dirp->loc); 515 (dirp->dbuf + blkoff(&sblock, dirp->loc)); 516 dirp->loc += dp->d_reclen;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 185 avl_index_t loc; local 189 findnode = avl_find(idx_tree, &searchnode, &loc); 305 avl_index_t loc; local 327 findnode = avl_find(&zfsvfs->z_fuid_domain, &searchnode, &loc);
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 984 uint32_t blkno, size, loc; local 1017 loc = ud_xlate_to_daddr(udf_vfsp, prn, blkno, 1, &dummy); 1020 bp = ud_bread(pip->i_dev, loc << udf_vfsp->udf_l2d_shift, lbsize);
|
H A D | udf_dir.c | 232 uint32_t loc; local 236 loc = SWAP_32(fid->fid_icb.lad_ext_loc); 241 if ((loc == old_loc) && 267 loc, ipp, NULL, cr); 283 old_loc = loc; 295 loc, ipp, NULL, cr); 941 uint32_t loc; local 944 loc = SWAP_32(fid->fid_icb.lad_ext_loc); 946 loc, ipp, NULL, cr)) != 0) { 1779 uint32_t loc, dumm local [all...] |
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 681 uint_t loc; local 704 for (loc = 0, cnext = list_head(&ctp->conp_inherited); cnext; 706 ctids[loc++] = cnext->ct_id; 707 ASSERT(loc == nctids); 708 for (loc = 0, pnext = list_head(&ctp->conp_members); pnext; 710 pids[loc++] = pnext->p_pid; 711 ASSERT(loc == npids);
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 59 int loc; member in struct:dirinfo 357 dirp.loc = 0; 415 if (dstuff->loc >= filep->fi_inode->i_size) { 418 off = blkoff(&devp->un_fs.di_fs, dstuff->loc); 420 lbn = lblkno(&devp->un_fs.di_fs, dstuff->loc); 437 dstuff->loc += dp->d_reclen; 912 dir.loc = oldoff = fp->fi_offset; 943 oldoff = dir.loc; 948 dep->d_off = dir.loc;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ipc.c | 1116 void *loc; local 1145 loc = avl_find(&service->ipcs_keys, perm, &where); 1146 ASSERT(loc == NULL);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_table.cc | 886 /* Return TRUE if the entry at 'loc' hasn't expired */ 888 db_table::cacheValid(entryp loc) { argument 896 if (loc < 0 || loc >= table_size || tab == 0 || tab[loc] == 0) 898 else if (mapping.expire == 0 || mapping.expire[loc] >= now.tv_sec) 909 * If the supplied object has the same content as the one at 'loc', 913 db_table::dupEntry(entry_object *obj, entryp loc) { argument 914 if (obj == 0 || loc < 0 || loc > 1031 enumTouch(entryp loc) argument 1055 enumSetup(entryp loc, long index) argument 1069 touchEntry(entryp loc) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_real.c | 59 unsigned long int ln, int category, int plural, locale_t loc) 91 if (loc == NULL) 92 loc = uselocale(NULL); 93 cur_locale = current_locale(loc, category); 149 msgloc = current_locale(loc, LC_MESSAGES); 58 _real_gettext_u(const char *domain, const char *msgid1, const char *msgid2, unsigned long int ln, int category, int plural, locale_t loc) argument
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 252 uint_t cert, char *loc) 257 if ((loc == NULL) || (strcmp(loc, EMPTY_STR) == 0)) 265 nvlfru = cmd_mkboard_fru(hdl, loc, serialstr, partstr); 270 flt = cmd_fault_add_location(hdl, flt, loc); 251 cmd_boardfru_create_fault(fmd_hdl_t *hdl, nvlist_t *asru, const char *fltnm, uint_t cert, char *loc) argument
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceStoreInMemory.java | 1108 Vector nscopes, Locale loc, 1117 Assert.nonNullParameter(loc, "loc"); 1120 attrList = attributeVectorToServerAttribute(alist, loc); 1122 locale = loc; 1807 Locale loc = rec.getLocale(); 1826 if (loc.getLanguage().equals("tr")) { 1828 stringVectorToAttributePattern(attrTags, loc); 1107 ServiceRecordInMemory(ServiceURL surl, Vector alist, Vector nscopes, Locale loc, Hashtable nurlSig, Hashtable nattrSig) argument
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 1128 char *loc; local 1240 if ((loc = (char *)malloc(PICL_PROPNAMELEN_MAX*PARENT_NAMES)) != NULL) { 1246 free(loc); 1247 loc = NULL; 1252 if (loc != 0) { 1267 loc[0] = '\0'; 1269 (void) strlcat(loc, names[i], 1273 (void) strlcat(loc, "/", PICL_PROPNAMELEN_MAX * 1275 (void) strlcat(loc, names[i], 1278 log_printf("%-35s", loc); 1357 char *loc; local 1762 char *loc; local [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 729 locale_t loc = uselocale(NULL); local 777 if (loc->collate->lc_is_posix) { 783 finish, loc) <= 0, REG_ERANGE); 785 if (_collate_range_cmp(start, i, loc) 787 _collate_range_cmp(i, finish, loc) 1374 locale_t loc = uselocale(NULL); local 1386 strcmp(loc->runelocale->__encoding, "UTF-8") != 0)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky.c | 408 leaky_do_grep_ptr(uintptr_t loc, int process) argument 414 if (loc < LK_ADDR(lk_mtab[0].lkm_base) || 415 loc > lk_mtab[lk_nbuffers - 1].lkm_limit) { 419 if ((ndx = leaky_search(loc)) == -1) { 438 leaky_grep_ptr(uintptr_t loc) argument 440 leaky_do_grep_ptr(loc, 1); 444 leaky_mark_ptr(uintptr_t loc) argument 446 leaky_do_grep_ptr(loc, 0); 453 leaky_lookup_marked(uintptr_t loc, uintptr_t *addr_out, size_t *size_out) argument 458 if ((ndx = leaky_search(loc)) [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 1432 char *loc; local 1443 loc = cmd_getfru_loc(hdl, cpu->cpu_asru_nvl); 1448 if ((strstr(loc, CPUBOARD) != NULL) && (strstr(fltnm, "lfu") != NULL)) { 1493 flt = cmd_fault_add_location(hdl, flt, loc); 1501 flt = cmd_fault_add_location(hdl, flt, loc); 1507 if (loc != NULL) 1508 fmd_hdl_strfree(hdl, loc);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 340 int loc = 0; local 346 loc++; 387 if (loc && ntflag) { 390 if (loc && mapflag) { 611 int loc = 0; local 620 loc++; 653 if (loc && mcase) { 679 if (loc && ntflag) { 682 if (loc && mapflag) {
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 519 setextad(extent_ad_t *eap, uint32_t len, uint32_t loc) argument 522 eap->ext_loc = loc;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 96 int loc; member in struct:dirstuff 462 dirp.loc = 0; 501 dirp.loc = 0; 565 if (dirp->loc >= (int)dirp->ip->di_size) 567 if (blkoff(&sblock, dirp->loc) == 0) { 568 lbn = lblkno(&sblock, dirp->loc); 576 (dirp->dbuf + blkoff(&sblock, dirp->loc)); 577 dirp->loc += dp->d_reclen;
|
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | y2.c | 1742 static wchar_t *loc; /* next free location in rhstext */ local 1752 (loc = rhstext)[0] = 0; 1758 used = loc - rhstext; 1773 loc = loc - textbase + rhstext; 1776 *loc++ = L' '; 1779 *loc++ = L'\''; /* add first quote */ 1782 while (*loc = *p++) 1783 if (loc++ > &rhstext[ RHS_TEXT_LEN ] - 3) 1787 *loc [all...] |