HomeSort by: relevance | last modified time | path
    Searched refs:hunks (Results 1 - 12 of 12) sorted by relevancy

  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
config-parse.h 27 bool (*handler)(void *context, const char *config_file_name, char **hunks, int num_hunks, int lineno);
dnssd-relay.c 372 static bool interface_handler(void *context, const char *filename, char **hunks, int num_hunks, int lineno)
376 ERROR("Unable to allocate interface " PUB_S_SRP, hunks[1]);
380 interface->name = strdup(hunks[1]);
382 ERROR("Unable to allocate interface name " PUB_S_SRP, hunks[1]);
387 if (!strcmp(hunks[0], "nopush")) {
391 if (new_served_domain(interface, hunks[2]) == NULL) {
399 static bool port_handler(void *context, const char *filename, char **hunks, int num_hunks, int lineno)
402 long port = strtol(hunks[1], &ep, 10);
404 ERROR("Invalid port number: " PUB_S_SRP, hunks[1]);
407 if (!strcmp(hunks[0], "udp-port"))
    [all...]
config-parse.c 53 // A line consists of a verb followed by one or more hunks of text.
54 // We parse the verb first, then that tells us how many hunks of text to expect.
61 char *hunks[MAXCFHUNKS]; local
76 hunks[num_hunks++] = sp;
88 if (verbs[i].name == NULL || !strcmp(verbs[i].name, hunks[0])) {
94 INFO("unknown verb %s at line %d", hunks[0], lineno);
100 // If we didn't get the hunks we needed, bail.
103 hunks[0], config_file_verb->min_hunks, config_file_verb->max_hunks, num_hunks, lineno);
107 return config_file_verb->handler(context, filename, hunks, num_hunks, lineno);
srp-dns-proxy.c 927 key_handler(void *context, const char *filename, char **hunks, int num_hunks, int lineno)
937 if (strcasecmp(hunks[1], "in")) {
938 ERROR("Expecting tsig key class IN, got %s.", hunks[1]);
942 if (strcasecmp(hunks[2], "key")) {
943 ERROR("expecting tsig key type KEY, got %s", hunks[2]);
948 val = strtol(hunks[3], &endptr, 10);
949 if (*endptr != 0 || endptr == hunks[3]) {
950 ERROR("Invalid key flags: %s", hunks[3]);
957 val = strtol(hunks[4], &endptr, 10);
958 if (*endptr != 0 || endptr == hunks[4])
    [all...]
dnssd-proxy.c 4390 interface_handler(void * UNUSED context, const char * UNUSED filename, char **hunks, int UNUSED num_hunks,
4395 ERROR("Unable to allocate interface %s", hunks[1]);
4399 interface->name = strdup(hunks[1]);
4401 ERROR("Unable to allocate interface name %s", hunks[1]);
4406 if (!strcmp(hunks[0], "nopush")) {
4410 if (new_served_domain(interface, hunks[2]) == NULL) {
4419 port_handler(void * UNUSED context, const char * UNUSED filename, char **hunks, int UNUSED num_hunks, int UNUSED lineno)
4422 long port = strtol(hunks[1], &ep, 10);
4424 ERROR("Invalid port number: %s", hunks[1]);
4427 if (!strcmp(hunks[0], "udp-port"))
    [all...]
  /src/external/gpl3/gcc/dist/contrib/legacy/
mklog 139 self.hunks = []
144 for i, h in enumerate(self.hunks):
314 # Collect hunks for current file.
323 d.hunks.append(hunk)
339 d.hunks.append(hunk)
396 if len(d.hunks) == 1:
397 hunk0 = d.hunks[0]
413 for hunk in d.hunks:
  /src/external/gpl3/gcc.old/dist/contrib/legacy/
mklog 139 self.hunks = []
144 for i, h in enumerate(self.hunks):
314 # Collect hunks for current file.
323 d.hunks.append(hunk)
339 d.hunks.append(hunk)
396 if len(d.hunks) == 1:
397 hunk0 = d.hunks[0]
413 for hunk in d.hunks:
  /src/external/gpl3/gcc/dist/contrib/
mklog.py 216 hunks = list(file)
217 if hunks:
218 for line in hunks[0][0:10]:
  /src/external/apache2/llvm/dist/llvm/utils/Reviewing/
find_interesting_reviews.py 181 self.hunks = [PhabHunk(h) for h in rest_api_change["hunks"]]
544 for hunk in change.hunks:
  /src/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/lib/Text/
Template.pm 1998 =head2 Automatic postprocessing of template hunks
2000 It may be useful to process hunks of output before they are appended to
  /src/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/lib/Text/
Template.pm 1811 =head2 Automatic postprocessing of template hunks
1813 It may be useful to process hunks of output before they are appended to
  /src/crypto/external/apache2/openssl/dist/external/perl/Text-Template-1.56/lib/Text/
Template.pm 1998 =head2 Automatic postprocessing of template hunks
2000 It may be useful to process hunks of output before they are appended to

Completed in 124 milliseconds