/libcore/support/src/test/java/tests/net/ |
StuckServer.java | 30 private ArrayList<Socket> clients = new ArrayList<Socket>(); field in class:StuckServer 39 clients.add(new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort())); 48 for (Socket client : clients) { 51 clients.clear(); 52 clients.add(serverSocket.accept()); 71 for (Socket client : clients) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IntRangeManager.java | 23 * Clients can enable reception of SMS-CB messages for specific ranges of 35 * Clients are identified by String (the name associated with the User ID 42 * Initial capacity for IntRange clients array list. There will be 48 * One or more clients forming the continuous range [startId, endId]. 58 final ArrayList<ClientRange> clients; field in class:IntRangeManager.IntRange 69 clients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); 70 clients.add(new ClientRange(startId, endId, client)); 80 clients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); 81 clients.add(clientRange); 97 this.clients = new ArrayList<ClientRange>(intRange.clients.size()) 373 ArrayList<ClientRange> clients = range.clients; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTMovieTask.cpp | 76 Vector<QTMovieTaskClient*> clients; local 77 copyToVector(m_taskList, clients); 78 for (Vector<QTMovieTaskClient*>::iterator i = clients.begin(); i != clients.end(); ++i)
|
/external/dbus/bus/ |
test.c | 36 static DBusList *clients = NULL; variable 118 _dbus_list_remove (&clients, connection); 122 if (clients == NULL) 165 if (!_dbus_list_append (&clients, connection)) 182 _dbus_list_remove_last (&clients, connection); 184 if (clients == NULL) 200 link = _dbus_list_get_first_link (&clients); 204 DBusList *next = _dbus_list_get_next_link (&clients, link); 218 link = _dbus_list_get_first_link (&clients); 222 DBusList *next = _dbus_list_get_next_link (&clients, link) [all...] |
/external/quake/quake/src/WinQuake/ |
host.cpp | 196 svs.clients = (client_s*) Hunk_AllocName (svs.maxclientslimit*sizeof(client_t), "clients"); 295 Sends text to all active clients 309 if (svs.clients[i].active && svs.clients[i].spawned) 311 MSG_WriteByte (&svs.clients[i].message, svc_print); 312 MSG_WriteString (&svs.clients[i].message, string); 382 // send notification to all clients 383 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) 388 MSG_WriteByte (&client->message, host_client - svs.clients); [all...] |
host_cmd.cpp | 92 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 233 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) 260 command from the console. Active clients are kicked off. 315 Goes to a new map, taking all clients along 514 if (svs.clients[i].active && (svs.clients[i].edict->u.v.health <= 0) ) 536 fprintf (f, "%f\n", svs.clients->spawn_parms[i]); 643 sv.paused = true; // pause until all clients connect 707 svs.clients->spawn_parms[i] = spawn_parms[i]; 739 // fprintf (f, "%f\n", svs.clients->spawn_parms[i]) [all...] |
sv_main.cpp | 77 Make sure the event gets sent to all clients 252 client = svs.clients + clientnum; 320 if (!svs.clients[i].active) 323 Sys_Error ("Host_CheckForNewClients: no free clients"); 325 svs.clients[i].netconnection = ret; 762 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 766 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 779 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 827 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 982 Tell all the clients that the server is changing level [all...] |
/gdk/samples/quake/jni/ |
host.cpp | 201 svs.clients = (client_s*) Hunk_AllocName (svs.maxclientslimit*sizeof(client_t), "clients"); 300 Sends text to all active clients 314 if (svs.clients[i].active && svs.clients[i].spawned) 316 MSG_WriteByte (&svs.clients[i].message, svc_print); 317 MSG_WriteString (&svs.clients[i].message, string); 387 // send notification to all clients 388 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) 393 MSG_WriteByte (&client->message, host_client - svs.clients); [all...] |
host_cmd.cpp | 92 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 233 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) 260 command from the console. Active clients are kicked off. 315 Goes to a new map, taking all clients along 514 if (svs.clients[i].active && (svs.clients[i].edict->u.v.health <= 0) ) 536 fprintf (f, "%f\n", svs.clients->spawn_parms[i]); 643 sv.paused = true; // pause until all clients connect 707 svs.clients->spawn_parms[i] = spawn_parms[i]; 739 // fprintf (f, "%f\n", svs.clients->spawn_parms[i]) [all...] |
sv_main.cpp | 77 Make sure the event gets sent to all clients 252 client = svs.clients + clientnum; 320 if (!svs.clients[i].active) 323 Sys_Error ("Host_CheckForNewClients: no free clients"); 325 svs.clients[i].netconnection = ret; 762 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 766 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 779 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 827 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 982 Tell all the clients that the server is changing level [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGResourceContainer.cpp | 77 // Invalidate all our current clients. 162 OwnPtr<SVGDocumentExtensions::SVGPendingElements> clients(extensions->removePendingResource(m_id)); 167 // Update cached resources of pending clients. 168 const SVGDocumentExtensions::SVGPendingElements::const_iterator end = clients->end(); 169 for (SVGDocumentExtensions::SVGPendingElements::const_iterator it = clients->begin(); it != end; ++it) {
|
/external/quake/quake/src/QW/server/ |
sv_main.c | 117 Sends a datagram to all the clients informing them of the server crash, 150 clients before the server goes down. The messages are sent immediately, 166 for (i=0, cl = svs.clients ; i<MAX_CLIENTS ; i++, cl++) 229 // send notification to all remaining clients 278 i = client - svs.clients; 353 cl = &svs.clients[i]; 513 int clients, spectators; local 603 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) 623 // count up the clients and spectators 624 clients = 0 [all...] |
sv_ccmds.c | 173 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) 357 for (i = 0, cl = svs.clients; i < MAX_CLIENTS; i++, cl++) 402 // most remote clients are 40 columns
407 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++)
440 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) 508 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) 779 for (i = 0, cl = svs.clients; i < MAX_CLIENTS; i++, cl++)
853 for (i = 0, cl = svs.clients; i < MAX_CLIENTS; i++, cl++)
|
pr_cmds.c | 243 client = &svs.clients[entnum-1]; 273 cl = &svs.clients[entnum-1]; 692 cl = &svs.clients[entnum-1]; 1058 // send message to all clients on this server 1062 for (j=0, client = svs.clients ; j<MAX_CLIENTS ; j++, client++) 1178 noaim = Info_ValueForKey (svs.clients[i-1].userinfo, "noaim"); 1320 return &svs.clients[entnum-1].netchan.message; 1351 return &svs.clients[entnum-1]; 1483 client = svs.clients + (i-1); 1532 s = va("\\%s\\%s\\\n",svs.clients[e1-1].name, svs.clients[e2-1].name) [all...] |
sv_send.c | 193 Sends text to all active clients 209 for (i=0, cl = svs.clients ; i<MAX_CLIENTS ; i++, cl++) 224 Sends text to all active clients 247 Sends the contents of sv.multicast to a subset of the clients, 251 MULTICAST_PVS send to clients potentially visible from org 252 MULTICAST_PHS send to clients potentially hearable from org 297 // send the data to all relevent clients 298 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) 530 ent = svs.clients[client->spec_track - 1].edict; 584 // this will include clients, a packetentities, an [all...] |
sv_init.c | 77 to the clients -- only the fields that differ from the 160 for (i=0, host_client = svs.clients ; i<MAX_CLIENTS ; i++, host_client++) 276 clients along with it. 327 // leave slots at start for clients only 332 svs.clients[i].edict = ent; 334 svs.clients[i].old_frags = 0;
|
sv_user.c | 68 // send the info about the new client to all connected clients 336 for (i=n, client = svs.clients + n ; i<MAX_CLIENTS ; i++, client++) 504 ent = EDICT_NUM( 1 + (host_client - svs.clients) ); 789 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) 842 clients 850 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) 899 // send notification to all clients
900 for (i=0, cl = svs.clients ; i<MAX_CLIENTS ; i++, cl++)
974 ent = EDICT_NUM(host_client - svs.clients + 1); 981 if (i < 0 || i >= MAX_CLIENTS || svs.clients[i].state != cs_spawned | [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebIconDatabase.cpp | 166 // Swap the clients queue 167 Vector<WebIconDatabaseClient*> clients; local 168 clients.swap(mClients); 171 for (unsigned j = 0; j < clients.size(); ++j) { 172 clients[j]->didAddIconForPageUrl(queue[i]);
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_harness.h | 29 // several clients to get to the same state. 88 // Blocks the caller until every client in |clients| completes its ongoing 89 // sync cycle and all the clients' timestamps match. Note: Use this method 93 std::vector<ProfileSyncServiceHarness*>& clients);
|
profile_sync_service_harness.cc | 374 std::vector<ProfileSyncServiceHarness*>& clients) { 378 clients.begin(); it != clients.end(); ++it) { 381 (*it)->AwaitGroupSyncCycleCompletion(clients);
|
/external/webkit/Source/WebCore/svg/ |
SVGElement.cpp | 353 OwnPtr<SVGDocumentExtensions::SVGPendingElements> clients(extensions->removePendingResource(resourceId)); 354 if (clients->isEmpty()) 357 const SVGDocumentExtensions::SVGPendingElements::const_iterator end = clients->end(); 358 for (SVGDocumentExtensions::SVGPendingElements::const_iterator it = clients->begin(); it != end; ++it)
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_server.c | 81 struct radius_client *clients; member in struct:radius_server_data 128 struct radius_client *client = data->clients; 859 struct radius_client *clients) 863 client = clients; 881 struct radius_client *clients, *tail, *entry; local 901 clients = tail = NULL; 1009 clients = tail = entry; 1018 radius_server_free_clients(NULL, clients); 1019 clients = NULL; 1025 return clients; [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius_server.c | 102 * clients - List of authorized RADIUS clients 104 struct radius_client *clients; member in struct:radius_server_data 247 * These counters are the sum over all clients. 317 struct radius_client *client = data->clients; 1062 struct radius_client *clients) 1066 client = clients; 1084 struct radius_client *clients, *tail, *entry; local 1104 clients = tail = NULL; 1212 clients = tail = entry [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
FontCache.cpp | 455 Vector<RefPtr<FontSelector> > clients; local 457 clients.reserveInitialCapacity(numClients); 460 clients.append(*it); 462 ASSERT(numClients == clients.size()); 464 clients[i]->fontCacheInvalidated();
|
/hardware/msm7k/librpc/ |
clnt.c | 72 static volatile struct CLIENT *clients; variable in typeref:struct:CLIENT 202 CLIENT *client = (CLIENT *)clients; 276 V("rx thread timeout (%d clients):\n", num_clients); 279 CLIENT *trav = (CLIENT *)clients; 572 client->next = (CLIENT *)clients; 573 clients = client; 620 CLIENT *trav = (CLIENT *)clients, *prev = NULL; 629 clients = trav->next;
|