Home
last modified time | relevance | path

Searched refs:v4 (Results 1 – 16 of 16) sorted by relevance

/system/core/libmemtrack/
Dmemtrack_test.cpp67 size_t v4; in main() local
84 v4 = DIV_ROUND_UP(memtrack_proc_gl_pss(p), 1024); in main()
88 if (v1 | v2 | v3 | v4 | v5 | v6) { in main()
89 fprintf(stdout, "%5d %6zu %6zu %6zu %6zu %6zu %6zu %s\n", pid, v1, v2, v3, v4, v5, v6, in main()
/system/netd/libnetdutils/
DInternetAddresses.cpp38 const in_addr v4 = mData.ip.v4; in toString() local
39 inet_ntop(AF_INET, &v4, repr, sizeof(repr)); in toString()
102 mData.ip.v4.s_addr &= htonl(mask); in IPPrefix()
/system/netd/server/
DClatdController.h68 in_addr v4; member
86 static int generateIpv6Address(const char* iface, const in_addr v4, const in6_addr& nat64Prefix,
88 static void makeChecksumNeutral(in6_addr* v6, const in_addr v4, const in6_addr& nat64Prefix);
DClatdControllerTest.cpp145 in_addr v4 = {inet_addr(kIPv4LocalAddr)}; in TEST_F() local
156 makeChecksumNeutral(&v6, v4, nat64Prefix); in TEST_F()
170 uint16_t c1 = ip_checksum_finish(ip_checksum_add(0, &v4, sizeof(v4))); in TEST_F()
DClatdController.cpp181 void ClatdController::makeChecksumNeutral(in6_addr* v6, const in_addr v4, in makeChecksumNeutral() argument
194 uint32_t c1 = ip_checksum_add(0, &v4, sizeof(v4)); in makeChecksumNeutral()
204 int ClatdController::generateIpv6Address(const char* iface, const in_addr v4, in generateIpv6Address() argument
230 makeChecksumNeutral(v6, v4, nat64Prefix); in generateIpv6Address()
275 .local4 = tracker.v4, in maybeStartBpf()
394 v4 = {selectIpv4Address(kV4Addr, kV4AddrLen)}; in init()
395 if (v4.s_addr == INADDR_NONE) { in init()
399 if (!inet_ntop(AF_INET, &v4, v4Str, sizeof(v4Str))) return -errno; in init()
402 if (generateIpv6Address(iface, v4, pfx96, &v6)) { in init()
DStrictControllerTest.cpp50 std::vector<std::string> v4 = { in TEST_F() local
100 std::string commands4 = android::base::Join(v4, '\n'); in TEST_F()
DStrictController.cpp67 std::vector<std::string> v4, v6; in setupIptablesHooks() local
69 #define CMD_V4(...) { auto cmd = StringPrintf(__VA_ARGS__); v4.push_back(cmd); } in setupIptablesHooks()
132 res |= execIptablesRestore(V4, Join(v4, '\n')); in setupIptablesHooks()
DTetherController.cpp703 std::vector<std::string> v4 = { in setForwardRules() local
725 v4.push_back(makeTetherCountingRule(intIface, extIface)); in setForwardRules()
726 v4.push_back(makeTetherCountingRule(extIface, intIface)); in setForwardRules()
735 v4.push_back(StringPrintf("-D %s -j DROP", LOCAL_FORWARD)); in setForwardRules()
736 v4.push_back(StringPrintf("-A %s -j DROP", LOCAL_FORWARD)); in setForwardRules()
739 v4.push_back("COMMIT\n"); in setForwardRules()
743 if (iptablesRestoreFunction(V4, Join(v4, '\n'), nullptr) == -1 || in setForwardRules()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h41 in_addr v4; member
58 const in_addr v4a = a.ip.v4;
59 const in_addr v4b = b.ip.v4;
81 const in_addr v4a = a.ip.v4;
82 const in_addr v4b = b.ip.v4;
128 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress()
206 in_addr addr4() const noexcept { return mData.ip.v4; } in addr4()
259 reinterpret_cast<sockaddr_in*>(&ss)->sin_addr = mData.ip.v4; in sockaddr_storage()
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/
DGpsActivity.java26 import android.support.v4.app.ActivityCompat;
27 import android.support.v4.content.ContextCompat;
/system/extras/power_profile/camera_flashlight/Application/
Dbuild.gradle18 compile "com.android.support:support-v4:25.3.1"
/system/extras/power_profile/camera_avg/Application/
Dbuild.gradle18 compile "com.android.support:support-v4:25.3.1"
/system/libhidl/
Dtest_main.cpp265 const hidl_vec<int32_t> &v4 = hv1; in TEST_F() local
267 for (const auto &i : v4) { in TEST_F()
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java51 import android.support.v4.content.ContextCompat;
/system/keymaster/key_blob_utils/
Docb.c428 #define EXPAND_ASSIST(v1, v2, v3, v4, shuff_const, aes_const) \ argument
429 v2 = _mm_aeskeygenassist_si128(v4, aes_const); \
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641v4/c/nThW4o5kr3xxgV/elvD5/6y2uylqBbn6vRFPuNTj0vNnvufmuwp9qbQyc7dJxz3hsU5+DTz2sdzRYKPUf30ua2gWYrGP2…