/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
H A D | pointer_deleter02.pass.cpp | 39 int state() const {return state_;} function in class:Deleter 53 assert(s.get_deleter().state() == 5); 55 assert(s.get_deleter().state() == 5); 62 assert(s.get_deleter().state() == 5);
|
H A D | pointer_deleter03.pass.cpp | 41 int state() const {return state_;} function in class:Deleter 55 assert(s.get_deleter().state() == 5); 57 assert(s.get_deleter().state() == 6);
|
H A D | pointer_deleter04.pass.cpp | 41 int state() const {return state_;} function in class:Deleter 55 assert(s.get_deleter().state() == 5);
|
H A D | pointer_deleter05.fail.cpp | 49 int state() const {return state_;} function in class:Deleter
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
H A D | move03.fail.cpp | 39 int state() const {return state_;} function in class:Deleter
|
H A D | move04.fail.cpp | 39 int state() const {return state_;} function in class:Deleter
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | PR22806_constrain_tuple_like_ctor.pass.cpp | 39 State state; member in struct:ConstructibleFromTupleAndInt 41 ConstructibleFromTupleAndInt(ConstructibleFromTupleAndInt const&) : state(Copied) {} 42 ConstructibleFromTupleAndInt(ConstructibleFromTupleAndInt &&) : state(Moved) {} 45 explicit ConstructibleFromTupleAndInt(Tuple&&) : state(FromTuple) {} 47 explicit ConstructibleFromTupleAndInt(int) : state(FromInt) {} 52 State state; member in struct:ConvertibleFromTupleAndInt 54 ConvertibleFromTupleAndInt(ConvertibleFromTupleAndInt const&) : state(Copied) {} 55 ConvertibleFromTupleAndInt(ConvertibleFromTupleAndInt &&) : state(Moved) {} 58 ConvertibleFromTupleAndInt(Tuple&&) : state(FromTuple) {} 60 ConvertibleFromTupleAndInt(int) : state(FromIn 65 State state; member in struct:ConstructibleFromInt 75 State state; member in struct:ConvertibleFromInt [all...] |
/external/libcxx/test/support/ |
H A D | tracked_value.h | 16 State state; member in struct:TrackedValue 18 TrackedValue() : state(State::CONSTRUCTED) {} 20 TrackedValue(TrackedValue const& t) : state(State::CONSTRUCTED) { 21 assert(t.state != State::MOVED_FROM && "copying a moved-from object"); 22 assert(t.state != State::DESTROYED && "copying a destroyed object"); 26 TrackedValue(TrackedValue&& t) : state(State::CONSTRUCTED) { 27 assert(t.state != State::MOVED_FROM && "double moving from an object"); 28 assert(t.state != State::DESTROYED && "moving from a destroyed object"); 29 t.state = State::MOVED_FROM; 34 assert(state ! [all...] |
/external/libcxx/utils/google-benchmark/test/ |
H A D | map_test.cc | 19 static void BM_MapLookup(benchmark::State& state) { argument 20 const int size = state.range(0); 21 while (state.KeepRunning()) { 22 state.PauseTiming(); 24 state.ResumeTiming(); 29 state.SetItemsProcessed(state.iterations() * size); 45 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) { 46 const int size = state.range(0); 47 while (state [all...] |
H A D | multiple_ranges_test.cc | 29 void SetUp(const ::benchmark::State& state) { argument 30 std::vector<int> ranges = {state.range(0), state.range(1), state.range(2)}; 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 46 while (state.KeepRunning()) { 47 int product = state.range(0) * state.range(1) * state.range(2); 59 void BM_CheckDefaultArgument(benchmark::State& state) { argument [all...] |
/external/libmojo/mojo/edk/system/ |
H A D | watcher_set.cc | 17 void WatcherSet::NotifyForStateChange(const HandleSignalsState& state) { argument 19 entry.second->NotifyForStateChange(state);
|
/external/libmojo/mojo/public/c/system/tests/ |
H A D | core_unittest_pure_c.c | 81 struct MojoHandleSignalsState state; local 83 MOJO_DEADLINE_INDEFINITE, &state)); 86 state.satisfied_signals); 89 state.satisfiable_signals);
|
/external/libnl/src/lib/ |
H A D | neigh.c | 79 int state; local 81 if ((state = rtnl_neigh_str2state(arg)) < 0) 82 nl_cli_fatal(state, "Unable to translate state \"%s\": %s", 83 arg, state); 85 rtnl_neigh_set_state(neigh, state);
|
/external/libopus/silk/float/ |
H A D | warped_autocorrelation_FLP.c | 45 double state[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; local 57 tmp2 = state[ i ] + warping * ( state[ i + 1 ] - tmp1 ); 58 state[ i ] = tmp1; 59 C[ i ] += state[ 0 ] * tmp1; 61 tmp1 = state[ i + 1 ] + warping * ( state[ i + 2 ] - tmp2 ); 62 state[ i + 1 ] = tmp2; 63 C[ i + 1 ] += state[ 0 ] * tmp2; 65 state[ orde [all...] |
/external/libopus/silk/ |
H A D | stereo_MS_to_LR.c | 36 stereo_dec_state *state, /* I/O State */ 48 silk_memcpy( x1, state->sMid, 2 * sizeof( opus_int16 ) ); 49 silk_memcpy( x2, state->sSide, 2 * sizeof( opus_int16 ) ); 50 silk_memcpy( state->sMid, &x1[ frame_length ], 2 * sizeof( opus_int16 ) ); 51 silk_memcpy( state->sSide, &x2[ frame_length ], 2 * sizeof( opus_int16 ) ); 54 pred0_Q13 = state->pred_prev_Q13[ 0 ]; 55 pred1_Q13 = state->pred_prev_Q13[ 1 ]; 57 delta0_Q13 = silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 0 ] - state->pred_prev_Q13[ 0 ], denom_Q16 ), 16 ); 58 delta1_Q13 = silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 1 ] - state->pred_prev_Q13[ 1 ], denom_Q16 ), 16 ); 75 state 35 silk_stereo_MS_to_LR( stereo_dec_state *state, opus_int16 x1[], opus_int16 x2[], const opus_int32 pred_Q13[], opus_int fs_kHz, opus_int frame_length ) argument [all...] |
/external/libpng/contrib/arm-neon/ |
H A D | linux.c | 31 /* This is a simple state machine which reads the input byte-by-byte until 40 } state; local 43 for (state=StartLine, counter=0;;) 56 switch (state) 64 state = Feature; 72 state = Colon; 77 state = SkipLine; 86 state = StartLine; 96 state = StartTag; 103 state [all...] |
/external/lzma/C/ |
H A D | Bra86.c | 10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding)
argument 13 UInt32 mask = *state & 7;
32 *state = (d > 2 ? 0 : mask >> (unsigned)d);
|
H A D | Delta.c | 8 void Delta_Init(Byte *state)
argument 12 state[i] = 0;
22 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size)
argument 26 MyMemCpy(buf, state, delta);
41 MyMemCpy(state, buf + j, delta - j);
42 MyMemCpy(state + delta - j, buf, j);
45 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size)
argument 49 MyMemCpy(buf, state, delta);
62 MyMemCpy(state, buf + j, delta - j);
63 MyMemCpy(state [all...] |
H A D | Lzma2Dec.h | 18 unsigned state;
member in struct:__anon14136
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/ |
H A D | CRC32.java | 13 private final java.util.zip.CRC32 state = new java.util.zip.CRC32(); field in class:CRC32 21 state.update(buf, off, len); 25 long value = state.getValue(); 30 state.reset();
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_constant_initializers.c | 28 deref_apply_constant_initializer(nir_deref_var *deref, void *state) argument 30 struct nir_builder *b = state;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs_llvm.c | 78 FREE((void*) dvs->state.tokens); 85 const struct pipe_shader_state *state) 93 vs->base.state.tokens = tgsi_dup_tokens(state->tokens); 94 if (!vs->base.state.tokens) { 99 tgsi_scan_shader(state->tokens, &vs->base.info); 107 vs->base.state.stream_output = state->stream_output; 84 draw_create_vs_llvm(struct draw_context *draw, const struct pipe_shader_state *state) argument
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
H A D | translate_cache.c | 57 struct translate *state = (struct translate*)cso_hash_iter_data(iter); local 59 if (state) { 60 state->release(state);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_rasterizer.c | 41 * This function is used to turn that state off in one of the two 63 /* Partition rasterizer state into what we want the draw module to 66 struct lp_rast_state *state = MALLOC_STRUCT(lp_rast_state); local 67 if (!state) 70 memcpy(&state->draw_state, rast, sizeof *rast); 71 memcpy(&state->lp_state, rast, sizeof *rast); 89 * the state. 92 clear_flags(&state->lp_state); 94 clear_flags(&state->draw_state); 96 return state; 105 const struct lp_rast_state *state = local [all...] |
/external/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_encode.h | 47 static inline void virgl_encoder_write_dword(struct virgl_cmd_buf *state, argument 50 state->buf[state->cdw++] = dword; 53 static inline void virgl_encoder_write_qword(struct virgl_cmd_buf *state, argument 56 memcpy(state->buf + state->cdw, &qword, sizeof(uint64_t)); 57 state->cdw += 2; 60 static inline void virgl_encoder_write_block(struct virgl_cmd_buf *state, argument 64 memcpy(state->buf + state [all...] |