/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | js_uri.cpp | 68 if (input.empty()) {
in Uri() 69 errStr_ = "uri is empty";
in Uri() 80 if (!uriData_.query.empty()) {
in AssignSchemeSpecificPart() 92 if (!errStr_.empty()) {
in AnalysisUri() 99 if (!errStr_.empty()) {
in AnalysisUri() 106 if (!errStr_.empty()) {
in AnalysisUri() 111 if (!errStr_.empty()) {
in AnalysisUri() 122 if (!errStr_.empty()) {
in AnalysisUri() 245 if (data_.empty()) {
in AnalysisHostAndPath() 252 if (!errStr_.empty()) {
in AnalysisHostAndPath() [all...] |
H A D | native_module_uri.cpp | 186 if (temp.empty()) {
in AddQueryValue() 210 if (temp.empty()) {
in AddSegment() 227 if (temp.empty()) {
in GetSegment() 249 if (temp.empty()) {
in GetScheme() 266 if (temp.empty()) {
in GetAuthority() 296 if (temp.empty()) {
in GetUserinfo() 313 if (temp.empty()) {
in GetHost() 343 if (temp.empty()) {
in GetPath() 360 if (temp.empty()) {
in GetQuery() 377 if (temp.empty()) {
in GetFragment() [all...] |
/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 47 if (src.empty()) { in ReplaceStr() 102 if (string::npos == pos || sep.empty()) { in SplitStr() 104 if (!strPart.empty() || canEmpty) { in SplitStr() 110 if (!strPart.empty() || canEmpty) { in SplitStr() 120 if (str.empty() || (!isdigit(str.front()) && (str.front() != '-'))) { in StrToInt() 138 if (str.empty()) { in IsNumericStr() 153 if (str.empty()) { in IsAlphaStr() 168 if (str.empty()) { in IsUpperStr() 183 if (str.empty()) { in IsLowerStr() 198 if (sub.empty() || st in IsSubStr() [all...] |
H A D | thread_pool.cpp | 39 if (!threads_.empty()) { in Start() 76 if (threads_.empty()) { in AddTask() 99 while (tasks_.empty() && running_) { in ScheduleTask() 104 if (!tasks_.empty()) { in ScheduleTask()
|
H A D | timer.cpp | 60 if (intervalToTimers_.empty()) { in Shutdown() 139 if (intervalToTimers_[entry->interval].empty()) { in Unregister() 203 if (!onceIdsUnused.empty()) { in OnTimer() 255 if (entryList.empty()) { in EraseUnusedTimerId()
|
H A D | directory_ex.cpp | 134 if (!path.empty()) { in ExcludeTrailingPathDelimiter() 143 if (path.empty()) { in IncludeTrailingPathDelimiter() 164 while (!traverseStack.empty()) { in GetDirFiles() 246 while (!traversStack.empty()) { in ForceRemoveDirectory() 308 while (!removeStack.empty()) { in ForceRemoveDirectory() 340 return files.empty(); in IsEmptyFolder() 418 if (path.empty()) { in PathToRealPath() 419 UTILS_LOGD("path is empty!"); in PathToRealPath()
|
H A D | file_ex.cpp | 152 if (fileName.empty()) { in LoadStringFromFdToFile() 205 if (content.empty()) { in SaveStringToFile() 206 UTILS_LOGI("content is empty, no need to save!"); in SaveStringToFile() 238 if (content.empty()) { in SaveStringToFd() 239 UTILS_LOGI("content is empty, no need to save!"); in SaveStringToFd() 293 /* load file to buffer. If the buffer is not empty,then overwrite */ 333 if (content.empty()) { in SaveBufferToFile() 334 UTILS_LOGI("content is empty, no need to save!"); in SaveBufferToFile() 359 if (subStr.empty()) { in StringExistsInFile() 360 UTILS_LOGD("String is empty"); in StringExistsInFile() [all...] |
/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | message_queue.cpp | 30 if (queue_.empty()) {
in DeQueue() 46 return queue_.empty();
in IsEmpty() 82 return queue_.empty();
in IsEmpty() 88 while (!queue_.empty()) {
in Clear()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
H A D | input.rs | 50 empty: bool, 59 empty: true, 65 self.empty = true; 136 if !self.buf.empty { in poll_writer_frame() 180 self.buf.empty = false;
|
/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | message_queue.h | 35 if (queue_.empty()) {
in DeQueue() 47 return queue_.empty();
in IsEmpty()
|
H A D | task_queue.cpp | 36 if (!tasks_.empty()) { in DequeueTaskId() 46 return tasks_.empty(); in IsEmpty()
|
/commonlibrary/c_utils/base/test/benchmarktest/safe_queue_benchmark_test/ |
H A D | safe_queue_benchmark_test.cpp | 220 void GetThreadDateEmptyStatus(unsigned int &empty, unsigned int &unEmpty) in GetThreadDateEmptyStatus() argument 222 empty = 0; in GetThreadDateEmptyStatus() 226 empty++; in GetThreadDateEmptyStatus() 231 BENCHMARK_LOGD("SafeQueue GetThreadDateEmptyStatus empty:%{public}d unEmpty:%{public}d.", empty, unEmpty); in GetThreadDateEmptyStatus() 300 * CaseDescription: Multi-threaded put() and Multi-threaded get() on the empty queue. 342 * CaseDescription: Multi-threaded put() and Multi-threaded get() on the not empty queue. 395 * Function:erase empty 399 * CaseDescription: Multi-threaded erase() and Multi-threaded empty() on the empty queu 425 unsigned int empty = 0; BENCHMARK_F() local [all...] |
/commonlibrary/c_utils/base/include/ |
H A D | safe_block_queue.h | 54 * pop threads (blocked when the queue is empty) is woken up. 74 * If the queue is empty, the thread of the pop operation will be blocked 76 * If the queue is not empty, the pop operation can be performed, the first 84 while (queueT_.empty()) { in Pop() 85 // If the queue is empty, wait for elements to be pushed in. in Pop() 86 cvNotEmpty_.wait(lock, [&] { return !queueT_.empty(); }); in Pop() 100 * pop threads (blocked when the queue is empty) is woken up, and <b>true</b> 120 * If the queue is empty, <b>false</b> is returned directly. 121 * If the queue is not empty, the pop operation can be performed, one of the 130 if (queueT_.empty()) { in PopNotWait() [all...] |
H A D | safe_queue.h | 46 if (!deque_.empty()) { in ~SafeQueueInner() 65 return deque_.empty(); in Empty() 77 if (!deque_.empty()) { in Clear()
|
H A D | safe_map.h | 78 * @brief Checks whether the map is empty. 84 * @return Returns <b>true</b> if the map is empty; 90 return map_.empty(); in IsEmpty() 209 if (!map_.empty()) { in Iterate()
|
H A D | sorted_vector.h | 75 * @brief Checks whether this vector is empty. 77 * @return Returns `true` if the vector is empty; returns `false` otherwise. 79 inline bool IsEmpty() const { return vec_.empty(); } in IsEmpty() 345 if (vec_.empty()) { in IndexOf() 379 if (invec.empty()) { in SortedVector()
|
/commonlibrary/ets_utils/platform/default/ |
H A D | process_helper.cpp | 74 if (strLine.empty()) { in GetProcessStartRealtime() 88 startRealtime = word.empty() ? 0 : std::strtod(word.c_str(), nullptr); in GetProcessStartRealtime()
|
/commonlibrary/ets_utils/js_api_module/url/ |
H A D | js_url.cpp | 106 if (input.empty()) {
in DecodeSpecialChars() 129 if (str.empty()) {
in DeleteC0OrSpace() 226 if (userAndPasswd.empty()) {
in AnalysisUsernameAndPasswd() 243 if (!user.empty()) {
in AnalysisUsernameAndPasswd() 247 if (!keyWord.empty()) {
in AnalysisUsernameAndPasswd() 272 if (path.empty() && it == length - 1) {
in AnalysisPath() 276 if (path.empty()) {
in AnalysisPath() 533 if (subStr.empty()) {
in IsNumber() 540 if (subStr.empty()) {
in IsNumber() 555 if (num.substr(2).empty()) { // in BinaryConversion() [all...] |
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | graph.h | 60 return vertices.empty(); in IsEmpty() 106 if (e_.empty()) { in IsValid() 121 if (cycle.vertices.empty() || cycle.vertices.size() < 1 || in CycleAsString() 151 if (!cycle.vertices.empty()) { in FindFirstCycle() 194 while (!dfsStack.empty()) { in DfsBuildCycleInfo() 234 while (!dfsStack.empty()) {
|
H A D | async_lock.cpp | 68 if (heldList_.empty()) { in CleanUpLockRequestOnCompletion() 114 if (pendingList_.empty()) { in ProcessPendingLockRequestUnsafe() 134 if (pendingList_.empty()) { in ProcessPendingLockRequestUnsafe() 146 if (heldList_.empty()) { in CanAcquireLock()
|
/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | async_http_multi.rs | 28 .body(Body::empty()) in main()
|
H A D | async_http.rs | 37 .body(Body::empty())?;
|
H A D | async_certs_adapter.rs | 65 .body(Body::empty())
|
H A D | async_https_outside.rs | 54 .body(Body::empty())?;
|
/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | error_helper.h | 173 if (rawErrorInfo.empty()) { in SplitErrorFileInfo() 216 double line = result[1].empty() ? 0 : std::strtod(result[1].c_str(), nullptr); // 1 : index of lineno in TranslateErrorEvent() 222 double col = result[2].empty() ? 0 : std::strtod(result[2].c_str(), nullptr); // 2 : index of colno in TranslateErrorEvent()
|