| /applications/standard/app_samples/code/SuperFeature/Widget/FormGame/entry/src/main/cpp/ |
| H A D | napi_info_util.cpp | 47 auto current = time(nullptr); in NAPI_GetRandomNumber() local 48 if (current < 0) { in NAPI_GetRandomNumber() 49 current = 0; in NAPI_GetRandomNumber() 51 srand(current); in NAPI_GetRandomNumber()
|
| /third_party/mesa3d/bin/ |
| H A D | gen_release_notes_test.py | 38 'current, is_point, expected', 44 def test_next_version(current: str, is_point: bool, expected: str) -> None: 45 assert calculate_next_version(current, is_point) == expected 49 'current, is_point, expected', 54 def test_previous_version(current: str, is_point: bool, expected: str) -> None: 55 assert calculate_previous_version(current, is_point) == expected
|
| /third_party/node/test/common/ |
| H A D | measure-memory.js | 23 assert.strictEqual(typeof result.current, 'object'); 25 assertResultShape(result.current); 39 assert.strictEqual(typeof result.current, 'object'); 42 assertResultShape(result.current);
|
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_verify.h | 61 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_flavor); 63 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op); 64 int cil_verify_conditional_blocks(struct cil_tree_node *current); 68 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor);
|
| /third_party/skia/third_party/externals/swiftshader/src/Shader/ |
| H A D | PixelPipeline.cpp | 38 current = diffuse; in fixedFunction() 58 specularPixel(current, specular); in fixedFunction() 260 current.x = Min(current.x, Short4(0x0FFF)); current.x = Max(current.x, Short4(0x0000)); in applyShader() 261 current.y = Min(current.y, Short4(0x0FFF)); current.y = Max(current in applyShader() [all...] |
| /foundation/communication/ipc/ipc/native/src/core/source/ |
| H A D | message_parcel.cpp | 62 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in AcquireObject() local 64 if (current != nullptr) { in AcquireObject() 65 remoteObject = current->QueryObject(current->MakeHandleDescriptor(flat->handle)); in AcquireObject() 131 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in WriteDBinderProxy() local 132 if (current == nullptr) { in WriteDBinderProxy() 133 ZLOGE(LOG_LABEL, "current is nullptr"); in WriteDBinderProxy() 136 std::shared_ptr<DBinderSessionObject> sessionOfPeer = current->ProxyQueryDBinderSession(handle); in WriteDBinderProxy() 143 std::string localId = current->GetLocalDeviceID(); in WriteDBinderProxy() 146 sptr<DBinderCallbackStub> fakeStub = current in WriteDBinderProxy() 229 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); ReadRemoteObject() local [all...] |
| H A D | ipc_object_proxy.cpp | 71 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); in IPCObjectProxy() local 72 if (current == nullptr) { in IPCObjectProxy() 77 current->AttachValidObject(this, str); in IPCObjectProxy() 96 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); in ~IPCObjectProxy() local 97 if (current == nullptr) { in ~IPCObjectProxy() 101 current->DetachValidObject(this); in ~IPCObjectProxy() 401 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in OnLastStrongRef() local 402 if (current == nullptr) { in OnLastStrongRef() 416 current->DetachObject(this); in OnLastStrongRef() 758 IPCProcessSkeleton *current in AddDbinderDeathRecipient() local 808 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); RemoveDbinderDeathRecipient() local 839 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); CheckHaveSession() local 856 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); MakeDBinderTransSession() local 1000 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); ReleaseDatabusProto() local [all...] |
| /third_party/cups-filters/filter/ |
| H A D | sys5ippprinter.c | 623 int current, /* Current filter */ in exec_filters() local 651 current = 0; in exec_filters() 659 filter = next, current = 1 - current) in exec_filters() 676 if (filterfds[!current][1] > 1) in exec_filters() 678 close(filterfds[1 - current][0]); in exec_filters() 679 close(filterfds[1 - current][1]); in exec_filters() 681 filterfds[1 - current][0] = -1; in exec_filters() 682 filterfds[1 - current][0] = -1; in exec_filters() 686 open_pipe(filterfds[1 - current]); in exec_filters() [all...] |
| /third_party/cups-filters/cupsfilters/ |
| H A D | pdftoippprinter.c | 673 int current, /* Current filter */ in exec_filters() local 701 current = 0; in exec_filters() 709 filter = next, current = 1 - current) { in exec_filters() 723 if (filterfds[!current][1] > 1) { in exec_filters() 724 close(filterfds[1 - current][0]); in exec_filters() 725 close(filterfds[1 - current][1]); in exec_filters() 727 filterfds[1 - current][0] = -1; in exec_filters() 728 filterfds[1 - current][0] = -1; in exec_filters() 732 open_pipe(filterfds[1 - current]); in exec_filters() [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | svq1dec.c | 75 int nonref; // 1 if the current frame won't be referenced 317 static void svq1_skip_block(uint8_t *current, uint8_t *previous, in svq1_skip_block() argument 325 dst = current; in svq1_skip_block() 335 uint8_t *current, uint8_t *previous, in svq1_motion_inter_block() 370 dst = current; in svq1_motion_inter_block() 378 uint8_t *current, uint8_t *previous, in svq1_motion_inter_4v_block() 440 dst = current; in svq1_motion_inter_4v_block() 446 current += 8 * (pitch - 1); in svq1_motion_inter_4v_block() 448 current += 8; in svq1_motion_inter_4v_block() 456 uint8_t *current, uint8_ in svq1_decode_delta_block() 334 svq1_motion_inter_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_block() argument 377 svq1_motion_inter_4v_block(HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_motion_inter_4v_block() argument 454 svq1_decode_delta_block(AVCodecContext *avctx, HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) svq1_decode_delta_block() argument 626 uint8_t *current; svq1_decode_frame() local [all...] |
| /third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
| H A D | radeon_drm_cs.c | 205 /* Set the first command buffer as current. */ in radeon_drm_cs_create() 211 rcs->current.buf = cs->csc->buf; in radeon_drm_cs_create() 212 rcs->current.max_dw = ARRAY_SIZE(cs->csc->buf); in radeon_drm_cs_create() 457 assert(rcs->current.cdw == 0); in radeon_drm_cs_validate() 458 if (rcs->current.cdw != 0) { in radeon_drm_cs_validate() 468 assert(rcs->current.cdw <= rcs->current.max_dw); in radeon_drm_cs_check_space() 469 return rcs->current.max_dw - rcs->current.cdw >= dw; in radeon_drm_cs_check_space() 593 while (rcs->current in radeon_drm_cs_flush() [all...] |
| /foundation/arkui/ui_lite/frameworks/components/ |
| H A D | ui_chart.cpp | 319 Point* current = pointArray_ + dataCount_; in AddPoints() local 320 if (memcpy_s(current, (maxCount_ - dataCount_) * sizeof(Point), data, count * sizeof(Point)) != EOK) { in AddPoints() 438 Point current; in RefreshChart() local 439 data->GetPoint(index, current); in RefreshChart() 442 Rect refresh(current.x, rect.GetTop(), last.x, rect.GetBottom()); in RefreshChart() 467 Point current; in DrawDataSerials() local 468 data->GetPoint(index, current); in DrawDataSerials() 469 if (current.y == xStart.y) { in DrawDataSerials() 472 current.x += x; in DrawDataSerials() 473 xStart.x = current in DrawDataSerials() 557 Smooth(uint16_t startPos, Point& start, Point& end, Point& current, UIChartDataSerial* data, uint16_t& slope, uint16_t& preSlope) Smooth() argument 592 Point current; GetDataBySmooth() local 626 Point current; DrawSmoothPolyLine() local [all...] |
| /third_party/backends/backend/escl/ |
| H A D | escl.c | 108 escl_free_device(ESCL_Device *current) in escl_free_device() argument 110 if (!current) return NULL; in escl_free_device() 111 free((void*)current->ip_address); in escl_free_device() 112 free((void*)current->model_name); in escl_free_device() 113 free((void*)current->type); in escl_free_device() 114 free((void*)current->is); in escl_free_device() 115 free((void*)current->uuid); in escl_free_device() 116 free((void*)current->unix_socket); in escl_free_device() 117 curl_slist_free_all(current->hack); in escl_free_device() 118 free(current); in escl_free_device() 189 escl_check_and_add_device(ESCL_Device *current) escl_check_and_add_device() argument 230 escl_add_in_list(ESCL_Device *current) escl_add_in_list() argument 266 ESCL_Device *current = NULL; escl_device_add() local [all...] |
| /third_party/jinja2/ |
| H A D | lexer.py | 307 token = self.stream.current 320 one token ahead. The current active token is stored as :attr:`current`. 334 self.current = Token(1, TOKEN_INITIAL, "") 341 return bool(self._pushed) or self.current.type is not TOKEN_EOF 355 result = self.current 357 self.current = old_token 369 if self.current.test(expr): 383 rv = self.current 386 self.current [all...] |
| /third_party/skia/third_party/externals/libwebp/src/enc/ |
| H A D | backward_references_cost_enc.c | 275 // With the current cost model, we usually have below 20 intervals. in CostManagerInit() 277 // different cost, hence MAX_LENGTH but that is impossible with the current in CostManagerInit() 376 CostInterval* current = manager->head_; in UpdateCostAtIndex() local 378 while (current != NULL && current->start_ <= i) { in UpdateCostAtIndex() 379 CostInterval* const next = current->next_; in UpdateCostAtIndex() 380 if (current->end_ <= i) { in UpdateCostAtIndex() 383 PopInterval(manager, current); in UpdateCostAtIndex() 386 UpdateCost(manager, i, current->index_, current in UpdateCostAtIndex() 395 PositionOrphanInterval(CostManager* const manager, CostInterval* const current, CostInterval* previous) PositionOrphanInterval() argument [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| H A D | UnknownField.cs | 211 /// both the <paramref name="current"/> and <paramref name="extras"/> lists. 212 /// If <paramref name="current" /> is null and <paramref name="extras"/> is empty, 213 /// null is returned. Otherwise, either a new list is created (if <paramref name="current" /> 214 /// is null) or the elements of <paramref name="extras"/> are added to <paramref name="current" />. 216 private static List<T> AddAll<T>(List<T> current, IList<T> extras) in AddAll() argument 220 return current; in AddAll() 222 if (current == null) in AddAll() 224 current = new List<T>(extras); in AddAll() 228 current.AddRange(extras); in AddAll() 230 return current; in AddAll() [all...] |
| /foundation/communication/ipc/ipc/native/src/mock/source/ |
| H A D | binder_invoker.cpp | 99 auto current = ProcessSkeleton::GetInstance(); in ~BinderInvoker() local 100 if (current != nullptr) { in ~BinderInvoker() 101 current->DetachInvokerProcInfo(true); in ~BinderInvoker() 323 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in GetSAMgrObject() local 324 if (current != nullptr) { in GetSAMgrObject() 325 return current->GetRegistryObject(); in GetSAMgrObject() 344 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); in AddCommAuth() local 345 if (current == nullptr) { in AddCommAuth() 346 ZLOGE(LABEL, "current is null"); in AddCommAuth() 349 data2.WriteString(current in AddCommAuth() 551 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); StartWorkLoop() local 598 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); OnBinderDied() local 635 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); OnAcquireObject() local 726 auto current = ProcessSkeleton::GetInstance(); AttachInvokerProcInfoWrapper() local 758 auto current = ProcessSkeleton::GetInstance(); GeneralServiceSendRequest() local 881 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); OnSpawnThread() local 1456 auto current = ProcessSkeleton::GetInstance(); GetStatus() local 1531 IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent(); UnflattenObject() local 1748 ProcessSkeleton *current = ProcessSkeleton::GetInstance(); ProcDeferredDecRefs() local [all...] |
| /third_party/json/include/nlohmann/detail/input/ |
| H A D | binary_reader.hpp | 149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse() 203 if (current == 0x00) in get_bson_cstr() 207 *out++ = static_cast<typename string_t::value_type>(current); in get_bson_cstr() 423 switch (get_char ? get() : current) in parse_cbor_internal() 454 return sax->number_unsigned(static_cast<number_unsigned_t>(current)); in parse_cbor_internal() 505 return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current)); in parse_cbor_internal() 628 conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal() 682 return get_cbor_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler); in parse_cbor_internal() 743 switch (current) in parse_cbor_internal() 779 switch (current) in parse_cbor_internal() 2957 char_int_type current = std::char_traits<char_type>::eof(); global() member in detail::binary_reader [all...] |
| /third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_cs.c | 799 rcs->current.cdw = 0; in amdgpu_get_new_ib() 800 rcs->current.buf = NULL; in amdgpu_get_new_ib() 802 /* Allocate a new buffer for IBs if the current buffer is all used. */ in amdgpu_get_new_ib() 819 rcs->current.buf = (uint32_t*)(ib->ib_mapped + ib->used_ib_space); in amdgpu_get_new_ib() 822 cs->csc->ib_main_addr = rcs->current.buf; in amdgpu_get_new_ib() 825 rcs->current.max_dw = ib_size / 4 - amdgpu_cs_epilog_dws(cs); in amdgpu_get_new_ib() 833 *ib->ptr_ib_size = rcs->current.cdw | in amdgpu_set_ib_size() 836 *ib->ptr_ib_size = rcs->current.cdw; in amdgpu_set_ib_size() 844 ib->used_ib_space += rcs->current.cdw * 4; in amdgpu_ib_finalize() 846 ib->max_ib_size = MAX2(ib->max_ib_size, rcs->prev_dw + rcs->current in amdgpu_ib_finalize() [all...] |
| /third_party/node/deps/v8/tools/ |
| H A D | gen-postmortem-metadata.py | 659 current = ''; 674 current += line[0:ii + 1]; 681 if (len(current) > 0): 682 fields.append(parse_field(current)); 683 current = ''; 694 current += line[0:ii + 1]; 696 if (len(current) > 0): 697 fields.append(parse_field(current)); 698 current = '';
|
| /third_party/node/tools/gyp/tools/ |
| H A D | pretty_vcproj.py | 108 for current in node.childNodes: 109 if current.nodeName == "Filter": 110 node_list.extend(FlattenFilter(current)) 112 node_list.append(current) 185 current = node.childNodes[0] 186 node.removeChild(current) 190 if current.nodeName == "Filter": 191 node_array.extend(FlattenFilter(current)) 193 node_array.append(current) 235 # Get the name of the current nod [all...] |
| /third_party/libinput/src/ |
| H A D | util-prop-parsers.c | 501 char *current, *next; in parse_evdev_abs_prop() local 512 current = str; in parse_evdev_abs_prop() 514 while (current && *current != '\0' && bit <= ABS_MASK_FLAT) { in parse_evdev_abs_prop() 515 if (*current != ':') { in parse_evdev_abs_prop() 517 next = index(current, ':'); in parse_evdev_abs_prop() 521 if (!safe_atoi(current, &v)) { in parse_evdev_abs_prop() 527 current = next ? ++next : NULL; in parse_evdev_abs_prop() 529 current++; in parse_evdev_abs_prop()
|
| /third_party/node/deps/v8/src/builtins/ |
| H A D | builtins-console.cc | 84 Handle<Object> current = args.at(index); in Formatter() local 87 if (current->IsSymbol()) { in Formatter() 88 current = isolate->factory()->nan_value(); in Formatter() 90 Handle<Object> params[] = {current, in Formatter() 97 .ToHandle(¤t)) { in Formatter() 102 Handle<Object> params[] = {current}; in Formatter() 106 .ToHandle(¤t)) { in Formatter() 112 states.push({Handle<String>::cast(current), 0}); in Formatter() 134 // with the |current| value. We perform the replacement only morally in Formatter() 137 args.set_at(index++, *current); in Formatter() [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/hud/ |
| H A D | hud_sensors_temp.c | 63 /* The type of measurement, critical or current. */ 73 double current, min, max, critical; member 100 sti->current = get_value(sti->chip, sf); in get_sensor_values() 108 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values() 115 sti->current = get_value(sti->chip, sf); in get_sensor_values() 132 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values() 172 hud_graph_add_value(gr, sti->current); in query_sti_load() 178 hud_graph_add_value(gr, sti->current * 1000); in query_sti_load() 181 hud_graph_add_value(gr, sti->current); in query_sti_load() 184 hud_graph_add_value(gr, sti->current); in query_sti_load() [all...] |
| /device/soc/rockchip/common/sdk_linux/include/linux/ |
| H A D | sched.h | 12 #include <asm/current.h>
135 current->task_state_change = _THIS_IP_; \
136 current->state = (state_value); \
142 current->task_state_change = _THIS_IP_; \
143 smp_store_mb(current->state, (state_value)); \
150 raw_spin_lock_irqsave(¤t->pi_lock, flags); \
151 current->task_state_change = _THIS_IP_; \
152 current->state = (state_value); \
153 raw_spin_unlock_irqrestore(¤t->pi_lock, flags); \
157 * set_current_state() includes a barrier so that the write of current [all...] |