Home
last modified time | relevance | path

Searched refs:ErrnoErrorf (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/modules/DnsResolver/
H A DDnsTlsTransport.cpp106 return ErrnoErrorf("socket failed"); in sendUdpQuery()
111 return ErrnoErrorf("setsockopt failed"); in sendUdpQuery()
115 return ErrnoErrorf("connect failed"); in sendUdpQuery()
119 return ErrnoErrorf("send failed"); in sendUdpQuery()
131 return ErrnoErrorf("poll failed"); in sendUdpQuery()
138 return ErrnoErrorf("recvfrom failed"); in sendUdpQuery()
/aosp12/system/bpf/libbpf_android/include/bpf/
H A DBpfMap.h67 return ErrnoErrorf("Get firstKey map {} failed", mMapFd.get()); in getFirstKey()
75 return ErrnoErrorf("Get next key of map {} failed", mMapFd.get()); in getNextKey()
82 return ErrnoErrorf("Write to map {} failed", mMapFd.get()); in writeValue()
90 return ErrnoErrorf("Read value of map {} failed", mMapFd.get()); in readValue()
97 return ErrnoErrorf("Delete entry from map {} failed", mMapFd.get()); in deleteValue()
184 return ErrnoErrorf("Pinned map not accessible or does not exist: ({})", path); in init()
/aosp12/system/libbase/
H A Dresult_test.cpp376 result = ErrnoErrorf("{} {}!", "hello", "world"); in TEST()
384 Result<int> inner_result = ErrnoErrorf("inner failure"); in TEST()
398 outer_result = ErrnoErrorf("outer failure caused by {}", inner_result.error()); in TEST()
408 Result<int> inner1 = ErrnoErrorf("error1"); in TEST()
412 Result<int> inner2 = ErrnoErrorf("error2"); in TEST()
/aosp12/system/core/fastboot/
H A Dvendor_boot_img_utils.cpp165 return ErrnoErrorf("Can't seek to the beginning of {} image", what); in load_file()
169 return ErrnoErrorf("Cannot read {} to string", what); in load_file()
182 return ErrnoErrorf("Cannot seek to beginning of {} before writing", what); in store_file()
185 return ErrnoErrorf("Cannot write new content to {}", what); in store_file()
188 return ErrnoErrorf("Truncating new vendor boot image to 0x{:x} fails", data.size()); in store_file()
/aosp12/system/linkerconfig/modules/
H A Dconfigparser.cc38 return ErrnoErrorf("Cannot read file {}", config_path); in ParseLinkerConfig()
/aosp12/system/netd/server/
H A DOffloadUtils.cpp78 return ErrnoErrorf("Get hardware address type of interface {} failed", interface); in isEthernet()
90 return ErrnoErrorf("Unknown hardware address type {} on interface {}", rv, interface); in isEthernet()
/aosp12/system/tools/sysprop/
H A DCommon.cpp300 return ErrnoErrorf("Error reading file {}", input_file_path); in ParseProps()
323 return ErrnoErrorf("Error reading file {}", input_file_path); in ParseApiFile()
H A DJavaGen.cpp494 return ErrnoErrorf("Writing generated java class to {} failed", in GenerateJavaLibrary()
/aosp12/system/linkerconfig/generator/
H A Dvariableloader.cc52 return ErrnoErrorf("Failed to get realpath from {}", target_path); in GetRealPath()
H A Dlibrarylistloader.cc48 return ErrnoErrorf("Failed to open file {}", file_path); in GetLibrariesFromFile()
/aosp12/system/libbase/include/android-base/
H A Dresult.h206 #define ErrnoErrorf(fmt, ...) android::base::ErrnoErrorfImpl(FMT_STRING(fmt), ##__VA_ARGS__) macro
/aosp12/system/core/init/
H A Dservice_utils.cpp255 return ErrnoErrorf("setrlimit({}, {{rlim_cur={}, rlim_max={}}}) failed", rlimit.first, in SetProcessAttributes()
/aosp12/system/apex/apexd/
H A Dapexd.cpp1451 return ErrnoErrorf("Can't open {}", file_name); in EmitApexInfoList()
1467 return ErrnoErrorf("Can't write to {}", file_name); in EmitApexInfoList()
1480 return ErrnoErrorf("Can't bind mount {} to {}", file_name, mount_point); in EmitApexInfoList()