Home
last modified time | relevance | path

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

123456789

/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Text/
H A DParseWords.t13 @words = shellwords(qq(foo "bar quiz" zoo));
14 print "not " if $words[0] ne 'foo';
16 print "not " if $words[1] ne 'bar quiz';
18 print "not " if $words[2] ne 'zoo';
26 @words = quotewords(':+', 1, 'foo:::"bar:foo":zoo zoo:');
27 print "not " unless join(";", @words) eq qq(foo;"bar:foo";zoo zoo;);
32 @words = quotewords('\s+', 'delimiters', '4 3 2 1 0');
33 print "not " unless join(";", @words) eq qq(4; ;3; ;2; ;1; ;0);
63 @words = shellwords($string);
64 print "not " if (@words);
[all …]
H A DParseWords.pm24 my($line, @words, @allwords);
28 @words = parse_line($delim, $keep, $line);
29 return() unless (@words || !length($line));
30 push(@allwords, @words);
110 my(@words,$snippet,$field);
140 push(@words, $field);
142 @words;
/onnv-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c296 char *words[MAXTMP]; in merge_files() local
303 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) { in merge_files()
305 free(words[ti]); in merge_files()
314 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files()
315 words[ti][MAXWORDLEN-1] = '\0'; in merge_files()
330 if (strcmp(words[choice], words[ti]) > 0) in merge_files()
333 (void) Chomp(words[choice]); in merge_files()
334 if (words[choice][0] != '\0' && in merge_files()
335 strcmp(lastword, words[choice]) != 0) { in merge_files()
336 (void) PutPW(pwp, words[choice]); in merge_files()
[all …]
/onnv-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 …]
/onnv-gate/usr/src/cmd/refer/
H A Dglue5.c30 struct words { struct
33 struct words *nst; argument
34 struct words *link; argument
35 struct words *fail; argument
58 static int new(struct words *x);
68 www = (struct words *)zalloc(MAXSIZ, sizeof (*www)); in fgrep()
127 struct words *c; in execute()
268 struct words *s; in cgotofn()
345 struct words *queue[QSIZE]; in cfail()
346 struct words **front, **rear; in cfail()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/eg/
H A Dfile_upload.cgi44 my($lines,$words,$characters,@words) = (0,0,0,0);
47 $words += @words=split(/\s+/);
54 print strong("Words: "),$words,br if $stats{'count words'};
/onnv-gate/usr/src/uts/common/io/e1000g/
H A De1000_nvm.h46 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
48 u16 words, u16 *data);
49 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
53 u16 words, u16 *data);
55 u16 words, u16 *data);
56 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
H A De1000_nvm.c453 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 * data) in e1000_read_nvm_spi() argument
467 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_spi()
468 (words == 0)) { in e1000_read_nvm_spi()
496 for (i = 0; i < words; i++) { in e1000_read_nvm_spi()
518 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_microwire() argument
531 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_microwire()
532 (words == 0)) { in e1000_read_nvm_microwire()
546 for (i = 0; i < words; i++) { in e1000_read_nvm_microwire()
577 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_eerd() argument
589 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_eerd()
[all …]
/onnv-gate/usr/src/lib/libnsl/nss/
H A Dinet_ntop.c114 uint_t words[IN6ADDRSZ / INT16SZ]; in inet_ntop6() local
122 (void) memset(words, '\0', sizeof (words)); in inet_ntop6()
124 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
128 if (words[i] == 0) { in inet_ntop6()
165 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
171 tp += SPRINTF((tp, "%x", words[i])); in inet_ntop6()
/onnv-gate/usr/src/cmd/fgrep/
H A Dfgrep.c112 struct words { struct
115 struct words *nst; argument
116 struct words *link; argument
117 struct words *fail; argument
250 w = (struct words *)calloc(input_size, sizeof (struct words)); in main()
293 struct words *c; in execute()
516 struct words *s; in cgotofn()
604 struct words **queue = NULL; in cfail()
610 struct words **front, **rear; in cfail()
611 struct words *state; in cfail()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Term/
H A DComplete.t31 my @words = ( 'frobnitz', 'frobozz', 'frostychocolatemilkshakes' );
33 Complete('', \@words);
34 my $data = get_expected('fro', @words);
48 Complete('', @words);
55 Complete('', @words);
63 Complete('prompt:', @words);
/onnv-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c179 int words; in inet_net_ntop_ipv6() local
207 words = (bits + 15) / 16; in inet_net_ntop_ipv6()
208 if (words == 1) in inet_net_ntop_ipv6()
209 words = 2; in inet_net_ntop_ipv6()
213 for (i = 0; i < (words * 2); i += 2) { in inet_net_ntop_ipv6()
232 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || in inet_net_ntop_ipv6()
238 for (p = 0; p < words; p++) { in inet_net_ntop_ipv6()
243 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()
/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dinet_ntop.c139 u_int words[IN6ADDRSZ / INT16SZ]; local
148 memset(words, '\0', sizeof words);
150 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
154 if (words[i] == 0) {
198 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) {
204 advance = snprintf(tp, ep - tp, "%x", words[i]);
/onnv-gate/usr/src/uts/common/io/igb/
H A Digb_nvm.h50 u16 words, u16 *data);
51 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
56 u16 words, u16 *data);
58 u16 words, u16 *data);
59 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
H A Digb_nvm.c458 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_microwire() argument
472 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_microwire()
473 (words == 0)) { in e1000_read_nvm_microwire()
487 for (i = 0; i < words; i++) { in e1000_read_nvm_microwire()
518 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_eerd() argument
530 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_eerd()
531 (words == 0)) { in e1000_read_nvm_eerd()
537 for (i = 0; i < words; i++) { in e1000_read_nvm_eerd()
567 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_write_nvm_spi() argument
579 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_spi()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dshellwords.pl14 local(@words,$snippet,$field);
45 push(@words, $field);
47 @words;
/onnv-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c117 char *words; in cb_interpret() local
131 words = SF_DATA(); in cb_interpret()
134 wlen = prom_strlen(words) + 1; /* include the null */ in cb_interpret()
137 (void) prom_strncpy(minibuf, words, s); in cb_interpret()
142 prom_interpret(words, 0, 0, 0, 0, 0); in cb_interpret()
143 words += wlen; in cb_interpret()
/onnv-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...
/onnv-gate/usr/src/common/openssl/crypto/rc2/
H A Drrc2.doc23 divided into four 16-bit words, with a key table of 64 words. All data units
33 1. Two's-complement addition of words, denoted by "+". The inverse operation,
38 5. A left-rotation of words; the rotation of word x left by y is denoted
53 the expanded key array S, so S resembles an array of random binary words
74 The secret key is first expanded to fill 128 bytes (64 words). The expansion
79 the S array as an array of 128 bytes rather than 64 words.
101 following pseudocode treats the S array as an array of 64 words rather than 128
112 by one of the data words to another of the data words following the four
124 Note that the following pseudocode treats the S array as an array of 64 words
135 indexed by one of the data words from another one of the data words following
/onnv-gate/usr/src/lib/libldap4/common/
H A Dgetfilter.c424 char *word, **words; in break_into_words() local
427 if (( words = (char **)calloc( (size_t) 1, sizeof( char * ))) == NULL ) { in break_into_words()
431 words[ count ] = NULL; in break_into_words()
435 if (( words = (char **)realloc( words, in break_into_words()
440 words[ count ] = word; in break_into_words()
441 words[ ++count ] = NULL; in break_into_words()
445 *wordsp = words; in break_into_words()
/onnv-gate/usr/src/lib/libcmd/common/
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()
/onnv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_lib.c318 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words) in bn_expand_internal() argument
326 if (words > (INT_MAX/(4*BN_BITS2))) in bn_expand_internal()
336 a=A=(BN_ULONG *)OPENSSL_malloc(sizeof(BN_ULONG)*words); in bn_expand_internal()
375 memset(A,0,sizeof(BN_ULONG)*words); in bn_expand_internal()
394 BIGNUM *bn_dup_expand(const BIGNUM *b, int words) in bn_dup_expand() argument
406 if (words > b->dmax) in bn_dup_expand()
408 BN_ULONG *a = bn_expand_internal(b, words); in bn_dup_expand()
416 r->dmax = words; in bn_dup_expand()
445 BIGNUM *bn_expand2(BIGNUM *b, int words) in bn_expand2() argument
449 if (words > b->dmax) in bn_expand2()
[all …]
/onnv-gate/usr/src/common/openssl/doc/
H A Dextract-names.pl17 push @words, split ',';
25 print join("\n", @words),"\n";
/onnv-gate/usr/src/tools/depcheck/
H A Dget_depend_info254 @words = split(/\s/, $line);
255 $filename = $words[0];
353 @words = split(/\s/, $line);
354 foreach $word (@words) {
429 @words = split(/\s/, $line);
430 foreach $word (@words) {

123456789