HomeSort by relevance Sort by last modified time
    Searched refs:fd_table_max (Results 1 - 3 of 3) sorted by null

  /bootable/recovery/minadbd/
fdevent.c 103 static int fd_table_max = 0; variable
434 if(fde->fd >= fd_table_max) {
435 int oldmax = fd_table_max;
439 if(fd_table_max == 0) {
441 fd_table_max = 256;
443 while(fd_table_max <= fde->fd) {
444 fd_table_max *= 2;
446 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max);
448 FATAL("could not expand fd_table to %d entries\n", fd_table_max);
450 memset(fd_table + oldmax, 0, sizeof(int) * (fd_table_max - oldmax))
    [all...]
  /system/core/adb/
fdevent.c 103 static int fd_table_max = 0; variable
434 if(fde->fd >= fd_table_max) {
435 int oldmax = fd_table_max;
439 if(fd_table_max == 0) {
441 fd_table_max = 256;
443 while(fd_table_max <= fde->fd) {
444 fd_table_max *= 2;
446 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max);
448 FATAL("could not expand fd_table to %d entries\n", fd_table_max);
450 memset(fd_table + oldmax, 0, sizeof(int) * (fd_table_max - oldmax))
    [all...]
sysdeps_win32.c 1276 static int fd_table_max = 0; variable
    [all...]

Completed in 26 milliseconds