Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 150) sorted by relevance

123456

/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c294 char *words[MAXTMP]; in merge_files() local
301 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) { in merge_files()
303 free(words[ti]); in merge_files()
312 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files()
313 words[ti][MAXWORDLEN-1] = '\0'; in merge_files()
328 if (strcmp(words[choice], words[ti]) > 0) in merge_files()
331 (void) Chomp(words[choice]); in merge_files()
332 if (words[choice][0] != '\0' && in merge_files()
333 strcmp(lastword, words[choice]) != 0) { in merge_files()
334 (void) PutPW(pwp, words[choice]); in merge_files()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd192 local(@words,$snippet,$field,$havefield,$cont,@triparray,$maytrail);
258 push(@words, $field) if $havefield;
267 \@words;
297 local($lastkey,$keyval,$words,$i,$flag,%byservice);
301 while (@{$words = uucpline(SVCFILE, $file)}) {
306 while ($i < @$words) {
307 if ($$words[$i] eq $keyval) {
308 splice @$words, $i, 1;
317 foreach $i (0 .. @{$words}) {
318 if (@{$words}[$i] =~ /^$lastkey(.*)/i) {
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Dcrc32.c748 z_word_t const *words; in crc32_z() local
761 words = (z_word_t const *)buf; in crc32_z()
818 word0 = crc0 ^ words[0]; in crc32_z()
820 word1 = crc1 ^ words[1]; in crc32_z()
822 word2 = crc2 ^ words[2]; in crc32_z()
824 word3 = crc3 ^ words[3]; in crc32_z()
826 word4 = crc4 ^ words[4]; in crc32_z()
828 word5 = crc5 ^ words[5]; in crc32_z()
834 words += N; in crc32_z()
878 crc = crc_word(crc0 ^ words[0]); in crc32_z()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dglue5.c27 struct words { struct
30 struct words *nst; argument
31 struct words *link; argument
32 struct words *fail; argument
55 static int new(struct words *x);
65 www = (struct words *)zalloc(MAXSIZ, sizeof (*www)); in fgrep()
124 struct words *c; in execute()
265 struct words *s; in cgotofn()
342 struct words *queue[QSIZE]; in cfail()
343 struct words **front, **rear; in cfail()
[all …]
/illumos-gate/usr/src/lib/libc/port/inet/
H A Dinet_ntop.c108 uint_t words[IN6ADDRSZ / INT16SZ]; in inet_ntop6() local
116 (void) memset(words, '\0', sizeof (words)); in inet_ntop6()
118 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
122 if (words[i] == 0) { in inet_ntop6()
159 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
165 tp += sprintf(tp, "%x", words[i]); in inet_ntop6()
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c180 int words; in inet_net_ntop_ipv6() local
208 words = (bits + 15) / 16; in inet_net_ntop_ipv6()
209 if (words == 1) in inet_net_ntop_ipv6()
210 words = 2; in inet_net_ntop_ipv6()
214 for (i = 0; i < (words * 2); i += 2) { in inet_net_ntop_ipv6()
233 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || in inet_net_ntop_ipv6()
239 for (p = 0; p < words; p++) { in inet_net_ntop_ipv6()
244 if (p == words - 1) in inet_net_ntop_ipv6()
H A Dinet_cidr_ntop.c164 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; in inet_cidr_ntop_ipv6() local
177 memset(words, '\0', sizeof words); in inet_cidr_ntop_ipv6()
179 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_cidr_ntop_ipv6()
185 if (words[i] == 0) { in inet_cidr_ntop_ipv6()
222 (best.len == 7 && words[7] != 0x0001) || in inet_cidr_ntop_ipv6()
223 (best.len == 5 && words[5] == 0xffff))) { in inet_cidr_ntop_ipv6()
240 tp += SPRINTF((tp, "%x", words[i])); in inet_cidr_ntop_ipv6()
H A Dinet_net_pton.c273 int words; in inet_net_pton_ipv6() local
340 words = (bits + 15) / 16; in inet_net_pton_ipv6()
341 if (words < 2) in inet_net_pton_ipv6()
342 words = 2; in inet_net_pton_ipv6()
344 words = 8; in inet_net_pton_ipv6()
345 endp = tmp + 2 * words; in inet_net_pton_ipv6()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c261 u16 words, void *data, in i40e_read_nvm_aq() argument
277 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
280 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
281 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
285 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq()
286 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
291 offset, words); in i40e_read_nvm_aq()
295 2 * words, /*bytes*/ in i40e_read_nvm_aq()
452 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument
460 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_nvm.c440 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_spi() argument
453 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_spi()
454 (words == 0)) { in e1000_read_nvm_spi()
480 for (i = 0; i < words; i++) { in e1000_read_nvm_spi()
500 s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_microwire() argument
513 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_microwire()
514 (words == 0)) { in e1000_read_nvm_microwire()
527 for (i = 0; i < words; i++) { in e1000_read_nvm_microwire()
555 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_eerd() argument
566 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_eerd()
[all …]
H A De1000_nvm.h63 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
65 u16 words, u16 *data);
66 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
71 u16 words, u16 *data);
72 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
H A De1000_i210.c41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
235 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_srrd_i210() argument
246 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in e1000_read_nvm_srrd_i210()
247 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ? in e1000_read_nvm_srrd_i210()
248 E1000_EERD_EEWR_MAX_COUNT : (words - i); in e1000_read_nvm_srrd_i210()
280 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr_i210() argument
291 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in e1000_write_nvm_srwr_i210()
292 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ? in e1000_write_nvm_srwr_i210()
293 E1000_EERD_EEWR_MAX_COUNT : (words - i); in e1000_write_nvm_srwr_i210()
321 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_srwr() argument
[all …]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c116 char *words; in cb_interpret() local
130 words = SF_DATA(); in cb_interpret()
133 wlen = prom_strlen(words) + 1; /* include the null */ in cb_interpret()
136 (void) prom_strncpy(minibuf, words, s); in cb_interpret()
141 prom_interpret(words, 0, 0, 0, 0, 0); in cb_interpret()
142 words += wlen; in cb_interpret()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c204 uint64_t *words = db->db_data; in space_map_reversed_last_block_entries() local
213 uint64_t entry = words[i]; in space_map_reversed_last_block_entries()
226 entry = words[i]; in space_map_reversed_last_block_entries()
309 int words = 1; in space_map_incremental_destroy() local
319 words = 2; in space_map_incremental_destroy()
360 sm->sm_phys->smp_length -= words * sizeof (uint64_t); in space_map_incremental_destroy()
529 maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, in space_map_write_seg() argument
532 ASSERT3U(words, !=, 0); in space_map_write_seg()
533 ASSERT3U(words, <=, 2); in space_map_write_seg()
542 IMPLY(words == 1, vdev_id == SM_NO_VDEVID); in space_map_write_seg()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dcapacity.notes.txt49 sense of the IDENTIFY DEVICE results, words
59 which words 57-58 do *not* represent the product of words 54, 55, and
83 >sense of the IDENTIFY DEVICE results, words
93 >which words 57-58 do *not* represent the product of words 54, 55, and
96 If the words [54]*[55]*[56] don't match [57:58] then the drive is
97 "broken". Warning: some older drives have words 57:58 in big endian
104 If you have no need to use CHS mode, then just ignore words 1, 3, 6 and
106 mode, words 60:61 are still the true drive capacity but words 57:58 are
113 1) If you are LBA only (don't use CHS) then words 60:61 are all you need,
118 2a) Check words 53:58...
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dwc.c79 sfprintf(sfstdout," %7I*d",sizeof(wp->words),wp->words); in printout()
176 twords += wp->words; in b_wc()
184 wp->words = twords; in b_wc()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_i225.c16 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words,
443 s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() argument
455 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_read_nvm_srrd_i225()
456 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_read_nvm_srrd_i225()
457 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_read_nvm_srrd_i225()
488 s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() argument
500 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_write_nvm_srwr_i225()
501 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_write_nvm_srwr_i225()
502 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_write_nvm_srwr_i225()
529 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in __igc_write_nvm_srwr() argument
[all …]
H A Digc_nvm.c375 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) in igc_read_nvm_eerd() argument
386 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
387 (words == 0)) { in igc_read_nvm_eerd()
392 for (i = 0; i < words; i++) { in igc_read_nvm_eerd()
423 s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words, u16 *data) in igc_write_nvm_spi() argument
434 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_write_nvm_spi()
435 (words == 0)) { in igc_write_nvm_spi()
440 while (widx < words) { in igc_write_nvm_spi()
473 while (widx < words) { in igc_write_nvm_spi()
H A Digc_nvm.h21 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words,
25 s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetfilter.c514 char *word, **words; in break_into_words() local
518 if (( words = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) { in break_into_words()
522 words[ count ] = NULL; in break_into_words()
526 if (( words = (char **)NSLDAPI_REALLOC( words, in break_into_words()
531 words[ count ] = word; in break_into_words()
532 words[ ++count ] = NULL; in break_into_words()
536 *wordsp = words; in break_into_words()
/illumos-gate/usr/src/boot/forth/
H A Dshortcuts.4th27 \ FICL words intended to be used as shortcuts for carrying out common tasks or
28 \ producing common results. Generally, words defined here are simply groupings
29 \ of other custom words that pull from multiple libraries (for example, if you
30 \ want to define a custom word that uses words defined in three different
35 \ words have been defined.
/illumos-gate/usr/src/common/ficl/softcore/
H A Dsoftcore.fr45 .( loading CORE EXT words ) cr
173 \ ** SEARCH+EXT words and ficl helpers
174 .( loading SEARCH & SEARCH-EXT words ) cr
204 \ HIDDEN vocabulary is a place to keep helper words from cluttering the namespace
209 \ <words that use hidden defs>
238 set-current \ stop hiding words
250 previous \ lose hidden words from search order
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A DSUNW,vdevices.pl109 my @words = split(/ /, $str);
112 if (scalar(@words) != 0) {
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremove_mirror_sanity.ksh51 log_must diff $WORDS_FILE1 $TESTDIR/words
53 log_must diff $WORDS_FILE2 $TESTDIR/words
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfenv_inlines.h39 } words; member
50 : "=m" (u->words.cw), "=m" (u->words.sw)); in __fenv_getcwsw()
68 : "r" (cwsw.words.cw), "r" (cwsw.words.sw) in __fenv_setcwsw()

123456