Searched defs:optptr (Results 1 - 10 of 10) sorted by relevance

/external/syslinux/com32/lib/
H A Dgetopt.c14 const char *optptr; member in struct:getopt_private_state
38 pvt.optptr = NULL;
54 if ((uintptr_t) (pvt.optptr - carg) > (uintptr_t) strlen(carg)) {
56 pvt.optptr = carg + 1;
59 opt = *pvt.optptr++;
63 if (*pvt.optptr) {
66 optarg = (char *)pvt.optptr;
84 /* pvt.optptr will remember the exact position to
86 if (!*pvt.optptr)
93 if (!*pvt.optptr)
[all...]
H A Dgetopt_long.c19 const char *optptr; member in struct:getopt_private_state
58 pvt.optptr = NULL;
109 if ((uintptr_t) (pvt.optptr - carg) > (uintptr_t) strlen(carg)) {
111 pvt.optptr = carg + 1;
114 opt = *pvt.optptr++;
118 if (*pvt.optptr) {
121 optarg = (char *)pvt.optptr;
139 /* pvt.optptr will remember the exact position to
141 if (!*pvt.optptr)
148 if (!*pvt.optptr)
[all...]
/external/fio/lib/
H A Dgetopt_long.c23 const char *optptr; member in struct:getopt_private_state
64 pvt.optptr = NULL;
115 if ((uintptr_t) (pvt.optptr - carg) > (uintptr_t) strlen(carg)) {
117 pvt.optptr = carg + 1;
120 opt = *pvt.optptr++;
124 if (*pvt.optptr) {
127 optarg = (char *)pvt.optptr;
154 /* pvt.optptr will remember the exact position to
156 if (!*pvt.optptr)
163 if (!*pvt.optptr)
[all...]
/external/syslinux/libinstaller/getopt/
H A Dgetopt_long.c19 const char *optptr; member in struct:getopt_private_state
58 pvt.optptr = NULL;
109 if ((uintptr_t) (pvt.optptr - carg) > (uintptr_t) strlen(carg)) {
111 pvt.optptr = carg + 1;
114 opt = *pvt.optptr++;
118 if (*pvt.optptr) {
121 optarg = (char *)pvt.optptr;
139 /* pvt.optptr will remember the exact position to
141 if (!*pvt.optptr)
148 if (!*pvt.optptr)
[all...]
/external/libcups/cups/
H A Dppd-mark.c67 cups_option_t *optptr; /* Current option */ local
255 for (i = num_options, optptr = options; i > 0; i --, optptr ++)
256 if (!_cups_strcasecmp(optptr->name, "media") ||
257 !_cups_strcasecmp(optptr->name, "output-bin") ||
258 !_cups_strcasecmp(optptr->name, "output-mode") ||
259 !_cups_strcasecmp(optptr->name, "print-quality") ||
260 !_cups_strcasecmp(optptr->name, "sides"))
262 else if (!_cups_strcasecmp(optptr->name, "resolution") ||
263 !_cups_strcasecmp(optptr
442 ppd_option_t *optptr; /* Current option */ local
[all...]
H A Dppd.c2874 *optptr, /* Option pointer */ local
3245 optptr = option;
3251 (optptr - option) >= (PPD_MAX_NAME - 1))
3257 *optptr++ = *lineptr++;
3260 *optptr = '\0';
/external/iputils/
H A Dping.c1137 unsigned char * optptr; local
1142 optptr = cp;
1145 if (*optptr == IPOPT_EOL)
1147 if (*optptr == IPOPT_NOP) {
1149 optptr++;
1153 cp = optptr;
1154 optlen = optptr[1];
1277 optptr += optlen;
/external/ppp/pppd/
H A Doptions.c779 char **optptr = (char **)(opt->addr); local
783 if (*optptr)
784 free(*optptr);
785 *optptr = sv;
/external/toybox/toys/pending/
H A Ddhcp.c833 static uint8_t *dhcpc_addclientid(uint8_t *optptr) argument
835 *optptr++ = DHCP_OPTION_CLIENTID;
836 *optptr++ = 7;
837 *optptr++ = 1;
838 memcpy(optptr, &state->macaddr, 6);
839 return optptr + 6;
843 static uint8_t *dhcpc_addmsgtype(uint8_t *optptr, uint8_t type) argument
845 *optptr++ = DHCP_OPTION_MSG_TYPE;
846 *optptr++ = 1;
847 *optptr
852 dhcpc_addmaxsize(uint8_t *optptr, uint16_t size) argument
860 dhcpc_addstropt(uint8_t *optptr, uint8_t opcode, char* str, int len) argument
869 dhcpc_addserverid(struct in_addr *serverid, uint8_t *optptr) argument
878 dhcpc_addreqipaddr(struct in_addr *ipaddr, uint8_t *optptr) argument
887 dhcpc_addfdnname(uint8_t *optptr, char *hname) argument
901 dhcpc_addreqoptions(uint8_t *optptr) argument
924 dhcpc_addend(uint8_t *optptr) argument
931 set_xopt(uint8_t *optptr) argument
1056 dhcpc_parseoptions(dhcpc_result_t *presult, uint8_t *optptr) argument
[all...]
H A Ddhcpd.c1036 static uint8_t* set_optval(uint8_t *optptr, uint16_t opt, void *var, size_t len) argument
1038 while (*optptr != DHCP_OPT_END) optptr++;
1039 *optptr++ = (uint8_t)(opt & 0x00FF);
1040 *optptr++ = (uint8_t) len;
1041 memcpy(optptr, var, len);
1042 optptr += len;
1043 *optptr = DHCP_OPT_END;
1044 return optptr;
1047 static uint8_t* set_optval6(uint8_t *optptr, uint16_ argument
1057 get_optval(uint8_t *optptr, uint16_t opt, void *var) argument
1101 get_optval6(uint8_t *optptr, uint16_t opt, uint16_t *datalen, void **var) argument
1131 uint8_t len, *optptr; local
1142 set_reqparam(uint8_t *optptr, uint8_t *list) argument
1609 uint8_t *optptr, msgtype = 0; local
[all...]

Completed in 279 milliseconds