/freebsd-10.0-release/usr.bin/csup/ |
H A D | keyword.h | 41 struct keyword; 43 struct keyword *keyword_new(void); 46 int keyword_alias(struct keyword *, const char *, const char *); 47 int keyword_enable(struct keyword *, const char *); 48 int keyword_disable(struct keyword *, const char *); 49 void keyword_prepare(struct keyword *); 50 int keyword_expand(struct keyword *, struct diffinfo *, char *, 52 void keyword_free(struct keyword *);
|
H A D | diff.h | 32 struct keyword; 48 struct keyword *, struct diffinfo *, int); 50 struct stream *, struct keyword *, struct diffinfo *);
|
H A D | keyword.c | 38 #include "keyword.h" 44 * The keyword API is used to expand the CVS/RCS keywords in files, 78 struct keyword { struct 104 struct keyword * 107 struct keyword *new; 112 new = xmalloc(sizeof(struct keyword)); 179 keyword_free(struct keyword *keyword) argument 183 if (keyword == NULL) 185 while (!STAILQ_EMPTY(&keyword 194 keyword_alias(struct keyword *keyword, const char *ident, const char *rcskey) argument 210 keyword_enable(struct keyword *keyword, const char *ident) argument 234 keyword_disable(struct keyword *keyword, const char *ident) argument 259 keyword_prepare(struct keyword *keyword) argument 280 keyword_expand(struct keyword *keyword, struct diffinfo *di, char *line, size_t size, char **buf, size_t *len) argument [all...] |
H A D | rcstokenizer.l | 48 keyword head|access|symbols|locks|comment|expand|strict|date|author|state|branches|next|desc|log|text 56 {keyword} {
|
H A D | diff.c | 38 #include "keyword.h" 61 struct keyword *keyword; member in struct:editcmd 81 struct keyword *keyword, struct diffinfo *di, int comode) 93 ec.keyword = keyword; 256 struct keyword *keyword, struct diffinfo *di) 267 ec.keyword 80 diff_apply(struct stream *rd, struct stream *orig, struct stream *dest, struct keyword *keyword, struct diffinfo *di, int comode) argument 255 diff_reverse(struct stream *rd, struct stream *orig, struct stream *dest, struct keyword *keyword, struct diffinfo *di) argument [all...] |
/freebsd-10.0-release/tools/tools/genericize/ |
H A D | genericize.pl | 49 my ($keyword, $values) = split(' ', $_, 2); 51 if ($keyword eq 'machine') { 53 } elsif ($keyword eq 'ident') { 55 } elsif ($keyword eq 'options' && $value =~ m/(\w+)=(.+)/) { 56 $config{$keyword}->{$1} = $2; 58 $config{$keyword}->{$value} = \∅ 87 my ($keyword, $value) = split(' ', $_); 88 if ($keyword eq 'machine') { 91 } elsif ($keyword eq 'ident') { 93 } elsif ($keyword e [all...] |
/freebsd-10.0-release/contrib/ldns/ |
H A D | libdns.vim | 7 syn keyword ldnsMacro LDNS_MALLOC 8 syn keyword ldnsMacro LDNS_XMALLOC 9 syn keyword ldnsMacro LDNS_CALLOC 10 syn keyword ldnsMacro LDNS_REALLOC 11 syn keyword ldnsMacro LDNS_XREALLOC 12 syn keyword ldnsMacro LDNS_FREE 13 syn keyword ldnsMacro LDNS_DEP 14 syn keyword ldnsMacro LDNS_VERSION 15 syn keyword ldnsMacro LDNS_REVISION 18 syn keyword ldnsMacr [all...] |
H A D | parse.c | 174 ldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, char *data, argument 177 return ldns_fget_keyword_data_l(f, keyword, k_del, data, d_del, 182 ldns_fget_keyword_data_l(FILE *f, const char *keyword, const char *k_del, char *data, argument 185 /* we assume: keyword|sep|data */ 189 if(strlen(keyword) >= LDNS_MAX_KEYWORDLEN) 202 if (strncmp(fkeyword, keyword, LDNS_MAX_KEYWORDLEN - 1) == 0) { 204 /* printf("%s\n%s\n", "Matching keyword", fkeyword); */ 209 /*printf("no match for %s (read: %s)\n", keyword, fkeyword);*/ 399 ldns_bget_keyword_data(ldns_buffer *b, const char *keyword, const char *k_del, char argument 402 /* we assume: keyword|se [all...] |
/freebsd-10.0-release/usr.sbin/eeprom/ |
H A D | eeprom.c | 122 char *keyword, *arg; local 124 keyword = strdup(line); 125 if (keyword == NULL) 127 if ((arg = strrchr(keyword, '=')) != NULL) 129 switch (rv = ofwo_action(keyword, arg)) { 131 warnx("nothing available for '%s'.", keyword); 134 warnx("invalid value '%s' for '%s'.", arg, keyword); 137 free(keyword);
|
/freebsd-10.0-release/contrib/gperf/src/ |
H A D | main.cc | 68 /* Initialize the keyword list. */ 72 /* We can cast the keyword list to KeywordExt_List* because its list 133 KeywordExt *keyword = ptr->first(); local 136 KeywordExt *next_keyword = keyword->_duplicate_link; 137 delete[] const_cast<unsigned int *>(keyword->_selchars); 138 if (keyword->_rest != empty_string) 139 delete[] const_cast<char*>(keyword->_rest); 140 if (!(keyword->_allchars >= inputter._input 141 && keyword->_allchars < inputter._input_end)) 142 delete[] const_cast<char*>(keyword [all...] |
H A D | search.cc | 63 hash (keyword) = sum (asso_values[keyword[i] + alpha_inc[i]] : i in Pos) 64 + len (keyword) 69 len (keyword) is the keyword's length if !option[NOLENGTH], or 0 otherwise. 72 all tuples (keyword[i] : i in Pos) are different. 74 Theorem 2: If all tuples (keyword[i] : i in Pos) are different, there 76 {keyword[i] + alpha_inc[i] : i in Pos} are different. 78 Define selchars[keyword] := {keyword[ 144 KeywordExt *keyword = temp->first(); local 167 KeywordExt *keyword = temp->first(); local 246 KeywordExt *keyword = temp->first(); local 536 KeywordExt *keyword = temp->first(); local 598 KeywordExt *keyword = temp->first(); local 757 KeywordExt *keyword = temp->first(); local 822 KeywordExt *keyword = temp->first(); local 870 KeywordExt *keyword = temp->first(); local 881 KeywordExt *keyword = temp->first(); local 983 KeywordExt *keyword = temp->first(); local 1068 KeywordExt *keyword = temp->first(); local 1097 KeywordExt *keyword = temp->first(); local 1259 KeywordExt *keyword = temp->first(); local 1306 KeywordExt *keyword = ptr->first(); local 1528 KeywordExt *keyword = ptr->first(); local [all...] |
H A D | output.cc | 69 Note about the keyword list starting at head: 74 duplicate equivalence class remains on the linear keyword list. 77 keyword list. Search::optimize would catch this mistake. 442 /* Outputs a keyword, as a string: enclosed in double quotes, escaping 738 proper encoding for each keyword. 925 /* Prints out a table of keyword lengths, for use with the 950 KeywordExt *keyword = temp->first(); local 955 if (option[SWITCH] && !option[TYPE] && !keyword->_duplicate_link) 958 if (index < keyword->_hash_value && !option[SWITCH] && !option[DUP]) 961 for ( ; index < keyword 1012 KeywordExt *keyword = temp->first(); local 1053 KeywordExt *keyword = temp->first(); local 1192 KeywordExt *keyword = temp->first(); local [all...] |
H A D | search.h | 29 #include "keyword-list.h" 52 /* Initializes each keyword's _selchars array. */ 54 /* Deletes each keyword's _selchars array. */ 72 /* Initializes each keyword's _selchars array. */ 94 /* Computes a keyword's hash value, relative to the current _asso_values[], 95 and stores it in keyword->_hash_value. */ 96 int compute_hash (KeywordExt *keyword) const; 101 /* Sorts the keyword list by hash value. */ 112 /* Maximum length of the longest keyword. */ 115 /* Minimum length of the shortest keyword [all...] |
/freebsd-10.0-release/contrib/ntp/ntpdc/ |
H A D | ntpdc.h | 44 char *keyword; member in struct:parse 55 const char *keyword; /* command key word */ member in struct:xcmd
|
/freebsd-10.0-release/sys/boot/usb/tools/ |
H A D | sysinit.h | 42 #define SYSINIT_ENTRY(uniq, keyword, msb, lsb, g_type, g_name, debug) \ 46 .b_keyword_name = { keyword }, \
|
H A D | sysinit.c | 46 static const char *keyword; variable 185 keyword = optarg; 196 struct_name == NULL || keyword == NULL) 262 if (strcmp(keyword, "sysinit") == 0) 264 else if (strcmp(keyword, "sysuninit") == 0) 267 errx(EX_USAGE, "Unknown keyword '%s'", keyword); 288 if (strcmp((const char *)(*sipp)->b_keyword_name, keyword)) 314 if (strcmp((const char *)(*sipp)->b_keyword_name, keyword))
|
/freebsd-10.0-release/crypto/openssl/util/ |
H A D | mkdef.pl | 1139 # Param: one keyword 1142 my ($keyword,$platforms) = @_; 1146 if ($keyword eq "VMSVAX" && $VMSVAX) { return 1; } 1147 if ($keyword eq "VMSNonVAX" && $VMSNonVAX) { return 1; } 1148 if ($keyword eq "VMS" && $VMS) { return 1; } 1149 if ($keyword eq "WIN32" && $W32) { return 1; } 1150 if ($keyword eq "WIN16" && $W16) { return 1; } 1151 if ($keyword eq "WINNT" && $NT) { return 1; } 1152 if ($keyword eq "OS2" && $OS2) { return 1; } 1157 if ($keyword e [all...] |
/freebsd-10.0-release/bin/ps/ |
H A D | Makefile | 5 SRCS= fmt.c keyword.c nlist.c print.c ps.c
|
/freebsd-10.0-release/gnu/usr.bin/gperf/ |
H A D | Makefile | 11 SRCS= bool-array.cc hash-table.cc input.cc keyword-list.cc keyword.cc \
|
/freebsd-10.0-release/contrib/ldns/ldns/ |
H A D | parse.h | 85 * searches for keyword and delim in a file. Gives everything back 86 * after the keyword + k_del until we hit d_del 88 * \param[in] keyword keyword to look for 89 * \param[in] k_del keyword delimeter 95 ssize_t ldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, char *data, const char *d_del, size_t data_limit); 98 * searches for keyword and delim. Gives everything back 99 * after the keyword + k_del until we hit d_del 101 * \param[in] keyword keyword t [all...] |
/freebsd-10.0-release/contrib/ntp/ntpq/ |
H A D | ntpq.h | 44 const char *keyword; member in struct:parse 55 const char *keyword; /* command key word */ member in struct:xcmd
|
/freebsd-10.0-release/contrib/tcsh/ |
H A D | gethost.c | 61 static const char *keyword[] = variable 109 for (i = 0; keyword[i] != NULL; i++) 110 if (strcmp(keyword[i], ptr) == 0) 349 explode(defs), keyword[token]); 352 keyword[token]); 359 (void) fprintf(stdout, "# define _%s_\n", keyword[token]); 360 (void) fprintf(stdout, " %s = %s;\n", keyword[token], stmt);
|
/freebsd-10.0-release/sys/dev/sfxge/ |
H A D | sfxge.c | 568 efx_vpd_tag_t tag, const char *keyword) 573 /* Check whether VPD tag/keyword is present */ 575 value.evv_keyword = EFX_VPD_KEYWORD(keyword[0], keyword[1]); 580 ctx, list, OID_AUTO, keyword, CTLTYPE_STRING|CTLFLAG_RD, 581 sc, tag << 16 | EFX_VPD_KEYWORD(keyword[0], keyword[1]), 591 char keyword[3]; local 618 keyword[0] = 'V'; 619 keyword[ 567 sfxge_vpd_try_add(struct sfxge_softc *sc, struct sysctl_oid_list *list, efx_vpd_tag_t tag, const char *keyword) argument [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | UserSettingsController.cpp | 91 Properties::Apropos (const char *keyword, std::vector<const Property *> &matching_properties) const argument 96 properties_sp->Apropos (keyword, matching_properties);
|
/freebsd-10.0-release/sys/dev/sfxge/common/ |
H A D | efx_vpd.c | 424 efx_vpd_keyword_t keyword; local 433 keyword = EFX_VPD_KEYWORD(tag[pos], tag[pos + 1]); 441 *keywordp = keyword; 493 efx_vpd_keyword_t keyword; local 504 * Parse every tag,keyword in the existing VPD. If the csum is present, 505 * the assert it is correct, and is the final keyword in the RO block. 519 /* RV keyword must be the last in the block */ 524 taglen, pos, &keyword, &keylen)) != 0) 527 if (keyword == EFX_VPD_KEYWORD('R', 'V')) { 579 /* RV keyword lengt 644 efx_vpd_keyword_t keyword = 0; local 779 efx_vpd_keyword_t keyword; local [all...] |