/external/skia/tests/ |
PathOpsOpCubicThreadedTest.cpp | 18 PathOpsThreadState& state = *data; local 28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); 29 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), 34 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), 35 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); 38 if (state.fReporter->verbose()) [all...] |
PathOpsOpRectThreadedTest.cpp | 23 PathOpsThreadState& state = *data; local 33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), 34 SkIntToScalar(state.fB), SkPath::kCW_Direction); 35 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), 36 SkIntToScalar(state.fD), SkPath::kCW_Direction); 45 if (state.fReporter->verbose()) [all...] |
/external/skqp/tests/ |
PathOpsOpCubicThreadedTest.cpp | 18 PathOpsThreadState& state = *data; local 28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); 29 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), 34 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), 35 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); 38 if (state.fReporter->verbose()) [all...] |
PathOpsOpRectThreadedTest.cpp | 23 PathOpsThreadState& state = *data; local 33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), 34 SkIntToScalar(state.fB), SkPath::kCW_Direction); 35 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), 36 SkIntToScalar(state.fD), SkPath::kCW_Direction); 45 if (state.fReporter->verbose()) [all...] |
/external/tensorflow/tensorflow/contrib/solvers/python/ops/ |
linear_equations.py | 76 output: A namedtuple representing the final state with fields: 84 # ephemeral class holding CG state. 87 def stopping_criterion(i, state): 88 return math_ops.logical_and(i < max_iter, linalg_ops.norm(state.r) > tol) 90 def cg_step(i, state): # pylint: disable=missing-docstring 91 z = operator.apply(state.p) 92 alpha = state.gamma / util.dot(state.p, z) 93 x = state.x + alpha * state. [all...] |
/external/vboot_reference/futility/ |
cmd_show.c | 92 int futil_cb_show_pubkey(struct futil_traverse_state_s *state) 94 VbPublicKey *pubkey = (VbPublicKey *)state->my_area->buf; 96 if (!PublicKeyLooksOkay(pubkey, state->my_area->len)) { 97 printf("%s looks bogus\n", state->name); 101 printf("Public Key file: %s\n", state->in_filename); 104 state->my_area->_flags |= AREA_IS_VALID; 108 int futil_cb_show_privkey(struct futil_traverse_state_s *state) 113 key.algorithm = *(typeof(key.algorithm) *)state->my_area->buf; 115 printf("Private Key file: %s\n", state->in_filename); 121 state->my_area->_flags |= AREA_IS_VALID 619 struct futil_traverse_state_s state; local [all...] |
/frameworks/rs/ |
rsProgramStore.cpp | 30 mHal.state.ditherEnable = ditherEnable; 32 mHal.state.colorRWriteEnable = colorMaskR; 33 mHal.state.colorGWriteEnable = colorMaskG; 34 mHal.state.colorBWriteEnable = colorMaskB; 35 mHal.state.colorAWriteEnable = colorMaskA; 36 mHal.state.blendSrc = srcFunc; 37 mHal.state.blendDst = destFunc; 39 mHal.state.depthWriteEnable = depthMask; 40 mHal.state.depthFunc = depthFunc; 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { [all...] |
/external/opencv/cv/src/ |
cvemd.cpp | 121 CvEMDState * state, float *lower_bound, 131 static void icvRussel( CvEMDState * state ); 134 static CvStatus icvNewSolution( CvEMDState * state ); 135 static int icvFindLoop( CvEMDState * state ); 137 static void icvAddBasicVariable( CvEMDState * state, 160 CvEMDState state; local 165 memset( &state, 0, sizeof(state)); 259 &state, lower_bound, local_buffer_ptr, 268 eps = CV_EMD_EPS * state.max_cost [all...] |
/dalvik/libdex/ |
DexSwapVerify.cpp | 68 static inline u4 fileOffset(const CheckState* state, const void* ptr) { 69 return ((const u1*) ptr) - state->fileStart; 75 static inline void* filePointer(const CheckState* state, u4 offset) { 76 return (void*) (state->fileStart + offset); 87 static inline bool checkPtrRange(const CheckState* state, 89 const void* fileStart = state->fileStart; 90 const void* fileEnd = state->fileEnd; 94 fileOffset(state, start), fileOffset(state, end)); 107 * Assumes "const CheckState* state" 2934 CheckState state; local [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
enc_helpers.go | 51 func encBoolArray(state *encoderState, v reflect.Value) bool { 56 return encBoolSlice(state, v.Slice(0, v.Len())) 59 func encBoolSlice(state *encoderState, v reflect.Value) bool { 66 if x != false || state.sendZero { 68 state.encodeUint(1) 70 state.encodeUint(0) 77 func encComplex64Array(state *encoderState, v reflect.Value) bool { 82 return encComplex64Slice(state, v.Slice(0, v.Len())) 85 func encComplex64Slice(state *encoderState, v reflect.Value) bool { 92 if x != 0+0i || state.sendZero [all...] |
/prebuilts/go/linux-x86/src/encoding/gob/ |
enc_helpers.go | 51 func encBoolArray(state *encoderState, v reflect.Value) bool { 56 return encBoolSlice(state, v.Slice(0, v.Len())) 59 func encBoolSlice(state *encoderState, v reflect.Value) bool { 66 if x != false || state.sendZero { 68 state.encodeUint(1) 70 state.encodeUint(0) 77 func encComplex64Array(state *encoderState, v reflect.Value) bool { 82 return encComplex64Slice(state, v.Slice(0, v.Len())) 85 func encComplex64Slice(state *encoderState, v reflect.Value) bool { 92 if x != 0+0i || state.sendZero [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
BaseRecognizer.js | 10 * @param {org.antlr.runtime.RecognizerSharedState} [state] state object with 13 org.antlr.runtime.BaseRecognizer = function(state) { 14 /** State of a lexer, parser, or tree parser are collected into a state 15 * object so the state can be shared. This sharing is needed to 17 * and other state variables. It's a kind of explicit multiple 18 * inheritance via delegation of methods and shared state. 21 this.state = state || new org.antlr.runtime.RecognizerSharedState() [all...] |
/art/runtime/ |
backtrace_helper.h | 41 auto* const state = reinterpret_cast<BacktraceCollector*>(arg); local 44 if (ip != 0 && state->skip_count_ > 0) { 45 --state->skip_count_; 49 state->out_frames_[state->num_frames_] = ip; 50 state->num_frames_++; 51 return state->num_frames_ >= state->max_depth_ ? _URC_END_OF_STACK : _URC_NO_REASON;
|
/developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
Utils.java | 30 String state = Environment.getExternalStorageState(); local 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
StreamRetentionFragment.java | 32 public void storeCardStream(CardStreamState state) { 33 mState = state;
|
/developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
Utils.java | 30 String state = Environment.getExternalStorageState(); local 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
Utils.java | 30 String state = Environment.getExternalStorageState(); local 31 if (!Environment.MEDIA_MOUNTED.equals(state)) {
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
StreamRetentionFragment.java | 32 public void storeCardStream(CardStreamState state) { 33 mState = state;
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
AbstractTParser.java | 35 * and the shared state. 41 * @param state The shared state object created by an interconnectd grammar 43 protected AbstractTParser(TokenStream input, RecognizerSharedState state) { 44 super(input, state);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
NFAConfiguration.java | 32 /** An NFA state, predicted alt, and syntactic/semantic context. 34 * chain used to arrive at the state. The semantic context is 36 * an NFA state. 39 /** The NFA state associated with this configuration */ 40 public int state; field in class:NFAConfiguration 45 /** What is the stack of rule invocations that got us to state? */ 50 * the associated NFA state in this syntactic context. 82 /** Indicates that the NFA state associated with this configuration 89 public NFAConfiguration(int state, 94 this.state = state [all...] |
/external/boringssl/src/crypto/err/ |
internal.h | 32 // ERR_SAVE_STATE_free releases all memory associated with |state|. 33 OPENSSL_EXPORT void ERR_SAVE_STATE_free(ERR_SAVE_STATE *state); 36 // containing the current state of the error queue or NULL on allocation 40 // ERR_restore_state clears the error queue and replaces it with |state|. 41 OPENSSL_EXPORT void ERR_restore_state(const ERR_SAVE_STATE *state);
|
/external/clang/test/SemaCXX/ |
warn-consumed-parsing.cpp | 4 #define CONSUMABLE(state) __attribute__ ((consumable(state))) 5 #define SET_TYPESTATE(state) __attribute__ ((set_typestate(state))) 6 #define RETURN_TYPESTATE(state) __attribute__ ((return_typestate(state))) 7 #define TEST_TYPESTATE(state) __attribute__ ((test_typestate(state))) 14 int returnTypestateForUnconsumable() RETURN_TYPESTATE(consumed); // expected-warning {{return state set for an unconsumable type 'int'}}
|
/external/elfutils/libelf/ |
elf_clone.c | 58 elf->state.elf32.scns.max * sizeof (Elf_Scn)); 65 retval->state.elf.scnincr = 10; 68 assert (offsetof (struct Elf, state.elf32.scns) 69 == offsetof (struct Elf, state.elf64.scns)); 70 retval->state.elf.scns_last = &retval->state.elf32.scns; 71 retval->state.elf32.scns.max = elf->state.elf32.scns.max;
|
/external/guava/guava/src/com/google/common/base/ |
AbstractIterator.java | 32 private State state = State.NOT_READY; field in class:AbstractIterator 36 private enum State { 45 state = State.DONE; 51 checkState(state != State.FAILED); 52 switch (state) { 63 state = State.FAILED; // temporary pessimis [all...] |
/external/guava/guava/src/com/google/common/collect/ |
AbstractIterator.java | 31 * end-of-data status without changing the iterator's state, using the {@link 65 private State state = State.NOT_READY; field in class:AbstractIterator 70 private enum State { 124 state = State.DONE; 130 checkState(state != State.FAILED); 131 switch (state) { [all...] |