Home
last modified time | relevance | path

Searched refs:state_index (Results 1 – 9 of 9) sorted by relevance

/external/openssl/crypto/rand/
Dmd_rand.c139 static int state_num=0,state_index=0; variable
185 state_index=0; in ssleay_rand_cleanup()
232 st_idx=state_index; in ssleay_rand_add()
244 state_index += num; in ssleay_rand_add()
245 if (state_index >= STATE_SIZE) in ssleay_rand_add()
247 state_index%=STATE_SIZE; in ssleay_rand_add()
252 if (state_index > state_num) in ssleay_rand_add()
253 state_num=state_index; in ssleay_rand_add()
452 st_idx=state_index; in ssleay_rand_bytes()
458 state_index+=num_ceil; in ssleay_rand_bytes()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/rand/
Dmd_rand.c139 static int state_num=0,state_index=0; variable
185 state_index=0; in ssleay_rand_cleanup()
229 st_idx=state_index; in ssleay_rand_add()
241 state_index += num; in ssleay_rand_add()
242 if (state_index >= STATE_SIZE) in ssleay_rand_add()
244 state_index%=STATE_SIZE; in ssleay_rand_add()
249 if (state_index > state_num) in ssleay_rand_add()
250 state_num=state_index; in ssleay_rand_add()
446 st_idx=state_index; in ssleay_rand_bytes()
452 state_index+=num_ceil; in ssleay_rand_bytes()
[all …]
/external/chromium_org/content/common/android/
Daddress_parser_internal.cc253 size_t* state_index) { in FindStateStartingInWord() argument
295 char state_index; // Relative to two-character code alphabetical order. in FindStateStartingInWord() member
370 *state_index = state_two_letter_accumulative[first_index] + in FindStateStartingInWord()
407 *state_index = state_names[state].state_index; in FindStateStartingInWord()
415 bool IsZipValid(const Word& word, size_t state_index) { in IsZipValid() argument
426 return IsZipValidForState(word, state_index); in IsZipValid()
429 bool IsZipValidForState(const Word& word, size_t state_index) { in IsZipValidForState() argument
504 if ((zip_prefix >= zip_range[state_index].low && in IsZipValidForState()
505 zip_prefix <= zip_range[state_index].high) || in IsZipValidForState()
506 zip_prefix == zip_range[state_index].exception1 || in IsZipValidForState()
[all …]
Daddress_parser_internal.h74 size_t* state_index);
77 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index);
78 CONTENT_EXPORT bool IsZipValidForState(const Word& word, size_t state_index);
Daddress_parser.cc162 size_t state_last_word, state_index; in FindAddress() local
164 &tokenizer, &state_index)) { in FindAddress()
194 if (!IsZipValid(words[zip_word], state_index)) in FindAddress()
Daddress_parser_unittest.cc42 bool GetState(const std::string& state, size_t* state_index) const { in GetState()
53 state_index); in GetState()
57 size_t state_index; in IsState() local
58 return GetState(state, &state_index); in IsState()
62 size_t state_index; in IsZipValid() local
63 EXPECT_TRUE(GetState(state, &state_index)); in IsZipValid()
69 return ::IsZipValid(words.front(), state_index); in IsZipValid()
/external/e2fsprogs/ext2ed/
Dmain.c465 int state_index=-1; in complete_command() local
475 state_index++; in complete_command()
476 if (state==state_index) { in complete_command()
486 state_index++; in complete_command()
487 if (state==state_index) in complete_command()
497 state_index++; in complete_command()
498 if (state==state_index) in complete_command()
506 state_index++; in complete_command()
507 if (state==state_index) in complete_command()
/external/chromium_org/base/i18n/
Dbuild_utf8_validator_tables.cc400 for (uint8 state_index = 0; state_index < states.size(); ++state_index) { in PrintStates() local
401 const uint8 shift = shifts[state_index]; in PrintStates()
406 static_cast<int>(state_index), in PrintStates()
407 static_cast<int>(state_offset[state_index])); in PrintStates()
410 if (next_range < states[state_index].size() && in PrintStates()
411 states[state_index][next_range].from == i) { in PrintStates()
412 target_state = states[state_index][next_range].target_state; in PrintStates()
/external/chromium_org/ui/views/controls/combobox/
Dcombobox.cc252 for (size_t state_index = 0; state_index < arraysize(button_states); in Combobox() local
253 state_index++) { in Combobox()
254 Button::ButtonState state = button_states[state_index]; in Combobox()