/external/expat/xmlwf/ |
H A D | ct.c | 7 int state = init; local 17 if (state == inAtom) 21 if (state == inAtom) 23 if (state != inString) 24 state++; 27 if (state > init) 28 --state; 29 else if (state != inString) 35 if (state == inAtom) 37 if (state [all...] |
/external/dhcpcd/ |
H A D | arp.c | 84 if ((iface->state->offer != NULL && 85 iface->state->offer->cookie != htonl(MAGIC_COOKIE)) || 86 (iface->state->new != NULL && 87 iface->state->new->cookie != htonl(MAGIC_COOKIE))) 94 if (!iface->state->lease.frominfo) 98 if (iface->state->lease.frominfo) 114 struct if_state *state = iface->state; local 115 struct if_options *opts = state->options; 119 state 204 struct if_state *state = iface->state; local 249 struct if_state *state = iface->state; local [all...] |
H A D | ipv4ll.c | 92 iface->state->probes = 0; 93 iface->state->claims = 0; 95 iface->state->conflicts = 0; 102 if (iface->state->offer == NULL) 105 addr = iface->state->offer->yiaddr; 106 free(iface->state->offer); 115 iface->state->offer = find_ipv4ll_lease(addr); 117 iface->state->offer = make_ipv4ll_lease(addr); 118 iface->state->lease.frominfo = 0; 128 if (iface->state [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 59 const ProgramState *SimpleConstraintManager::assume(const ProgramState *state, argument 63 return assume(state, cast<NonLoc>(Cond), Assumption); 65 return assume(state, cast<Loc>(Cond), Assumption); 68 const ProgramState *SimpleConstraintManager::assume(const ProgramState *state, Loc cond, argument 70 state = assumeAux(state, cond, assumption); 71 return SU.processAssume(state, cond, assumption); 74 const ProgramState *SimpleConstraintManager::assumeAux(const ProgramState *state, argument 77 BasicValueFactory &BasicVals = state->getBasicVals(); 82 return state; 116 assume(const ProgramState *state, NonLoc cond, bool assumption) argument 138 assumeAux(const ProgramState *state, NonLoc Cond, bool Assumption) argument 205 assumeSymRel(const ProgramState *state, const SymExpr *LHS, BinaryOperator::Opcode op, const llvm::APSInt& Int) argument [all...] |
H A D | SimpleConstraintManager.h | 36 const ProgramState *assume(const ProgramState *state, DefinedSVal Cond, 39 const ProgramState *assume(const ProgramState *state, Loc Cond, bool Assumption); 41 const ProgramState *assume(const ProgramState *state, NonLoc Cond, bool Assumption); 43 const ProgramState *assumeSymRel(const ProgramState *state, 56 virtual const ProgramState *assumeSymNE(const ProgramState *state, SymbolRef sym, 60 virtual const ProgramState *assumeSymEQ(const ProgramState *state, SymbolRef sym, 64 virtual const ProgramState *assumeSymLT(const ProgramState *state, SymbolRef sym, 68 virtual const ProgramState *assumeSymGT(const ProgramState *state, SymbolRef sym, 72 virtual const ProgramState *assumeSymLE(const ProgramState *state, SymbolRef sym, 76 virtual const ProgramState *assumeSymGE(const ProgramState *state, SymbolRe [all...] |
/external/elfutils/libelf/ |
H A D | elf_end.c | 59 free (elf->state.ar.ar_sym); 60 elf->state.ar.ar_sym = NULL; 62 if (elf->state.ar.children != NULL) 73 state of REF_COUNT==0 is handled all over the library, so 79 if (parent->state.ar.children == elf) 80 parent->state.ar.children = elf->next; 83 struct Elf *child = parent->state.ar.children; 98 if (elf->state.ar.long_names != NULL) 99 free (elf->state.ar.long_names); 105 || (offsetof (struct Elf, state [all...] |
H A D | elf_newscn.c | 43 assert (offsetof (Elf, state.elf.scns_last) 44 == offsetof (Elf, state.elf32.scns_last)); 45 assert (offsetof (Elf, state.elf.scns_last) 46 == offsetof (Elf, state.elf64.scns_last)); 47 assert (offsetof (Elf, state.elf32.scns) 48 == offsetof (Elf, state.elf64.scns)); 53 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) 55 result = &elf->state.elf.scns_last->data[elf->state [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | reweight.h | 31 // distributive when reweighting towards the initial state and right 34 // An arc of weight w, with an origin state of potential p and 35 // destination state of potential q, is reweighted by p\wq when 36 // reweighting towards the initial state and by pw/q when reweighting 54 LOG(FATAL) << "Reweight: Reweighting to the initial state requires " 61 typename Arc::StateId state = sit.Value(); local 62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); 66 if ((potential[state] == Weight::Zero()) || 70 && (potential[state] != Weight::Zero())) 72 potential[state], DIVIDE_LEF 90 typename Arc::StateId state = fst->Start(); local 111 typename Arc::StateId state = fst->AddState(); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 43 void checkLiveSymbols(const ProgramState *state, SymbolReaper &SR) const; 45 bool wantsRegionChangeUpdate(const ProgramState *state) const; 48 checkRegionChanges(const ProgramState *state, 61 const ProgramState *state, 100 const ProgramState *state, SVal V, QualType Ty); 102 static const ProgramState *setCStringLength(const ProgramState *state, 106 const ProgramState *&state, 111 const ProgramState *&state, 117 const ProgramState *&state, 122 const ProgramState *state, 147 CheckBufferAccess(CheckerContext &C, const ProgramState *state, const Expr *Size, const Expr *Buf, const char *message = NULL, bool WarnAboutSize = false) const argument 194 assumeZero(CheckerContext &C, const ProgramState *state, SVal V, QualType Ty) argument 205 checkNonNull(CheckerContext &C, const ProgramState *state, const Expr *S, SVal l) const argument 245 CheckLocation(CheckerContext &C, const ProgramState *state, const Expr *S, SVal l, const char *warningMsg) const argument 318 CheckBufferAccess(CheckerContext &C, const ProgramState *state, const Expr *Size, const Expr *FirstBuf, const Expr *SecondBuf, const char *firstMessage, const char *secondMessage, bool WarnAboutSize) const argument 390 CheckOverlap(CheckerContext &C, const ProgramState *state, const Expr *Size, const Expr *First, const Expr *Second) const argument 501 emitOverlapBug(CheckerContext &C, const ProgramState *state, const Stmt *First, const Stmt *Second) const argument 520 checkAdditionOverflow(CheckerContext &C, const ProgramState *state, NonLoc left, NonLoc right) const argument 588 setCStringLength(const ProgramState *state, const MemRegion *MR, SVal strLength) argument 628 getCStringLengthForRegion(CheckerContext &C, const ProgramState *&state, const Expr *Ex, const MemRegion *MR, bool hypothetical) argument 653 getCStringLength(CheckerContext &C, const ProgramState *&state, const Expr *Ex, SVal Buf, bool hypothetical) const argument 747 getCStringLiteral(CheckerContext &C, const ProgramState *&state, const Expr *expr, SVal val) const argument 767 InvalidateBuffer(CheckerContext &C, const ProgramState *state, const Expr *E, SVal V) argument 839 evalCopyCommon(CheckerContext &C, const CallExpr *CE, const ProgramState *state, const Expr *Size, const Expr *Dest, const Expr *Source, bool Restricted, bool IsMempcpy) const argument 943 const ProgramState *state = C.getState(); local 952 const ProgramState *state = C.getState(); local 961 const ProgramState *state = C.getState(); local 980 const ProgramState *state = C.getState(); local 1055 const ProgramState *state = C.getState(); local 1220 const ProgramState *state = C.getState(); local 1543 const ProgramState *state = C.getState(); local 1669 const ProgramState *state = C.getState(); local 1718 const ProgramState *state = C.getState(); local 1758 checkRegionChanges(const ProgramState *state, const StoreManager::InvalidatedSymbols *, ArrayRef<const MemRegion *> ExplicitRegions, ArrayRef<const MemRegion *> Regions) const argument 1809 checkLiveSymbols(const ProgramState *state, SymbolReaper &SR) const argument 1829 const ProgramState *state = C.getState(); local [all...] |
/external/antlr/src/org/antlr/runtime/ |
H A D | Lexer.java | 46 public Lexer(CharStream input, RecognizerSharedState state) { argument 47 super(state); 52 super.reset(); // reset all recognizer state variables 53 // wack Lexer state variables 57 if ( state==null ) { 58 return; // no shared state work to do 60 state.token = null; 61 state.type = Token.INVALID_TOKEN_TYPE; 62 state.channel = Token.DEFAULT_CHANNEL; 63 state [all...] |
/external/libnfc-nxp/src/ |
H A D | phLlcNfc_StateMachine.c | 19 * \brief Llc state machine implemenatation. 63 switch(psLlcCtxt->state) 70 psLlcCtxt->state = changeStateTo; 79 psLlcCtxt->state = changeStateTo; 88 psLlcCtxt->state = changeStateTo; 97 psLlcCtxt->state = changeStateTo; 107 psLlcCtxt->state = changeStateTo; 117 psLlcCtxt->state = changeStateTo; 126 psLlcCtxt->state = changeStateTo; 133 psLlcCtxt->state [all...] |
/external/chromium/net/tools/flip_server/ |
H A D | spdy_ssl.cc | 26 void InitSSL(SSLState* state, argument 38 state->ssl_method = SSLv23_method(); 39 state->ssl_ctx = SSL_CTX_new(state->ssl_method); 40 if (!state->ssl_ctx) { 45 SSL_CTX_set_options(state->ssl_ctx, 47 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 52 if (SSL_CTX_use_PrivateKey_file(state->ssl_ctx, 58 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 63 SSL_CTX_set_next_protos_advertised_cb(state [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
H A D | preparechangelog.py | 47 def _ensure_bug_url(self, state): 48 if not state.get("bug_id"): 50 bug_id = state.get("bug_id") 51 changelogs = self.cached_lookup(state, "changelogs") 56 self.cached_lookup(state, "bug_title"), 59 def run(self, state): 60 if self.cached_lookup(state, "changelogs"): 61 self._ensure_bug_url(state) 65 if state.get("bug_id"): 66 args.append("--bug=%s" % state["bug_i [all...] |
/external/zlib/contrib/infback9/ |
H A D | infback9.c | 25 struct inflate_state FAR *state; local 38 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 40 if (state == Z_NULL) return Z_MEM_ERROR; 42 strm->state = (voidpf)state; 43 state->window = window; 58 struct inflate_state state; local 63 while (sym < 144) state.lens[sym++] = 8; 64 while (sym < 256) state.lens[sym++] = 9; 65 while (sym < 280) state 224 struct inflate_state FAR *state; local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
H A D | sync_backend_host_unittest.cc | 100 state(SyncBackendHost::MakePendingConfigModeState( 103 EXPECT_FALSE(state->ready_task.get()); 104 EXPECT_EQ(types, state->initial_types); 105 EXPECT_FALSE(state->deleted_type); 106 EXPECT_TRUE(state->added_types.none()); 117 state(SyncBackendHost::MakePendingConfigModeState( 120 EXPECT_FALSE(state->ready_task.get()); 121 EXPECT_EQ(types, state->initial_types); 122 EXPECT_TRUE(state->deleted_type); 123 EXPECT_TRUE(state [all...] |
/external/chromium/chrome/browser/autofill/crypto/ |
H A D | rc4_decryptor.h | 50 uint8 state[kKeyDataSize]; member in struct:RC4Decryptor::Rc4Key 64 uint8* state; local 67 state = &key_.state[0]; 69 state[counter] = static_cast<uint8>(counter); 74 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; 75 SwapByte(&state[counter], &state[index2]); 83 uint8* state; local 88 state [all...] |
/external/v8/src/ |
H A D | v8.cc | 118 static uint32_t random_base(random_state *state) { argument 123 if (state->hi == 0) state->hi = random_seed(); 124 if (state->lo == 0) state->lo = random_seed(); 127 state->hi = 36969 * (state->hi & 0xFFFF) + (state->hi >> 16); 128 state->lo = 18273 * (state 137 static random_state state = {0, 0}; local 148 static random_state state = {0, 0}; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/events/ |
H A D | SDL_active.c | 52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state) argument 57 /* Modify the current state with the given mask */ 59 new_state = (SDL_appstate | state); 61 new_state = (SDL_appstate & ~state); 64 /* Drop events that don't change state */ 69 /* Update internal active state */ 79 event.active.state = state; 87 if ( (state & SDL_APPINPUTFOCUS) && !gain ) {
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/mediacontrol/mutebutton/ |
H A D | mute_button.edc | 34 description { state: "default" 0.0; 37 description { state: "mute" 0.0; 41 description { state: "sound" 0.0;
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/mediacontrol/playpausebutton/ |
H A D | playpause_button.edc | 34 description { state: "default" 0.0; 37 description { state: "play" 0.0; 41 description { state: "pause" 0.0;
|
/external/chromium/chrome/browser/metrics/ |
H A D | metrics_response.cc | 27 SAXState* state = static_cast<SAXState*>(user_data); 32 state->interval = atoi(Char(attrs[i + 1])); 39 state->events = atoi(Char(attrs[i + 1])); 48 state->collectors |= MetricsResponse::COLLECTOR_DOCUMENT; 50 state->collectors |= MetricsResponse::COLLECTOR_PROFILE; 52 state->collectors |= MetricsResponse::COLLECTOR_WINDOW; 54 state->collectors |= MetricsResponse::COLLECTOR_UI; 72 SAXState state = {0}; local 74 valid_ = !xmlSAXUserParseMemory(&handler, &state, 78 collectors_ = state [all...] |
/external/grub/stage2/ |
H A D | console.c | 35 console_setcolorstate (color_state state) argument 37 switch (state) { 52 console_color_state = state;
|
/external/webkit/LayoutTests/dom/html/level2/html/ |
H A D | hasFeature01.js | 84 var state; 86 state = domImpl.hasFeature("hTmL",version); 87 assertTrue("hasHTMLnull",state);
|
H A D | hasFeature02.js | 83 var state; 85 state = domImpl.hasFeature("hTmL",version); 86 assertTrue("hasHTML2",state);
|
H A D | hasFeature05.js | 84 var state; 86 state = domImpl.hasFeature("cOrE",version); 87 assertTrue("hasCore",state);
|