Searched refs:opt (Results 1 – 11 of 11) sorted by relevance
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 211 const uint8_t* opt = getOption(OPT_MESSAGE_TYPE, &length); in type() local 212 if (opt && length == 1) { in type() 213 return *opt; in type() 220 const uint8_t* opt = getOption(OPT_SERVER_ID, &length); in serverId() local 221 if (opt && length == 4) { in serverId() 222 return *reinterpret_cast<const in_addr_t*>(opt); in serverId() 229 const uint8_t* opt = getOption(OPT_REQUESTED_IP, &length); in requestedIp() local 230 if (opt && length == 4) { in requestedIp() 231 return *reinterpret_cast<const in_addr_t*>(opt); in requestedIp() 291 const uint8_t* opt = dhcpData.options + i + 2; in getOption() local [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 329 const uint8_t* opt = options + i + 2; in configureDhcp() local 334 ntohl(*reinterpret_cast<const uint32_t*>(opt)); in configureDhcp() 340 ntohl(*reinterpret_cast<const uint32_t*>(opt)); in configureDhcp() 346 ntohl(*reinterpret_cast<const uint32_t*>(opt)); in configureDhcp() 352 *reinterpret_cast<const in_addr_t*>(opt); in configureDhcp() 358 *reinterpret_cast<const in_addr_t*>(opt); in configureDhcp() 364 ntohs(*reinterpret_cast<const uint16_t*>(opt)); in configureDhcp() 370 *reinterpret_cast<const in_addr_t*>(opt); in configureDhcp() 374 *reinterpret_cast<const in_addr_t*>(opt + 4); in configureDhcp() 378 *reinterpret_cast<const in_addr_t*>(opt + 8); in configureDhcp() [all …]
|
/device/generic/goldfish/radio/ril/ |
D | ipv6_monitor.cpp | 418 for (const nd_opt_hdr* opt = option; opt; opt = nextOpt) { in onReadAvailable() local 420 reinterpret_cast<const char*>(opt) + opt->nd_opt_len * 8u; in onReadAvailable() 430 if (opt->nd_opt_type != 25 || opt->nd_opt_len < 1) { in onReadAvailable() 435 size_t numEntries = (opt->nd_opt_len - 1) / 2; in onReadAvailable() 436 const char* addrLoc = reinterpret_cast<const char*>(opt); in onReadAvailable()
|
D | reference-ril.c | 4192 int opt; local 4197 while ( -1 != (opt = getopt(argc, argv, "p:d:s:c:"))) { 4198 switch (opt) { 4250 int opt; local 4252 while ( -1 != (opt = getopt(argc, argv, "p:d:"))) { 4253 switch (opt) {
|
/device/linaro/dragonboard/qcom/tqftpserv/ |
D | tqftpserv.c | 205 const char *opt; in handle_rrq() local 239 opt = p; in handle_rrq() 246 if (!strcmp(opt, "blksize")) { in handle_rrq() 248 } else if (!strcmp(opt, "timeoutms")) { in handle_rrq() 250 } else if (!strcmp(opt, "tsize")) { in handle_rrq() 252 } else if (!strcmp(opt, "rsize")) { in handle_rrq() 254 } else if (!strcmp(opt, "wsize")) { in handle_rrq() 257 printf("[TQFTP] Ignoring unknown option '%s'\n", opt); in handle_rrq()
|
/device/google/contexthub/util/stm32_flash/ |
D | flash.c | 79 int opt; in main() local 113 while ((opt = getopt(argc, argv, options)) != -1) { in main() 114 switch (opt) { in main()
|
/device/generic/common/mgsi/ |
D | mgsi_system_user.prop | 1 # GSI always generate dex pre-opt in system image
|
D | mgsi_system.prop | 1 # GSI always generate dex pre-opt in system image
|
/device/google/contexthub/contexthubhal/test/ |
D | main.cpp | 223 int opt; in main() local 230 while((opt = getopt(argc, argv, "c:i:a:m:")) != -1) { in main() 232 switch(opt) { in main()
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | ns.c | 714 int opt; in main() local 718 while ((opt = getopt(argc, argv, "fsv")) != -1) { in main() 719 switch (opt) { in main()
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 5592 int opt; local 5598 while ( -1 != (opt = getopt(argc, argv, "p:d:s:c:m:"))) { 5599 switch (opt) { 5657 int opt; local 5659 while ( -1 != (opt = getopt(argc, argv, "p:d:"))) { 5660 switch (opt) {
|