/external/lzma/C/ |
Delta.h | 13 void Delta_Init(Byte *state);
14 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
15 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
/external/nist-sip/java/javax/sip/ |
DialogState.java | 12 public static DialogState getObject(int state) { 14 return values()[state]; 17 "Invalid dialog state: " + state);
|
/external/python/cpython2/Modules/zlib/ |
gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/external/python/cpython3/Modules/zlib/ |
gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/external/tensorflow/tensorflow/core/util/ctc/ |
ctc_beam_scorer.h | 40 // State initialization. 43 // Called at most once per child beam. In the simplest case, no state 48 // allow a final scoring of the beam in its current state, before resorting 50 virtual void ExpandStateEnd(CTCBeamState* state) const {} 57 // there's no state expansion logic, the expansion score is zero. 58 virtual float GetStateExpansionScore(const CTCBeamState& state, 67 virtual float GetStateEndExpansionScore(const CTCBeamState& state) const {
|
/external/zlib/src/ |
gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
sid_sync.cpp | 46 Description: Changed type definition of state pointer to 'void' for 107 state = pointer containing a pointer to the state structure used for 114 return_value = status of sid_sync_reset function; -1, if state is pointing 127 the pointer to state struct in *st. This pointer has to be passed to sid_sync 161 [State any special notes, constraints or cautions for users of this function] 166 Word16 sid_sync_init(void **state) 170 if (state == NULL) 172 /* fprintf(stderr, "sid_sync_init:invalid state parameter\n"); */ 176 *state = NULL 260 sid_syncState *state = (sid_syncState *) st; local [all...] |
/libcore/ojluni/src/main/java/java/util/ |
TimerTask.java | 43 * The state of this task, chosen from the constants below. 45 int state = VIRGIN; field in class:TimerTask 118 boolean result = (state == SCHEDULED); 119 state = CANCELLED;
|
/prebuilts/misc/windows/sdl2/test/ |
testrelative.c | 22 static SDLTest_CommonState *state; variable 42 state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO); 43 if (!state) { 47 SDLTest_CommonArg(state, i); 49 if (!SDLTest_CommonInit(state)) { 54 for (i = 0; i < state->num_windows; ++i) { 55 SDL_Renderer *renderer = state->renderers[i]; 75 SDLTest_CommonEvent(state, &event, &done); 85 for (i = 0; i < state->num_windows; ++i) { 86 SDL_Renderer *renderer = state->renderers[i] [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
map_test.cc | 19 static void BM_MapLookup(benchmark::State& state) { 20 const int size = state.range(0); 21 while (state.KeepRunning()) { 22 state.PauseTiming(); 24 state.ResumeTiming(); 29 state.SetItemsProcessed(state.iterations() * size); 36 void SetUp(const ::benchmark::State& st) { 40 void TearDown(const ::benchmark::State&) { m.clear(); [all...] |
benchmark_test.cc | 54 static void BM_Factorial(benchmark::State& state) { 56 while (state.KeepRunning()) fac_42 = Factorial(8); 60 state.SetLabel(ss.str()); 65 static void BM_CalculatePiRange(benchmark::State& state) { 67 while (state.KeepRunning()) pi = CalculatePi(state.range(0)); 70 state.SetLabel(ss.str()); 74 static void BM_CalculatePi(benchmark::State& state) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
IGLPropertyAccessor.java | 17 package com.android.ide.eclipse.gltrace.state.transforms; 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 26 /** Obtain a specific property from the given state. */ 27 IGLProperty getProperty(IGLProperty state);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
IStateDetailProvider.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 22 /** Is this provider applicable for given GL state property? */ 23 boolean isApplicable(IGLProperty state); 25 /** Update the detail view for given GL state property. */ 26 void updateControl(IGLProperty state);
|
TextureImageDetailsProvider.java | 19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty; 20 import com.android.ide.eclipse.gltrace.state.GLSparseArrayProperty; 21 import com.android.ide.eclipse.gltrace.state.GLStateType; 22 import com.android.ide.eclipse.gltrace.state.GLStringProperty; 23 import com.android.ide.eclipse.gltrace.state.IGLProperty; 45 public boolean isApplicable(IGLProperty state) { 46 return getTextureImageProperty(state) != null; 74 public void updateControl(IGLProperty state) { 75 IGLProperty imageProperty = getTextureImageProperty(state); 90 * the state hierarchy [all...] |
/toolchain/binutils/binutils-2.27/zlib/ |
gzclose.c | 15 gz_statep state; local 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/external/wpa_supplicant_8/src/crypto/ |
fips_prf_openssl.c | 16 static void sha1_transform(u32 *state, const u8 data[64]) 21 context.h[0] = state[0]; 22 context.h[1] = state[1]; 23 context.h[2] = state[2]; 24 context.h[3] = state[3]; 25 context.h[4] = state[4]; 27 state[0] = context.h[0]; 28 state[1] = context.h[1]; 29 state[2] = context.h[2]; 30 state[3] = context.h[3] [all...] |
/libcore/luni/src/benchmark/native/ |
libcore_io_Memory_bench.cpp | 23 void swap_bench(benchmark::State& state, void (*swap_func)(T*, const T*, size_t)) { 24 size_t num_elements = state.range(0); 48 while (state.KeepRunning()) { 61 static void BM_swapShorts_aligned(benchmark::State& state) { 62 swap_bench<jshort, 0>(state, swapShorts); 66 static void BM_swapInts_aligned(benchmark::State& state) { 67 swap_bench<jint, 0>(state, swapInts) [all...] |
/external/deqp/framework/randomshaders/ |
rsgExpression.hpp | 56 virtual Expression* createNextChild (GeneratorState& state) = DE_NULL; 57 virtual void tokenize (GeneratorState& state, TokenStream& str) const = DE_NULL; 64 static Expression* createRandom (GeneratorState& state, ConstValueRangeAccess valueRange); 65 static Expression* createRandomLValue (GeneratorState& state, ConstValueRangeAccess valueRange); 73 Expression* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } 74 void tokenize (GeneratorState& state, TokenStream& str) const { DE_UNREF(state); str << Token(m_variable->getName()); } 90 VariableRead (GeneratorState& state, ConstValueRangeAccess valueRange); 94 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) [all...] |
rsgStatement.cpp | 38 inline bool isCurrentTopStatementBlock (const GeneratorState& state) 40 int stackDepth = state.getStatementDepth(); 41 return dynamic_cast<const BlockStatement*>(state.getStatementStackEntry(stackDepth-1)) != DE_NULL; 44 template <class T> float getWeight (const GeneratorState& state) { return T::getWeight(state); } 45 template <class T> Statement* create (GeneratorState& state) { return new T(state); } 49 float (*getWeight) (const GeneratorState& state); 50 Statement* (*create) (GeneratorState& state); 53 const StatementSpec* chooseStatement (GeneratorState& state) [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_gs_intrinsics.c | 56 struct state { struct 71 rewrite_emit_vertex(nir_intrinsic_instr *intrin, struct state *state) 73 nir_builder *b = state->builder; 77 nir_ssa_def *count = nir_load_var(b, state->vertex_count_var); 102 nir_store_var(b, state->vertex_count_var, 108 state->progress = true; 115 rewrite_end_primitive(nir_intrinsic_instr *intrin, struct state *state) 117 nir_builder *b = state->builder 189 struct state state; local [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
ParcelPerfTest.java | 57 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 58 while (state.keepRunning()) { 65 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 66 while (state.keepRunning()) { 73 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 74 while (state.keepRunning()) { 81 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 82 while (state.keepRunning()) { 89 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 90 while (state.keepRunning()) 97 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 105 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 115 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 124 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 134 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 143 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 153 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 169 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 200 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 219 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local [all...] |
/external/speex/libspeex/ |
speex.c | 61 EXPORT void speex_encoder_destroy(void *state) 63 (*((SpeexMode**)state))->enc_destroy(state); 66 EXPORT void speex_decoder_destroy(void *state) 68 (*((SpeexMode**)state))->dec_destroy(state); 73 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits) 75 return (*((SpeexMode**)state))->enc(state, in, bits); 78 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out [all...] |
/external/expat/xmlwf/ |
xmlmime.c | 41 int state = init; local 46 if (state == inAtom) 53 if (state == inAtom) 57 if (state == inAtom) 59 if (state != inString) 60 state++; 63 if (state > init) 64 --state; 65 else if (state != inString) 71 if (state == inAtom [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_nir_intrinsics.c | 40 read_thread_local_id(struct lower_intrinsics_state *state) 42 nir_builder *b = &state->builder; 43 nir_shader *nir = state->nir; 53 assert(state->cs_prog_data->thread_local_id_index >= 0); 54 state->cs_thread_id_used = true; 55 const int id_index = state->cs_prog_data->thread_local_id_index; 69 lower_cs_intrinsics_convert_block(struct lower_intrinsics_state *state, 73 nir_builder *b = &state->builder; 74 nir_shader *nir = state->nir; 93 nir_ssa_def *thread_local_id = read_thread_local_id(state); 166 struct lower_intrinsics_state state; local [all...] |
/bionic/benchmarks/ |
atomic_benchmark.cpp | 48 void BM_atomic_empty(benchmark::State& state) { 49 while (state.KeepRunning()) { 55 static void BM_atomic_load_relaxed(benchmark::State& state) { 57 while (state.KeepRunning()) { 65 static void BM_atomic_load_acquire(benchmark::State& state) { 67 while (state.KeepRunning()) { 75 static void BM_atomic_store_release(benchmark::State& state) [all...] |