Home
last modified time | relevance | path

Searched refs:from (Results 276 - 300 of 7968) sorted by relevance

1...<<11121314151617181920>>...319

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DTimeZoneTransition.java19 private final TimeZoneRule from; field in TimeZoneTransition
28 * @param from The time zone rule used before the transition.
31 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() argument
33 this.from = from; in TimeZoneTransition()
61 return from; in getFrom()
73 buf.append(", from={" + from + "}"); in toString()
/third_party/typescript/tests/baselines/reference/
H A DselfReferencingSpreadInLoop.js9 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
10 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
11 if (ar || !(i in from)) {
12 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
13 ar[i] = from[i];
16 return to.concat(ar || Array.prototype.slice.call(from));
H A DduplicatePackage.js4 import X from "x";
16 import X from "x";
26 import X from "x";
38 import { a } from "a";
39 import { b } from "b";
40 import { c } from "c";
42 a(c); // Error, these are from different versions of the library.
52 (0, a_1.a)(c_1.c); // Error, these are from different versions of the library.
H A DelidedJSImport2(module=es2022).js4 import { Foo } from "./other.js";
5 import * as other from "./other.js";
6 import defaultFoo from "./other.js";
32 import { Foo } from "./other.js";
33 import * as other from "./other.js";
34 import defaultFoo from "./other.js";
H A DnoCrashOnNoLib.js11 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
12 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
13 if (ar || !(i in from)) {
14 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
15 ar[i] = from[i];
18 return to.concat(ar || Array.prototype.slice.call(from));
H A Des6ImportNamedImportMergeErrors.js10 import { a } from "./es6ImportNamedImportMergeErrors_0";
12 import { x as x1 } from "./es6ImportNamedImportMergeErrors_0";
14 import { x } from "./es6ImportNamedImportMergeErrors_0"; // should be error
16 import { x as x44 } from "./es6ImportNamedImportMergeErrors_0"; // should be error
18 import { z } from "./es6ImportNamedImportMergeErrors_0"; // should be error
19 import { z1 as z } from "./es6ImportNamedImportMergeErrors_0"; // should be error
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DRangeTreeTest.java55 // is perfectly valid input). This is very distinct from the empty tree, which cannot match any in testEmptySequenceTree()
57 RangeTree r = RangeTree.from(RangeSpecification.empty()); in testEmptySequenceTree()
65 RangeTree r = RangeTree.from(rangeSetOf(range("1000", "4999"))); in testFromRangeSetSimple()
72 RangeTree r = RangeTree.from(rangeSetOf(range("0000", "9999"))); in testFromRangeSetMinMax()
80 RangeTree r = RangeTree.from(rangeSetOf(range("0", domain().maxValue().toString()))); in testFromRangeSetAllValues()
104 // The tree generated from the empty range specification actually contains one digit sequence in testContains()
107 assertThat(RangeTree.from(RangeSpecification.empty())).contains(""); in testContains()
108 assertThat(RangeTree.from(spec("x"))).contains("7"); in testContains()
109 assertThat(RangeTree.from(spec("1"))).contains("1"); in testContains()
110 assertThat(RangeTree.from(spe in testContains()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A Divtv-queue.c76 static void ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, in ivtv_queue_move_buf() argument
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf()
81 list_move_tail(from->list.next, &to->list); in ivtv_queue_move_buf()
82 from->buffers--; in ivtv_queue_move_buf()
83 from->length -= s->buf_size; in ivtv_queue_move_buf()
84 from->bytesused -= buf->bytesused - buf->readpos; in ivtv_queue_move_buf()
93 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'.
94 If 'needed_bytes' == 0, then move all buffers from 'from' int
110 ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, struct ivtv_queue *to, int needed_bytes) ivtv_queue_move() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A Divtv-queue.c76 static void ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, in ivtv_queue_move_buf() argument
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf()
81 list_move_tail(from->list.next, &to->list); in ivtv_queue_move_buf()
82 from->buffers--; in ivtv_queue_move_buf()
83 from->length -= s->buf_size; in ivtv_queue_move_buf()
84 from->bytesused -= buf->bytesused - buf->readpos; in ivtv_queue_move_buf()
93 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'.
94 If 'needed_bytes' == 0, then move all buffers from 'from' int
110 ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, struct ivtv_queue *to, int needed_bytes) ivtv_queue_move() argument
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dindic.pl22 # undefined code point U+D01 (derived via mapping from InterIndic)
106 # And a map from the fullCode point to the name
138 # real full code values. The idea is that when a mapping from another
141 # Devanagari has no AI Length Mark. So, if transliterating from
157 my @from = parseUnicodeEscape($rawFrom);
159 my $from = hexArray(@from);
163 if (intArraysEqual(\@from, \@to)) {
164 #print STDERR "Ignoring NOOP remap of $from\n";
165 } elsif (exists $EXCEPTIONS{$from}) {
[all...]
/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs43 fn from(owned: mio::net::TcpStream) -> Self { in from() functions
59 fn from(owned: mio::net::TcpStream) -> Self { in from() functions
75 fn from(owned: OwnedFd) -> Self { in from() functions
91 fn from(owned: OwnedSocket) -> Self { in from() functions
123 fn from(owned: mio::net::TcpListener) -> Self { in from() functions
139 fn from(owned: mio::net::TcpListener) -> Self { in from() functions
155 fn from(owned: OwnedFd) -> Self { in from() functions
171 fn from(owned: OwnedSocket) -> Self { in from() functions
203 fn from(owned: mio::net::UdpSocket) -> Self { in from() functions
219 fn from(owne functions
235 fn from(owned: OwnedFd) -> Self { from() functions
251 fn from(owned: OwnedSocket) -> Self { from() functions
275 fn from(owned: mio::net::UnixDatagram) -> Self { from() functions
291 fn from(owned: OwnedFd) -> Self { from() functions
315 fn from(owned: mio::net::UnixListener) -> Self { from() functions
331 fn from(owned: OwnedFd) -> Self { from() functions
355 fn from(owned: mio::net::UnixStream) -> Self { from() functions
371 fn from(owned: OwnedFd) -> Self { from() functions
395 fn from(owned: mio::unix::pipe::Receiver) -> Self { from() functions
411 fn from(owned: OwnedFd) -> Self { from() functions
435 fn from(owned: mio::unix::pipe::Sender) -> Self { from() functions
451 fn from(owned: OwnedFd) -> Self { from() functions
[all...]
/third_party/node/deps/openssl/openssl/crypto/conf/
H A Dconf_def.c50 static int str_copy(CONF *conf, char *section, char **to, char *from);
287 /* continue processing with the next file from directory */ in def_load_bio()
454 * concern because config files should never come from untrusted in def_load_bio()
525 /* continue with reading from the included BIO */ in def_load_bio()
651 static int str_copy(CONF *conf, char *section, char **pto, char *from) in str_copy() argument
660 len = strlen(from) + 1; in str_copy()
665 if (IS_QUOTE(conf, *from)) { in str_copy()
666 q = *from; in str_copy()
667 from++; in str_copy()
668 while (!IS_EOF(conf, *from) in str_copy()
[all...]
/third_party/openssl/crypto/conf/
H A Dconf_def.c50 static int str_copy(CONF *conf, char *section, char **to, char *from);
287 /* continue processing with the next file from directory */ in def_load_bio()
454 * concern because config files should never come from untrusted in def_load_bio()
525 /* continue with reading from the included BIO */ in def_load_bio()
651 static int str_copy(CONF *conf, char *section, char **pto, char *from) in str_copy() argument
660 len = strlen(from) + 1; in str_copy()
665 if (IS_QUOTE(conf, *from)) { in str_copy()
666 q = *from; in str_copy()
667 from++; in str_copy()
668 while (!IS_EOF(conf, *from) in str_copy()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbcmap.c160 * @from: frame buffer colormap structure
163 * Copy contents of colormap from @from to @to.
166 int fb_copy_cmap(const struct fb_cmap *from, struct fb_cmap *to) in fb_copy_cmap() argument
171 if (to->start > from->start) in fb_copy_cmap()
172 fromoff = to->start - from->start; in fb_copy_cmap()
174 tooff = from->start - to->start; in fb_copy_cmap()
175 if (fromoff >= from->len || tooff >= to->len) in fb_copy_cmap()
178 size = min_t(size_t, to->len - tooff, from->len - fromoff); in fb_copy_cmap()
183 memcpy(to->red+tooff, from in fb_copy_cmap()
191 fb_cmap_to_user(const struct fb_cmap *from, struct fb_cmap_user *to) fb_cmap_to_user() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbcmap.c160 * @from: frame buffer colormap structure
163 * Copy contents of colormap from @from to @to.
166 int fb_copy_cmap(const struct fb_cmap *from, struct fb_cmap *to) in fb_copy_cmap() argument
171 if (to->start > from->start) in fb_copy_cmap()
172 fromoff = to->start - from->start; in fb_copy_cmap()
174 tooff = from->start - to->start; in fb_copy_cmap()
175 if (fromoff >= from->len || tooff >= to->len) in fb_copy_cmap()
178 size = min_t(size_t, to->len - tooff, from->len - fromoff); in fb_copy_cmap()
183 memcpy(to->red+tooff, from in fb_copy_cmap()
191 fb_cmap_to_user(const struct fb_cmap *from, struct fb_cmap_user *to) fb_cmap_to_user() argument
[all...]
/test/testfwk/arkxtest/uitest/input/
H A Dui_input.cpp44 "dircFling [velocity stepLength] direction ranges from 0,1,2,3 (left, right, up, down)\n" in PrintInputMessage()
46 "swipe/drag <from_x> <from_y> <to_x> <to_y> [velocity] velocity ranges from 200 to 40000, default 600\n" in PrintInputMessage()
47 "fling <from_x> <from_y> <to_x> <to_y> [velocity] velocity ranges from 200 to 40000, default 600\n" in PrintInputMessage()
59 static bool CreateFlingPoint(Point &to, Point &from, Point screenSize, Direction direction) in CreateFlingPoint() argument
64 from.px_ = to.px_ - screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
65 from.py_ = to.py_; in CreateFlingPoint()
68 from.px_ = to.px_ + screenSize.px_ / INDEX_FOUR; in CreateFlingPoint()
69 from.py_ = to.py_; in CreateFlingPoint()
72 from.px_ = to.px_; in CreateFlingPoint()
73 from in CreateFlingPoint()
85 GetPoints(Point &to, Point &from, int32_t argc, char *argv[]) GetPoints() argument
112 CheckStepLength(UiOpArgs &uiOpArgs, Point to, Point from, uint32_t stepLength) CheckStepLength() argument
130 Point from; FlingActionInput() local
176 Point from; SwipeActionInput() local
[all...]
/base/request/request/services/src/utils/
H A Dc_wrapper.rs27 fn from(value: &str) -> Self { in from() functions
35 fn from(value: &String) -> Self { in from() functions
36 Self::from(value.as_str()) in from()
71 name: CStringWrapper::from(&self.name),
72 path: CStringWrapper::from(&self.path),
73 file_name: CStringWrapper::from(&self.file_name),
74 mime_type: CStringWrapper::from(&self.mime_type),
100 name: CStringWrapper::from(&self.name),
101 value: CStringWrapper::from(&self.value),
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Ddma.h42 * Transfer end interrupt, inherited from DMAC.
108 extern int dma_xfer(unsigned int chan, unsigned long from,
111 #define dma_write(chan, from, to, size) \
112 dma_xfer(chan, from, to, size, DMA_MODE_WRITE)
113 #define dma_write_page(chan, from, to) \
114 dma_write(chan, from, to, PAGE_SIZE)
116 #define dma_read(chan, from, to, size) \
117 dma_xfer(chan, from, to, size, DMA_MODE_READ)
118 #define dma_read_page(chan, from, to) \
119 dma_read(chan, from, t
[all...]
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Ddma.h42 * Transfer end interrupt, inherited from DMAC.
108 extern int dma_xfer(unsigned int chan, unsigned long from,
111 #define dma_write(chan, from, to, size) \
112 dma_xfer(chan, from, to, size, DMA_MODE_WRITE)
113 #define dma_write_page(chan, from, to) \
114 dma_write(chan, from, to, PAGE_SIZE)
116 #define dma_read(chan, from, to, size) \
117 dma_xfer(chan, from, to, size, DMA_MODE_READ)
118 #define dma_read_page(chan, from, to) \
119 dma_read(chan, from, t
[all...]
/third_party/f2fs-tools/fsck/
H A Ddefrag.c12 static int migrate_block(struct f2fs_sb_info *sbi, u64 from, u64 to) in migrate_block() argument
22 /* read from */ in migrate_block()
23 ret = dev_read_block(raw, from); in migrate_block()
31 se = get_seg_entry(sbi, GET_SEGNO(sbi, from)); in migrate_block()
32 offset = OFFSET_IN_SEG(sbi, from); in migrate_block()
46 get_sum_entry(sbi, from, &sum); in migrate_block()
58 from, to); in migrate_block()
63 int f2fs_defragment(struct f2fs_sb_info *sbi, u64 from, u64 len, u64 to, int left) in f2fs_defragment() argument
71 for (idx = from; idx < from in f2fs_defragment()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Duaccess.h34 * and hide all the ugliness from the user.
227 * This does an atomic 128 byte aligned load from userspace.
365 const void __user *from, unsigned long size);
369 copy_mc_generic(void *to, const void *from, unsigned long size);
372 copy_mc_to_kernel(void *to, const void *from, unsigned long size) in copy_mc_to_kernel() argument
374 return copy_mc_generic(to, from, size); in copy_mc_to_kernel()
379 copy_mc_to_user(void __user *to, const void *from, unsigned long n) in copy_mc_to_user() argument
381 if (likely(check_copy_size(from, n, true))) { in copy_mc_to_user()
384 n = copy_mc_generic((void *)to, from, n); in copy_mc_to_user()
395 raw_copy_in_user(void __user *to, const void __user *from, unsigne argument
407 raw_copy_from_user(void *to, const void __user *from, unsigned long n) raw_copy_from_user() argument
444 raw_copy_to_user_allowed(void __user *to, const void *from, unsigned long n) raw_copy_to_user_allowed() argument
471 raw_copy_to_user(void __user *to, const void *from, unsigned long n) raw_copy_to_user() argument
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumber.pb.cc154 PhoneNumber::PhoneNumber(const PhoneNumber& from) in PhoneNumber() argument
156 _has_bits_(from._has_bits_) { in PhoneNumber()
157 _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_); in PhoneNumber()
159 if (from._internal_has_extension()) { in PhoneNumber()
160 extension_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_extension(), in PhoneNumber()
164 if (from._internal_has_raw_input()) { in PhoneNumber()
165 raw_input_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_raw_input(), in PhoneNumber()
169 if (from._internal_has_preferred_domestic_carrier_code()) { in PhoneNumber()
170 preferred_domestic_carrier_code_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_preferred_domestic_carrier_code(), in PhoneNumber()
173 ::memcpy(&national_number_, &from in PhoneNumber()
504 CheckTypeAndMergeFrom( const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) CheckTypeAndMergeFrom() argument
510 MergeFrom(const PhoneNumber& from) MergeFrom() argument
547 CopyFrom(const PhoneNumber& from) CopyFrom() argument
[all...]
/kernel/linux/linux-6.6/arch/csky/lib/
H A Dusercopy.c7 unsigned long raw_copy_from_user(void *to, const void *from, in raw_copy_from_user() argument
69 : "=r"(n), "=r"(to), "=r"(from), "=r"(nsave), in raw_copy_from_user()
71 : "0"(n), "1"(to), "2"(from) in raw_copy_from_user()
78 unsigned long raw_copy_to_user(void *to, const void *from, in raw_copy_to_user() argument
136 : "=r"(n), "=r"(to), "=r"(from), "=r"(w0), in raw_copy_to_user()
138 : "0"(n), "1"(to), "2"(from) in raw_copy_to_user()
/test/xts/acts/security/huks/security_huks_reformed_test/huks_agree_callback_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksECDHBasicAbort63KBCallbackJsunit.test.js16 import { describe, it } from '@ohos/hypium';
17 import * as Data from '../../../../../../../utils/data.json';
18 import { stringToUint8Array } from '../../../../../../../utils/param/publicFunc';
19 import { HuksAgreeECDH } from '../../../../../../../utils/param/agree/publicAgreeParam';
20 import { publicAgreeFunc } from '../../../../../../../utils/param/agree/publicAgreeCallback';
21 import { HksTag } from '../../../../../../../utils/param/publicParam';
/test/xts/acts/security/huks/security_huks_basic/huks_derive_callback_BasicTest/entry/src/ohosTest/js/test/Derive/
H A DSecurityHuksPBKDF2BasicFinish63KBCallbackJsunit.test.js16 import { describe, it } from '@ohos/hypium';
17 import Data from '../../../../../../../utils/data.json';
18 import { HuksDerivePBKDF2 } from '../../../../../../../utils/param/derive/publicDeriveParam';
19 import { stringToUint8Array } from '../../../../../../../utils/param/publicFunc';
20 import { publicDeriveFunc } from '../../../../../../../utils/param/derive/publicDeriveCallback';
21 import { HksTag } from '../../../../../../../utils/param/publicParam';

Completed in 11 milliseconds

1...<<11121314151617181920>>...319