/external/chromium/net/tools/flip_server/ |
spdy_ssl.cc | 26 void InitSSL(SSLState* state, 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->ssl_ctx [all...] |
/external/chromium_org/net/tools/flip_server/ |
spdy_ssl.cc | 26 void InitSSL(SSLState* state, 38 state->ssl_method = SSLv23_method(); 41 state->ssl_ctx = SSL_CTX_new(const_cast<SSL_METHOD*>(state->ssl_method)); 42 if (!state->ssl_ctx) { 47 SSL_CTX_set_options(state->ssl_ctx, 49 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 54 if (SSL_CTX_use_PrivateKey_file(state->ssl_ctx, 60 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 65 SSL_CTX_set_next_protos_advertised_cb(state->ssl_ctx [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
lpc.cpp | 100 state = pointer to pointer of state data of type lpcState 117 This function initializes the state data for the LPC module. 135 if (state == (lpcState **) NULL){ 139 *state = NULL; 143 // fprintf(stderr, "lpc_init: can not malloc state structure\n"); 157 *state = s; 179 [State any special notes, constraints or cautions for users of this function] 183 Word16 lpc_init(lpcState **state) 187 if (state == (lpcState **) NULL [all...] |
/external/zlib/src/contrib/infback9/ |
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.lens[sym++] = 7 224 struct inflate_state FAR *state; local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
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->added_types.none()) [all...] |
/external/elfutils/libelf/ |
elf_newscn.c | 76 assert (offsetof (Elf, state.elf.scns_last) 77 == offsetof (Elf, state.elf32.scns_last)); 78 assert (offsetof (Elf, state.elf.scns_last) 79 == offsetof (Elf, state.elf64.scns_last)); 80 assert (offsetof (Elf, state.elf32.scns) 81 == offsetof (Elf, state.elf64.scns)); 86 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) 88 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt] [all...] |
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 49 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one 50 final List<NfcActivityState> mActivities; // Activities that have NFC state 53 * NFC State associated with an {@link Application}. 105 * NFC state associated with an {@link Activity} 159 /** find activity state from mActivities */ 161 for (NfcActivityState state : mActivities) { 162 if (state.activity == activity) { 163 return state; 169 /** find or create activity state from mActivities */ 171 NfcActivityState state = findActivityState(activity) local 208 NfcActivityState state = getActivityState(activity); local 224 NfcActivityState state = getActivityState(activity); local 249 NfcActivityState state = getActivityState(activity); local 263 NfcActivityState state = getActivityState(activity); local 275 NfcActivityState state = getActivityState(activity); local 289 NfcActivityState state = getActivityState(activity); local 303 NfcActivityState state = getActivityState(activity); local 333 NfcActivityState state = findResumedActivityState(); local 374 NfcActivityState state = findResumedActivityState(); local 390 NfcActivityState state = findResumedActivityState(); local 417 NfcActivityState state = findActivityState(activity); local 437 NfcActivityState state = findActivityState(activity); local 462 NfcActivityState state = findActivityState(activity); local [all...] |
/frameworks/base/services/input/ |
SpriteController.cpp | 135 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { 136 update.state.surfaceWidth = update.state.icon.bitmap.width(); 137 update.state.surfaceHeight = update.state.icon.bitmap.height(); 138 update.state.surfaceDrawn = false; 139 update.state.surfaceVisible = false; 140 update.state.surfaceControl = obtainSurface( 141 update.state.surfaceWidth, update.state.surfaceHeight) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 79 // TODO: bind each download to a specific network interface to avoid state 116 * State for the entire run() method. 118 static class State { 146 public State(DownloadInfo info) { 155 // Reset any state from previous execution 182 State state = new State(mInfo); local 205 state.mNetworkType = info.getType(); 215 state.mUrl = new URL(state.mRequestUri) [all...] |
/external/chromium/chrome/browser/autofill/crypto/ |
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 = &key_.state[0] [all...] |
/external/chromium_org/components/autofill/core/browser/crypto/ |
rc4_decryptor.h | 55 uint8 state[kKeyDataSize]; member in struct:autofill::RC4Decryptor::Rc4Key 69 uint8* state; local 72 state = &key_.state[0]; 74 state[counter] = static_cast<uint8>(counter); 79 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; 80 SwapByte(&state[counter], &state[index2]); 88 uint8* state; local 93 state = &key_.state[0] [all...] |
/external/dhcpcd/ |
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->fail.s_addr == iface->addr.s_addr) [all...] |
/system/core/init/ |
parser.c | 51 void parse_error(struct parse_state *state, const char *fmt, ...) 57 snprintf(buf, 128, "%s: %d: ", state->filename, state->line); 68 int next_token(struct parse_state *state) 70 char *x = state->ptr; 73 if (state->nexttoken) { 74 int t = state->nexttoken; 75 state->nexttoken = 0; 82 state->ptr = x; 86 state->ptr = x [all...] |
/external/elfutils/tests/ |
allregs.c | 92 struct state struct 132 struct state *state = arg; local 134 if (regno >= state->nregs) 136 state->info = realloc (state->info, (regno + 1) * sizeof state->info[0]); 137 memset (&state->info[state->nregs], 0, 138 ((void *) &state->info[regno + 1 190 struct state state = { NULL, 0 }; local [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
IsSupported.java | 60 boolean state; 63 state = rootNode.isSupported("XXX", "1.0"); 64 assertFalse("throw_False", state); 69 boolean state; 72 state = rootNode.isSupported("XML", "9.0"); 73 assertFalse("throw_False", state); 78 boolean state; 81 state = rootNode.isSupported("xml", "1.0"); 82 assertTrue("throw_True", state); 87 boolean state; [all...] |
/external/chromium_org/content/renderer/media/ |
media_stream_source_observer.cc | 15 : state_(webrtc_source->state()), 32 webrtc::MediaSourceInterface::SourceState state = webrtc_source_->state(); local 33 if (state == state_) 35 state_ = state; 38 switch (state) { 40 // Ignore the kInitializing state since there is no match in
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_setcancelstate.c | 42 pthread_setcancelstate (int state, int *oldstate) 47 * cancelability state to 'state' and returns the previous 48 * cancelability state at the location referenced by 52 * state, 63 * cancelability state to 'state' and returns the previous 64 * cancelability state at the location referenced by 72 * If 'oldstate' is NULL then the previous state is not returned 77 * EINVAL 'state' is invali [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objctests/ |
RTCPeerConnectionSyncObserver.h | 43 - (void)expectSignalingChange:(RTCSignalingState)state; 47 - (void)expectICEConnectionChange:(RTCICEConnectionState)state; 48 - (void)expectICEGatheringChange:(RTCICEGatheringState)state;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
internal_logging.cc | 80 Logger state; local 81 state.p_ = state.buf_; 82 state.end_ = state.buf_ + sizeof(state.buf_); 83 state.AddStr(filename, strlen(filename)) 84 && state.AddStr(":", 1) 85 && state.AddNum(line, 10) 86 && state.AddStr("]", 1 [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
internal_logging.cc | 79 Logger state; local 80 state.p_ = state.buf_; 81 state.end_ = state.buf_ + sizeof(state.buf_); 82 state.AddStr(filename, strlen(filename)) 83 && state.AddStr(":", 1) 84 && state.AddNum(line, 10) 85 && state.AddStr("]", 1 [all...] |
/external/chromium_org/ui/views/controls/ |
progress_bar_unittest.cc | 28 ui::AccessibleViewState state; local 29 bar.GetAccessibleState(&state); 30 EXPECT_EQ(ui::AccessibilityTypes::ROLE_PROGRESSBAR, state.role); 31 EXPECT_EQ(string16(), state.name); 32 EXPECT_TRUE(ui::AccessibilityTypes::STATE_READONLY & state.state);
|
/frameworks/compile/libbcc/tools/build/ |
gen-config-from-mk.py | 32 state = STATE_PRE_CONFIG 35 if state == STATE_PRE_CONFIG: 39 state = STATE_FOUND_CONFIG 41 elif state == STATE_FOUND_CONFIG: 45 state = STATE_IN_CONFIG 47 elif state == STATE_IN_CONFIG:
|
/libcore/luni/src/main/native/ |
java_io_Console.cpp | 28 termios state; local 29 if (TEMP_FAILURE_RETRY(tcgetattr(STDIN_FILENO, &state)) == -1) { 34 state.c_lflag = previousState; 36 previousState = state.c_lflag; 37 state.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); 39 if (TEMP_FAILURE_RETRY(tcsetattr(STDIN_FILENO, TCSAFLUSH, &state)) == -1){
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
Console.cpp | 62 static void internalAddMessage(Page* page, MessageType type, MessageLevel level, ScriptState* state, PassRefPtr<ScriptArguments> prpArguments, bool acceptNoArguments = false, bool printTrace = false) 73 RefPtr<ScriptCallStack> callStack(createScriptCallStack(state, stackSize)); 78 InspectorInstrumentation::addMessageToConsole(page, ConsoleAPIMessageSource, type, level, message, state, arguments); 84 void Console::debug(ScriptState* state, PassRefPtr<ScriptArguments> arguments) 86 internalAddMessage(page(), LogMessageType, DebugMessageLevel, state, arguments); local 89 void Console::error(ScriptState* state, PassRefPtr<ScriptArguments> arguments) 91 internalAddMessage(page(), LogMessageType, ErrorMessageLevel, state, arguments); local 94 void Console::info(ScriptState* state, PassRefPtr<ScriptArguments> arguments) 96 log(state, arguments); 99 void Console::log(ScriptState* state, PassRefPtr<ScriptArguments> arguments 101 internalAddMessage(page(), LogMessageType, LogMessageLevel, state, arguments); local 106 internalAddMessage(page(), LogMessageType, WarningMessageLevel, state, arguments); local 111 internalAddMessage(page(), DirMessageType, LogMessageLevel, state, arguments); local 116 internalAddMessage(page(), DirXMLMessageType, LogMessageLevel, state, arguments); local 121 internalAddMessage(page(), TableMessageType, LogMessageLevel, state, arguments); local 126 internalAddMessage(page(), ClearMessageType, LogMessageLevel, state, arguments, true); local 131 internalAddMessage(page(), TraceMessageType, LogMessageLevel, state, arguments, true, true); local 144 InspectorInstrumentation::consoleCount(page(), state, arguments); local 212 InspectorInstrumentation::addMessageToConsole(page(), ConsoleAPIMessageSource, StartGroupMessageType, LogMessageLevel, String(), state, arguments); local 217 InspectorInstrumentation::addMessageToConsole(page(), ConsoleAPIMessageSource, StartGroupCollapsedMessageType, LogMessageLevel, String(), state, arguments); local [all...] |
/external/chromium/chrome/browser/metrics/ |
metrics_response.cc | 9 // State to pass around during SAX parsing. 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, [all...] |