Searched refs:target_start (Results 1 – 2 of 2) sorted by relevance
/third_party/cef/tests/cefclient/browser/ |
D | osr_ime_handler_win.cc | 38 int* target_start, in GetCompositionSelectionRange() argument 57 *target_start = start; in GetCompositionSelectionRange() 66 int target_start, in GetCompositionUnderlines() argument 85 if (underline.range.from >= target_start && in GetCompositionUnderlines() 252 int target_start = length; in GetCompositionInfo() local 255 GetCompositionSelectionRange(imc, &target_start, &target_end); in GetCompositionInfo() 275 GetCompositionUnderlines(imc, target_start, target_end, underlines); in GetCompositionInfo() 282 if (target_start > 0) { in GetCompositionInfo() 284 underline.range.to = target_start; in GetCompositionInfo() 288 if (target_end > target_start) { in GetCompositionInfo() [all …]
|
/third_party/node/src/ |
D | node_buffer.cc | 533 size_t target_start = 0; in Copy() local 537 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[2], 0, &target_start)); in Copy() 543 if (target_start >= target_length || source_start >= source_end) in Copy() 550 if (source_end - source_start > target_length - target_start) in Copy() 551 source_end = source_start + target_length - target_start; in Copy() 554 std::min(source_end - source_start, target_length - target_start), in Copy() 557 memmove(target_data + target_start, source.data() + source_start, to_copy); in Copy() 729 size_t target_start = 0; in CompareOffset() local 734 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[2], 0, &target_start)); in CompareOffset() 744 if (target_start > target.length()) in CompareOffset() [all …]
|