Home
last modified time | relevance | path

Searched refs:initialState (Results 1 – 25 of 41) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DconditionalTypeBasedContextualTypeReturnTypeWidening.types2 declare function useState1<S>(initialState: (S extends (() => any) ? never : S) | (() => S)): S; //…
3 >useState1 : <S>(initialState: (S extends (() => any) ? never : S) | (() => S)) => S
4 >initialState : (S extends () => any ? never : S) | (() => S)
6 declare function useState2<S>(initialState: (S extends ((...args: any[]) => any) ? never : S) | (()…
7 >useState2 : <S>(initialState: (S extends (...args: any[]) => any ? never : S) | (() => S)) => S
8 >initialState : (S extends (...args: any[]) => any ? never : S) | (() => S)
14 >useState1 : <S>(initialState: (S extends () => any ? never : S) | (() => S)) => S
22 >useState2 : <S>(initialState: (S extends (...args: any[]) => any ? never : S) | (() => S)) => S
27 declare function useState3<S, T extends S>(initialState: (T extends (() => any) ? never : T) | (() …
28 >useState3 : <S, T extends S>(initialState: (T extends (() => any) ? never : T) | (() => S)) => S
[all …]
DconditionalTypeBasedContextualTypeReturnTypeWidening.symbols2 declare function useState1<S>(initialState: (S extends (() => any) ? never : S) | (() => S)): S; //…
5 >initialState : Symbol(initialState, Decl(conditionalTypeBasedContextualTypeReturnTypeWidening.ts, …
11 declare function useState2<S>(initialState: (S extends ((...args: any[]) => any) ? never : S) | (()…
14 >initialState : Symbol(initialState, Decl(conditionalTypeBasedContextualTypeReturnTypeWidening.ts, …
29 declare function useState3<S, T extends S>(initialState: (T extends (() => any) ? never : T) | (() …
34 >initialState : Symbol(initialState, Decl(conditionalTypeBasedContextualTypeReturnTypeWidening.ts, …
40 declare function useState4<S, T extends S>(initialState: (T extends ((...args: any[]) => any) ? nev…
45 >initialState : Symbol(initialState, Decl(conditionalTypeBasedContextualTypeReturnTypeWidening.ts, …
DconditionalTypeBasedContextualTypeReturnTypeWidening.js2 declare function useState1<S>(initialState: (S extends (() => any) ? never : S) | (() => S)): S; //…
3 declare function useState2<S>(initialState: (S extends ((...args: any[]) => any) ? never : S) | (()…
8 declare function useState3<S, T extends S>(initialState: (T extends (() => any) ? never : T) | (() …
9 declare function useState4<S, T extends S>(initialState: (T extends ((...args: any[]) => any) ? nev…
DargumentsUsedInObjectLiteralProperty.types5 public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
6 >createSelectableViewModel : (initialState?: any, selectedValue?: any) => { selectedValue: number; }
7 >initialState : any
DargumentsUsedInObjectLiteralProperty.symbols5 public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
7 >initialState : Symbol(initialState, Decl(argumentsUsedInObjectLiteralProperty.ts, 1, 44))
DcircularResolvedSignature.types2 declare function useState<S>(initialState: (() => S)): [S, (s: S) => void];
3 >useState : <S>(initialState: (() => S)) => [S, (s: S) => void]
4 >initialState : () => S
30 >useState : <S>(initialState: () => S) => [S, (s: S) => void]
DargumentsUsedInObjectLiteralProperty.js3 public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
14 A.createSelectableViewModel = function (initialState, selectedValue) { argument
DcircularResolvedSignature.symbols2 declare function useState<S>(initialState: (() => S)): [S, (s: S) => void];
5 >initialState : Symbol(initialState, Decl(circularResolvedSignature.ts, 0, 29))
DcircularResolvedSignature.js2 declare function useState<S>(initialState: (() => S)): [S, (s: S) => void];
/third_party/typescript/tests/cases/compiler/
DconditionalTypeBasedContextualTypeReturnTypeWidening.ts1 declare function useState1<S>(initialState: (S extends (() => any) ? never : S) | (() => S)): S; //…
2 declare function useState2<S>(initialState: (S extends ((...args: any[]) => any) ? never : S) | (()…
7 declare function useState3<S, T extends S>(initialState: (T extends (() => any) ? never : T) | (() …
8 declare function useState4<S, T extends S>(initialState: (T extends ((...args: any[]) => any) ? nev…
DargumentsUsedInObjectLiteralProperty.ts2 public static createSelectableViewModel(initialState?: any, selectedValue?: any) {
DcircularResolvedSignature.ts1 declare function useState<S>(initialState: (() => S)): [S, (s: S) => void];
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioOutputStreamOpenSLES.cpp284 StreamState initialState = getState(); in requestStart() local
285 switch (initialState) { in requestStart()
312 setState(initialState); in requestStart()
322 StreamState initialState = getState(); in requestPause() local
323 switch (initialState) { in requestPause()
343 setState(initialState); in requestPause()
379 StreamState initialState = getState(); in requestStop() local
380 switch (initialState) { in requestStop()
408 setState(initialState); in requestStop()
DAudioInputStreamOpenSLES.cpp254 StreamState initialState = getState(); in requestStart() local
255 switch (initialState) { in requestStart()
277 setState(initialState); in requestStart()
299 StreamState initialState = getState(); in requestStop() local
300 switch (initialState) { in requestStop()
317 setState(initialState); in requestStop()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Devent.h44 bool initialState = false,
109 bool initialState);
131 Event::Shared::Shared(Allocator* allocator, Mode mode, bool initialState) in Shared() argument
132 : cv(allocator), mode(mode), signalled(initialState) {} in Shared()
185 bool initialState /* = false */, in Event() argument
187 : shared(allocator->make_shared<Shared>(allocator, mode, initialState)) {} in Event()
/third_party/openh264/codec/decoder/core/src/
Dwels_decoder_thread.cpp83 int EventCreate (SWelsDecEvent* e, int manualReset, int initialState) { in EventCreate() argument
84 e->h = CreateEvent (NULL, manualReset, initialState, NULL); in EventCreate()
85 e->isSignaled = initialState; in EventCreate()
154 int EventCreate (SWelsDecEvent* e, int manualReset, int initialState) { in EventCreate() argument
160 e->isSignaled = initialState; in EventCreate()
/third_party/skia/src/gpu/d3d/
DGrD3DTextureResource.cpp32 D3D12_RESOURCE_STATES initialState, in InitTextureResourceInfo() argument
48 D3D12_HEAP_TYPE_DEFAULT, &desc, initialState, &info->fAlloc, clearValue); in InitTextureResourceInfo()
53 info->fResourceState = initialState; in InitTextureResourceInfo()
/third_party/parse5/test/utils/
Dgenerate-tokenization-tests.ts103 tokenizer.state = testData.initialState;
160 initialState: Tokenizer['state']; property
205 initialState: getTokenizerSuitableStateName(initialStateName),
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkSemaphoreExternalLinux.hpp139 VkResult init(bool initialState) override in init() argument
153 if(!mapRegion(size, true, initialState)) in init()
DVkTimelineSemaphore.cpp93 TimelineSemaphore::Shared::Shared(marl::Allocator *allocator, uint64_t initialState) in Shared() argument
95 , counter(initialState) in Shared()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferObjectQueryTests.cpp463 StateQueryMemoryWriteGuard<GLvoid*> initialState; in test() local
464 glGetBufferPointerv(GL_ARRAY_BUFFER, GL_BUFFER_MAP_POINTER, &initialState); in test()
465 initialState.verifyValidity(m_testCtx); in test()
466 checkPointerEquals(m_testCtx, initialState, 0); in test()
/third_party/icu/icu4c/source/test/cintltst/
Dcdtdptst.c368 UBool initialState = true; in TestBooleanAttributes() local
380 initialState = udat_getBooleanAttribute(en, UDAT_PARSE_ALLOW_NUMERIC, &status); in TestBooleanAttributes()
381 …if(initialState != true) switchedState = true; // if it wasn't the default of true, then flip wha… in TestBooleanAttributes()
/third_party/node/deps/icu-small/source/common/
Drbbitblb.cpp571 RBBIStateDescriptor *initialState = nullptr; in buildStateTable() local
594 initialState = new RBBIStateDescriptor(lastInputSymbol, fStatus); in buildStateTable()
595 if (initialState == nullptr) { in buildStateTable()
601 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
602 if (initialState->fPositions == nullptr) { in buildStateTable()
608 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
609 fDStates->addElement(initialState, *fStatus); in buildStateTable()
700 delete initialState; in buildStateTable()
/third_party/skia/third_party/externals/icu/source/common/
Drbbitblb.cpp570 RBBIStateDescriptor *initialState = NULL; in buildStateTable() local
593 initialState = new RBBIStateDescriptor(lastInputSymbol, fStatus); in buildStateTable()
594 if (initialState == NULL) { in buildStateTable()
600 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
601 if (initialState->fPositions == NULL) { in buildStateTable()
607 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
608 fDStates->addElement(initialState, *fStatus); in buildStateTable()
699 delete initialState; in buildStateTable()
/third_party/icu/icu4c/source/common/
Drbbitblb.cpp571 RBBIStateDescriptor *initialState = NULL; in buildStateTable() local
594 initialState = new RBBIStateDescriptor(lastInputSymbol, fStatus); in buildStateTable()
595 if (initialState == NULL) { in buildStateTable()
601 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
602 if (initialState->fPositions == NULL) { in buildStateTable()
608 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
609 fDStates->addElement(initialState, *fStatus); in buildStateTable()
700 delete initialState; in buildStateTable()

12