| /foundation/barrierfree/accessibility/services/aams/src/ |
| H A D | accessibility_input_interceptor.cpp | 152 sptr<EventTransmission> current = nullptr; in CreatePointerEventTransmitters() local 160 SetNextEventTransmitter(header, current, mouseAutoclick); in CreatePointerEventTransmitters() 169 SetNextEventTransmitter(header, current, touchEventInjector); in CreatePointerEventTransmitters() 179 SetNextEventTransmitter(header, current, zoomGesture); in CreatePointerEventTransmitters() 189 SetNextEventTransmitter(header, current, touchGuider); in CreatePointerEventTransmitters() 198 SetNextEventTransmitter(header, current, screenTouch); in CreatePointerEventTransmitters() 201 SetNextEventTransmitter(header, current, instance_); in CreatePointerEventTransmitters() 210 sptr<EventTransmission> current = nullptr; in CreateKeyEventTransmitters() local 219 SetNextEventTransmitter(header, current, keyEventFilter); in CreateKeyEventTransmitters() 222 SetNextEventTransmitter(header, current, instance in CreateKeyEventTransmitters() 332 SetNextEventTransmitter(sptr<EventTransmission> &header, sptr<EventTransmission> ¤t, const sptr<EventTransmission> &next) SetNextEventTransmitter() argument [all...] |
| /third_party/icu/icu4c/source/test/intltest/ |
| H A D | pluralmaptest.cpp | 118 const UnicodeString *current = map.next(index); in TestIterate() local 119 assertEquals("", "pickles", *current); in TestIterate() 121 current = map.next(index); in TestIterate() 122 assertEquals("", "pickle", *current); in TestIterate() 124 current = map.next(index); in TestIterate() 125 assertEquals("", "picklefew", *current); in TestIterate() 127 current = map.next(index); in TestIterate() 129 assertTrue("", current == NULL); in TestIterate() 133 current = map2.next(index); in TestIterate() 134 assertEquals("", "", *current); in TestIterate() 211 UnicodeString *current = map.getMutable(v, status); addVariant() local [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | blob.c | 105 blob->current = blob->data + align64(blob->current - blob->data, alignment); in blob_reader_align() 255 blob->current = data; in blob_reader_init() 269 if (blob->current <= blob->end && blob->end - blob->current >= size) in ensure_can_read() 285 ret = blob->current; in blob_read_bytes() 287 blob->current += size; in blob_read_bytes() 308 blob->current += size; in blob_skip_bytes() 336 if (blob->current >= blob->end) { in BLOB_READ_TYPE() 344 nul = memchr(blob->current, in BLOB_READ_TYPE() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components/svg/ |
| H A D | rosen_render_svg_text.cpp | 78 drawOffset.current = OnMeasureTextBounds(drawOffset, bounds); in MeasureTextBounds() 93 drawOffset.current = textPath->MeasureTextPathBounds(drawOffset.svg, bounds); in MeasureTextBounds() 113 PaintMaskLayer(context, drawOffset.svg, drawOffset.current); in DrawText() 115 // update current offset by attribute in DrawText() 119 drawOffset.current = OnDrawText(context, drawOffset); in DrawText() 134 drawOffset.current = textPath->PaintTextPath(context, drawOffset.svg); in DrawText() 143 Offset offset = drawOffset.current; in OnDrawText() 159 Offset offset = drawOffset.current; in OnMeasureTextBounds() 173 drawOffset.current = drawOffset.current in UpdateDrawOffset() [all...] |
| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
| H A D | drawing_typeface_test.cpp | 183 OH_Drawing_Typeface *current = OH_Drawing_TypefaceCreateFromFile("/system/fonts/HarmonyOS_Sans.ttf", 0); in HWTEST_F() local 184 ASSERT_TRUE(current != nullptr); in HWTEST_F() 185 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, nullptr); in HWTEST_F() 189 typeface = OH_Drawing_TypefaceCreateFromCurrent(current, fontArgs); in HWTEST_F() 193 OH_Drawing_TypefaceDestroy(current); in HWTEST_F() 210 OH_Drawing_Typeface *current = OH_Drawing_TypefaceCreateFromFile("/system/fonts/HarmonyOS_Sans_Digit.ttf", 0); in HWTEST_F() local 211 ASSERT_TRUE(current != nullptr); in HWTEST_F() 212 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, fontArgs); in HWTEST_F() 216 OH_Drawing_TypefaceDestroy(current); in HWTEST_F()
|
| /foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/mini/ |
| H A D | ipc_proxy_inner.c | 75 RpcSkeleton *current = GetCurrentRpcSkeleton(); in InvokerListenThread() local 76 if (current == NULL) { in InvokerListenThread() 84 if (current->sessionName != NULL) { in InvokerListenThread() 85 free(current->sessionName); in InvokerListenThread() 86 current->sessionName = NULL; in InvokerListenThread() 92 current->sessionName = (char *)malloc(sessionNameLen + 1); in InvokerListenThread() 93 if (current->sessionName == NULL) { in InvokerListenThread() 96 if (strcpy_s(current->sessionName, sessionNameLen + 1, proxyObject->sessionName) != EOK) { in InvokerListenThread() 97 free(current->sessionName); in InvokerListenThread()
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
| H A D | BurmeseBreakEngine.java | 88 int current; in divideUpDictionaryRange() 96 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 99 //Look for candidate words at the current position in divideUpDictionaryRange() 152 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 153 int pc = fIter.current(); in divideUpDictionaryRange() 157 uc = fIter.current(); in divideUpDictionaryRange() 165 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 182 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 188 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 201 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| H A D | KhmerBreakEngine.java | 95 int current; in divideUpDictionaryRange() 104 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 107 //Look for candidate words at the current position in divideUpDictionaryRange() 160 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 161 int pc = fIter.current(); in divideUpDictionaryRange() 165 uc = fIter.current(); in divideUpDictionaryRange() 173 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 190 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 196 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 209 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| H A D | LaoBreakEngine.java | 96 int current; in divideUpDictionaryRange() 104 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 107 //Look for candidate words at the current position in divideUpDictionaryRange() 160 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 161 int pc = fIter.current(); in divideUpDictionaryRange() 165 uc = fIter.current(); in divideUpDictionaryRange() 173 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 190 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 196 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 209 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| H A D | BurmeseBreakEngine.java | 98 int current; in divideUpDictionaryRange() 106 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 109 //Look for candidate words at the current position in divideUpDictionaryRange() 166 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 167 int pc = fIter.current(); in divideUpDictionaryRange() 171 uc = fIter.current(); in divideUpDictionaryRange() 179 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 196 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 202 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 215 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| H A D | KhmerBreakEngine.java | 101 int current; in divideUpDictionaryRange() 110 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 113 //Look for candidate words at the current position in divideUpDictionaryRange() 170 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 171 int pc = fIter.current(); in divideUpDictionaryRange() 175 uc = fIter.current(); in divideUpDictionaryRange() 183 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 200 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 206 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 219 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| H A D | LaoBreakEngine.java | 101 int current; in divideUpDictionaryRange() 109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 112 //Look for candidate words at the current position in divideUpDictionaryRange() 169 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange() 170 int pc = fIter.current(); in divideUpDictionaryRange() 174 uc = fIter.current(); in divideUpDictionaryRange() 182 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange() 199 fIter.setIndex(current+wordLength); in divideUpDictionaryRange() 205 while ((currPos = fIter.getIndex()) < rangeEnd && fMarkSet.contains(fIter.current())) { in divideUpDictionaryRange() 218 foundBreaks.push(Integer.valueOf(current in divideUpDictionaryRange() [all...] |
| /third_party/skia/experimental/sktext/src/ |
| H A D | Text.cpp | 133 // Let's fill the resolved blocks with the current font in resolveChain() 755 Position SelectableText::previousPosition(Position current) const { 756 const BoxLine* currentLine = &fBoxLines[current.fLineIndex]; 757 if (this->isFirstOnTheLine(current)) { 759 if (current.fLineIndex == 0) { 761 current.fGlyphRange = GlyphRange(0, 0); 762 return current; 764 current.fLineIndex -= 1; 765 currentLine = &fBoxLines[current.fLineIndex]; 766 current [all...] |
| /third_party/node/deps/v8/src/objects/ |
| H A D | contexts.cc | 107 Context current = *this; in declaration_context() local 108 while (!current.is_declaration_context()) { in declaration_context() 109 current = current.previous(); in declaration_context() 111 return current; in declaration_context() 115 Context current = *this; in closure_context() local 116 while (!current.IsFunctionContext() && !current.IsScriptContext() && in closure_context() 117 !current.IsModuleContext() && !current in closure_context() 141 Context current = *this; module() local 153 Context current = *this; script_context() local [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| H A D | UCharacterIteratorWrapper.java | 40 return (char)iterator.current(); in first() 56 * Gets the character at the current position (as returned by getIndex()). 57 * @return the character at the current position or DONE if the current 62 public char current(){ in current() method in UCharacterIteratorWrapper 63 return (char) iterator.current(); in current() 69 * to getEndIndex(), the current index is reset to getEndIndex() and 78 return (char) iterator.current(); in next() 83 * at the new index. If the current index is getBeginIndex(), the index 85 * @return the character at the new position or DONE if the current [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| H A D | UCharacterIteratorWrapper.java | 42 return (char)iterator.current(); in first() 58 * Gets the character at the current position (as returned by getIndex()). 59 * @return the character at the current position or DONE if the current 64 public char current(){ in current() method in UCharacterIteratorWrapper 65 return (char) iterator.current(); in current() 71 * to getEndIndex(), the current index is reset to getEndIndex() and 80 return (char) iterator.current(); in next() 85 * at the new index. If the current index is getBeginIndex(), the index 87 * @return the character at the new position or DONE if the current [all...] |
| /third_party/skia/bench/ |
| H A D | ChromeBench.cpp | 469 SkRect current; variable 470 setRectangle(current, i); 472 canvas->drawRect(current, paint); 478 void setRectangle(SkRect& current, int i) { in setRectangle() argument 479 current.setWH(SkIntToScalar(gmailScrollingRectSpec[i*3+1]), in setRectangle()
|
| /foundation/arkui/ui_lite/interfaces/innerkits/dock/ |
| H A D | focus_manager.h | 97 bool CompareCandidates(UIView* focusedView, UIView*& candidate, UIView* current, uint8_t direction); 98 bool CompareCandidatesByUp(UIView* focusedView, UIView*& candidate, UIView* current); 99 bool CompareCandidatesByDown(UIView* focusedView, UIView*& candidate, UIView* current); 100 bool CompareCandidatesByLeft(UIView* focusedView, UIView*& candidate, UIView* current); 101 bool CompareCandidatesByRight(UIView* focusedView, UIView*& candidate, UIView* current); 102 bool CompareCandidatesDistance(const Rect& focused, const Rect& candidate, const Rect& current);
|
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
| H A D | state_machine.cpp | 40 State *current = current_; in ProcessMessage() local 41 if (current == nullptr) { in ProcessMessage() 44 while (!current->Dispatch(msg)) { in ProcessMessage() 45 current = current->parent_; in ProcessMessage() 46 if (current == nullptr) { in ProcessMessage()
|
| /third_party/node/test/parallel/ |
| H A D | test-http-1.0-keep-alive.js | 112 let current = 0; 119 if (current + 1 === test.responses.length) this.close(); 120 const ctx = test.responses[current]; 128 if (current === test.requests.length) return next(); 133 const ctx = test.requests[current]; 147 current++;
|
| /third_party/gptfdisk/ |
| H A D | gptcurses.cc | 60 whichOptions = ""; // current set of options in GPTDataCurses() 110 // Add a single empty Space to the current Spaces linked list and sort the result.... 127 Space *current; in AddEmptySpaces() local 134 current = firstSpace; in AddEmptySpaces() 135 while ((current != NULL) /* && (current->partNum != -1) */ ) { in AddEmptySpaces() 136 if ((current == firstSpace) && (current->firstLBA > GetFirstUsableLBA())) { in AddEmptySpaces() 137 AddEmptySpace(GetFirstUsableLBA(), current->firstLBA - 1); in AddEmptySpaces() 140 if ((current in AddEmptySpaces() 189 Space *oldFirst, *oldLast, *earliest = NULL, *current = NULL; SortSpaces() local [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | vf_tile.c | 42 unsigned current; member 108 tile->current = tile->init_padding; in init() 148 static void get_tile_pos(AVFilterContext *ctx, unsigned *x, unsigned *y, unsigned current) in get_tile_pos() argument 152 const unsigned tx = current % tile->w; in get_tile_pos() 153 const unsigned ty = current / tile->w; in get_tile_pos() 165 get_tile_pos(ctx, &x0, &y0, tile->current); in draw_blank_frame() 169 tile->current++; in draw_blank_frame() 179 while (tile->current < tile->nb_frames) in end_last_frame() 181 tile->current = tile->overlap; in end_last_frame() 182 if (tile->current) { in end_last_frame() [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_group_loads.c | 205 /* Set the last instruction because we'll delete the current one. */ in group_loads() 234 /* Set the last instruction because we'll delete the current one. */ in group_loads() 285 nir_instr *current, unsigned max_distance) in handle_load_range() 288 (!current || current->index > (*first)->index + max_distance)) { in handle_load_range() 350 * if the phi points to the current block (such as a loop body). in get_num_indirections() 420 nir_foreach_instr(current, block) { in process_block() 422 if (is_barrier(current)) { in process_block() 431 if (is_grouped_load(current) && current in process_block() 284 handle_load_range(nir_instr **first, nir_instr **last, nir_instr *current, unsigned max_distance) handle_load_range() argument [all...] |
| /third_party/node/deps/openssl/openssl/crypto/bn/ |
| H A D | bn_ctx.c | 33 BN_POOL_ITEM *head, *current, *tail; member 296 p->head = p->current = p->tail = NULL; in BN_POOL_init() 309 p->current = p->head->next; in BN_POOL_finish() 311 p->head = p->current; in BN_POOL_finish() 338 p->head = p->current = p->tail = item; in BN_POOL_get() 342 p->current = item; in BN_POOL_get() 351 p->current = p->head; in BN_POOL_get() 353 p->current = p->current->next; in BN_POOL_get() 354 return p->current in BN_POOL_get() [all...] |
| /third_party/openssl/crypto/bn/ |
| H A D | bn_ctx.c | 33 BN_POOL_ITEM *head, *current, *tail; member 296 p->head = p->current = p->tail = NULL; in BN_POOL_init() 309 p->current = p->head->next; in BN_POOL_finish() 311 p->head = p->current; in BN_POOL_finish() 338 p->head = p->current = p->tail = item; in BN_POOL_get() 342 p->current = item; in BN_POOL_get() 351 p->current = p->head; in BN_POOL_get() 353 p->current = p->current->next; in BN_POOL_get() 354 return p->current in BN_POOL_get() [all...] |