/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_done.c | 20 int pmac_done(pmac_state *state, unsigned char *out, unsigned long *outlen) 24 LTC_ARGCHK(state != NULL); 26 if ((err = cipher_is_valid(state->cipher_idx)) != CRYPT_OK) { 30 if ((state->buflen > (int)sizeof(state->block)) || (state->buflen < 0) || 31 (state->block_len > (int)sizeof(state->block)) || (state->buflen > state->block_len)) [all...] |
/external/zlib/src/ |
gzread.c | 17 state->fd, and update state->eof, state->err, and state->msg as appropriate. 20 local int gz_load(state, buf, len, have) 21 gz_statep state; 30 ret = read(state->fd, buf + *have, len - *have); 36 gz_error(state, Z_ERRNO, zstrerror()); 40 state->eof = 1; 51 local int gz_avail(state) 293 gz_statep state; local 387 gz_statep state; local 422 gz_statep state; local 486 gz_statep state; local 545 gz_statep state; local 566 gz_statep state; local [all...] |
inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 30 * - Add comments on state->bits assertion in inffast.c 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 112 if (state->wrap) /* to support ill-conceived Java test suite * 131 struct inflate_state FAR *state; local 146 struct inflate_state FAR *state; local 186 struct inflate_state FAR *state; local 234 struct inflate_state FAR *state; local 327 struct inflate_state state; local 382 struct inflate_state FAR *state; local 608 struct inflate_state FAR *state; local [all...] |
gzlib.c | 74 /* Reset gzip file state */ 75 local void gz_reset(state) 76 gz_statep state; 78 state->x.have = 0; /* no output data available */ 79 if (state->mode == GZ_READ) { /* for reading ... */ 80 state->eof = 0; /* not at end of file */ 81 state->past = 0; /* have not read past end yet */ 82 state->how = LOOK; /* look for gzip header */ 84 state->seek = 0; /* no seek request pending */ 85 gz_error(state, Z_OK, NULL); /* clear error * 96 gz_statep state; local 308 gz_statep state; local 332 gz_statep state; local 359 gz_statep state; local 444 gz_statep state; local 472 gz_statep state; local 504 gz_statep state; local 522 gz_statep state; local 541 gz_statep state; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
q_plsf.cpp | 74 * Purpose : Allocates memory and initializes state variables 78 Word16 Q_plsf_init(Q_plsfState **state) 82 if (state == (Q_plsfState **) NULL) 87 *state = NULL; 92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */ 97 *state = s; 106 * Purpose : Resets state memory 110 Word16 Q_plsf_reset(Q_plsfState *state) 114 if (state == (Q_plsfState *) NULL) 121 state->past_rq[i] = 0 [all...] |
/bionic/tests/ |
string_test.cpp | 173 // Calculate input lengths and fill state.len with them. 191 StringTestState state(SMALL); 192 for (size_t i = 1; i < state.n; i++) { 194 state.NewIteration(); 196 memset(state.ptr2, '\2', state.MAX_LEN); 197 state.ptr2[state.MAX_LEN - 1] = '\0'; 198 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN) [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
package-info.java | 1 package javax.jmdns.impl.tasks.state;
|
/external/webkit/Source/WebCore/platform/haiku/ |
LoggingHaiku.cpp | 41 LogEvents.state = WTFLogChannelOn; 42 LogFrames.state = WTFLogChannelOn; 43 LogLoading.state = WTFLogChannelOn; 44 LogPlatformLeaks.state = WTFLogChannelOn;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageVerificationStateTest.java | 32 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 35 state.isVerificationComplete()); 37 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_ALLOW); 40 state.isVerificationComplete()); 43 state.isInstallAllowed()); 47 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 50 state.isVerificationComplete()); 52 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_REJECT); 55 state.isVerificationComplete()); 58 state.isInstallAllowed()) 62 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 87 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 112 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 138 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local 169 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); local [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKeyToggle.java | 29 * The current state number is stored in the lowest 8 bits of mKeyMask, this 30 * mask is used to get the state number. If the current state is 0, the 31 * normal state is enabled; if the current state is more than 0, a toggle 32 * state in the toggle state chain will be enabled. 42 // The state id should be valid, and less than 255. 43 // If resetIfNotFound is true and there is no such toggle state with the 44 // given id, the key state will be reset 95 ToggleState state = getToggleState(); local 102 ToggleState state = getToggleState(); local 115 ToggleState state = getToggleState(); local 122 ToggleState state = getToggleState(); local 129 ToggleState state = getToggleState(); local 138 ToggleState state = getToggleState(); local 147 ToggleState state = getToggleState(); local 156 ToggleState state = getToggleState(); local 165 ToggleState state = getToggleState(); local 174 ToggleState state = getToggleState(); local 184 ToggleState state = getToggleState(); local 194 ToggleState state = getToggleState(); local 206 ToggleState state = getToggleState(); local 215 ToggleState state = getToggleState(); local 224 ToggleState state = getToggleState(); local [all...] |
/external/icu4c/i18n/ |
regexcst.pl | 9 # Compile the regular expression paser state table data into initialized C data. 27 $num_states = 1; # Always the state number for the line being compiled. 30 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 31 # This prevents any state from being labelled with "pop", 32 # and resolves references to "pop" in the next state field. 54 # State Label: handling. 55 # Does the first token end with a ":"? If so, it's the name of a state. 56 # Put in a hash, together with the current state number, 61 $state_name =~ s/://; # strip off the colon from the state name. 64 print " rbbicst: at line $line-num duplicate definition of state $state_name\n" [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
resample_48khz.c | 28 WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* tmpmem) 34 WebRtcSpl_LPBy2ShortToInt(in, 480, tmpmem + 16, state->S_48_48); 40 // copy state to and from input array 41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(WebRtc_Word32)); 42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32)); 49 WebRtcSpl_DownBy2IntToShort(tmpmem, 320, out, state->S_32_16); 52 // initialize state of 48 -> 16 resampler 53 void WebRtcSpl_ResetResample48khzTo16khz(WebRtcSpl_State48khzTo16khz* state) 55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); 56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)) [all...] |
resample_by_2_internal.c | 29 // state: filter state array; length = 8 32 WebRtc_Word32 *state) 43 diff = tmp0 - state[1]; 46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; 47 state[0] = tmp0; 48 diff = tmp1 - state[2]; 53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; 54 state[1] = tmp1; 55 diff = tmp0 - state[3] [all...] |
/system/core/init/ |
ueventd_parser.c | 27 static void parse_line_device(struct parse_state *state, int nargs, char **args); 31 struct parse_state state; local 35 state.filename = fn; 36 state.line = 1; 37 state.ptr = s; 38 state.nexttoken = 0; 39 state.parse_line = parse_line_device; 41 int token = next_token(&state); 44 state.parse_line(&state, 0, 0) [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 30 * - Add comments on state->bits assertion in inffast.c 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 113 state->mode = HEAD 133 struct inflate_state FAR *state; local 150 struct inflate_state FAR *state; local 272 struct inflate_state state; local 327 struct inflate_state FAR *state; local 558 struct inflate_state FAR *state; local [all...] |
/external/icu4c/common/ |
rbbicst.pl | 6 # rbbicst Compile the RBBI rule paser state table data into initialized C data. 26 $num_states = 1; # Always the state number for the line being compiled. 29 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 30 # This prevents any state from being labelled with "pop", 31 # and resolves references to "pop" in the next state field. 53 # State Label: handling. 54 # Does the first token end with a ":"? If so, it's the name of a state. 55 # Put in a hash, together with the current state number, 60 $state_name =~ s/://; # strip off the colon from the state name. 63 print " rbbicst: at line $line-num duplicate definition of state $state_name\n" [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognizerSharedState.java | 32 * and recover from errors etc... As a separate state object, it can be 35 * These fields are publically visible but the actual state pointer per 83 // LEXER FIELDS (must be in same state object to avoid casting 122 public RecognizerSharedState(RecognizerSharedState state) { 123 if ( this.following.length < state.following.length ) { 124 this.following = new BitSet[state.following.length]; 126 System.arraycopy(state.following, 0, this.following, 0, state.following.length); 127 this._fsp = state._fsp; 128 this.errorRecovery = state.errorRecovery [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
correction_state.h | 55 inline static void initCorrectionState(CorrectionState *state, const int rootPos, 57 state->mParentIndex = -1; 58 state->mChildCount = childCount; 59 state->mInputIndex = 0; 60 state->mSiblingPos = rootPos; 61 state->mNeedsToTraverseAllNodes = traverseAll; 63 state->mTransposedPos = -1; 64 state->mExcessivePos = -1; 65 state->mSkipPos = -1; 67 state->mEquivalentCharCount = 0 [all...] |
/dalvik/vm/jdwp/ |
JdwpMain.cpp | 76 JdwpState* state = NULL; local 81 state = (JdwpState*) calloc(1, sizeof(JdwpState)); 83 state->params = *pParams; 85 state->requestSerial = 0x10000000; 86 state->eventSerial = 0x20000000; 87 dvmDbgInitMutex(&state->threadStartLock); 88 dvmDbgInitMutex(&state->attachLock); 89 dvmDbgInitMutex(&state->serialLock); 90 dvmDbgInitMutex(&state->eventLock); 91 state->eventThreadId = 0 258 JdwpState* state = (JdwpState*) arg; local [all...] |
JdwpPriv.h | 52 bool (*startup)(struct JdwpState* state, const JdwpStartupParams* pParams); 53 bool (*accept)(struct JdwpState* state); 54 bool (*establish)(struct JdwpState* state); 55 void (*close)(struct JdwpState* state); 56 void (*shutdown)(struct JdwpState* state); 57 void (*free)(struct JdwpState* state); 58 bool (*isConnected)(struct JdwpState* state); 59 bool (*awaitingHandshake)(struct JdwpState* state); 60 bool (*processIncoming)(struct JdwpState* state); 61 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq) [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
promptforbugortitle.py | 33 def run(self, state): 35 if state.get("bug_id"): 41 state["bug_id"] = int(user_response) 43 state["bug_title"] = user_response 45 state["bug_description"] = user_response
|
/external/libpcap/missing/ |
snprintf.c | 63 * Common state 66 struct state { struct 72 int (*append_char)(struct state *, unsigned char); 73 int (*reserve)(struct state *, size_t); 79 sn_reserve (struct state *state, size_t n) 81 return state->s + n > state->theend; 85 sn_append_char (struct state *state, unsigned char c 612 struct state state; local [all...] |
/external/tcpdump/missing/ |
snprintf.c | 63 * Common state 66 struct state { struct 72 int (*append_char)(struct state *, unsigned char); 73 int (*reserve)(struct state *, size_t); 79 sn_reserve (struct state *state, size_t n) 81 return state->s + n > state->theend; 85 sn_append_char (struct state *state, unsigned char c 612 struct state state; local [all...] |
/external/e2fsprogs/lib/e2p/ |
ps.c | 2 * ps.c - Print filesystem state 23 void print_fs_state (FILE * f, unsigned short state) 25 if (state & EXT2_VALID_FS) 29 if (state & EXT2_ERROR_FS)
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ProgramState_Fwd.h | 20 void ProgramStateRetain(const ProgramState *state); 21 void ProgramStateRelease(const ProgramState *state); 27 static void retain(const clang::ento::ProgramState *state) { 28 clang::ento::ProgramStateRetain(state); 30 static void release(const clang::ento::ProgramState *state) { 31 clang::ento::ProgramStateRelease(state);
|