Searched refs:std (Results 1 – 16 of 16) sorted by relevance
/libcore/luni/src/test/native/ |
D | libcore_java_lang_ThreadTest.cpp | 30 const std::string native_thread_name = "foozball"; in TestThreadNaming() 44 return new std::string("Attach failed"); in TestThreadNaming() 47 std::string* exception_message = nullptr; in TestThreadNaming() 48 std::unique_ptr<char[]> thread_name(new char[32]); in TestThreadNaming() 54 exception_message = new std::string("expected_thread_name != thread_name: "); in TestThreadNaming() 64 exception_message = new std::string("unexpected thread name : "); in TestThreadNaming() 68 exception_message = new std::string("prctl(PR_GET_NAME) failed :"); in TestThreadNaming() 75 exception_message = new std::string("Detach failed"); in TestThreadNaming() 84 std::string result; in Java_libcore_java_lang_ThreadTest_nativeTestNativeThreadNames() 94 std::string* result_test1; in Java_libcore_java_lang_ThreadTest_nativeTestNativeThreadNames() [all …]
|
D | libcore_libcore_util_NativeAllocationRegistryTest.cpp | 60 std::string uname_string = buf; in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() 63 is_native_bridged_abi = uname_string.find("86") == std::string::npos; in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() 65 is_native_bridged_abi = uname_string.find("arm") == std::string::npos && in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() 66 uname_string.find("aarch64") == std::string::npos; in Java_libcore_libcore_util_NativeAllocationRegistryTest_isNativeBridgedABI() 73 std::atomic<uint64_t> gNumNativeBytesAllocated = 0;
|
D | libcore_java_io_FileTest.cpp | 32 std::string base(baseDirUtf.c_str()); in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs() 33 std::string subDir = base + "/dir_\xF0\x93\x80\x80"; in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs() 34 std::string subFile = subDir + "/file_\xF0\x93\x80\x80"; in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
|
D | libcore_io_Memory_test.cpp | 29 std::function<void (T*, T*, uint64_t)> init_func) { in swap_align_test()
|
D | libcore_libcore_icu_LocaleDataTest.cpp | 169 …std::unique_ptr<icu::DecimalFormat> fmt(static_cast<icu::DecimalFormat*>(icu::NumberFormat::create… in setNumberPatterns() 336 std::unique_ptr<icu::Calendar> cal(icu::Calendar::createInstance(icuLocale.locale(), status)); in Java_libcore_libcore_icu_LocaleDataTest_initIcu4cLocaleData()
|
/libcore/luni/src/main/native/ |
D | AsynchronousCloseMonitor.cpp | 60 static std::mutex blockedThreadListMutex; 92 std::lock_guard<std::mutex> lock(blockedThreadListMutex); in signalBlockedThreads() 107 std::lock_guard<std::mutex> lock(blockedThreadListMutex); in AsynchronousCloseMonitorImpl() 122 std::lock_guard<std::mutex> lock(blockedThreadListMutex); in ~AsynchronousCloseMonitorImpl()
|
D | ScopedIcuULoc.h | 25 static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) { in getLocale() 44 std::unique_ptr<char[]> buffer(new char[length+1]); in getLocale() 91 std::string mLocale;
|
D | ZipUtilities.h | 28 std::unique_ptr<jbyte[]> input; 40 std::unique_ptr<jbyte[]> mDict;
|
D | libcore_icu_ICU.cpp | 47 int32_t capacity = std::max(ULOC_SCRIPT_CAPACITY, icuLocale.locale_length() + 1); in ICU_getScript() 48 std::unique_ptr<char[]> buffer(new char(capacity)); in ICU_getScript()
|
D | JniConstants.cpp | 41 static std::mutex g_constants_mutex; 87 std::lock_guard guard(g_constants_mutex); in EnsureJniConstantsInitialized() 142 std::lock_guard guard(g_constants_mutex); in Invalidate()
|
D | ZipUtilities.cpp | 47 std::unique_ptr<jbyte[]> dictionaryBytes(new jbyte[len]); in setDictionary()
|
D | libcore_io_Linux.cpp | 349 std::vector<iovec> mIoVec; 350 std::vector<ScopedT*> mScopedBuffers; 816 std::unique_ptr<char[]> mBuffer; 1333 std::unique_ptr<addrinfo, addrinfo_deleter> addressListDeleter(addressList); in Linux_android_getaddrinfo() 1572 std::vector<char> buf(valueLength); in Linux_getxattr() 1604 std::unique_ptr<ifaddrs, decltype(&freeifaddrs)> ifaddrPtr(ifaddr, freeifaddrs); in Linux_getifaddrs() 1826 std::string buf(valueLength, '\0'); in Linux_listxattr() 1839 std::string delim("\0", 1); in Linux_listxattr() 1964 std::unique_ptr<struct pollfd[]> fds(new struct pollfd[arrayLength]); in Linux_poll() 1981 std::vector<AsynchronousCloseMonitor*> monitors; in Linux_poll() [all …]
|
D | org_apache_harmony_xml_ExpatParser.cpp | 261 std::unique_ptr<InternedString> wrapper(new InternedString); in newInternedString() 980 std::unique_ptr<ParsingContext> context(new ParsingContext(object)); in ExpatParser_initialize()
|
D | java_math_NativeBN.cpp | 39 typedef std::unique_ptr<BN_CTX, BN_CTX_Deleter> Unique_BN_CTX;
|
/libcore/ojluni/src/main/native/ |
D | JniConstants.cpp | 45 static std::mutex g_constants_mutex; 62 std::lock_guard guard(g_constants_mutex); in EnsureJniConstantsInitialized() 78 std::lock_guard guard(g_constants_mutex); in Invalidate()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransitionRule.java | 352 …ZoneOffset std = (stdByte == 255 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSec… in readExternal() local 353 …== 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(std.getTotalSeconds() +… in readExternal() 354 …== 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(std.getTotalSeconds() +… in readExternal() 355 …return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after… in readExternal()
|