Searched refs:n (Results 1 – 12 of 12) sorted by relevance
/bootable/recovery/otautil/ |
D | thermalutil.cpp | 42 int n = scandir(THERMAL_PREFIX, &namelist, thermal_filter, alphasort); in InitThermalPaths() local 43 if (n == -1) { in InitThermalPaths() 47 if (n == 0) { in InitThermalPaths() 53 while (n--) { in InitThermalPaths() 54 thermal_paths.push_back(THERMAL_PREFIX + std::string(namelist[n]->d_name) + "/temp"); in InitThermalPaths() 55 free(namelist[n]); in InitThermalPaths()
|
D | logging.cpp | 251 int n = klogctl(KLOG_READ_ALL, &buffer[0], klog_buf_len); in save_kernel_log() local 252 if (n == -1) { in save_kernel_log() 256 buffer.resize(n); in save_kernel_log()
|
/bootable/recovery/tests/component/ |
D | resources_test.cpp | 54 int n = scandir(dir_path.c_str(), &namelist, png_filter, alphasort); in add_files() local 55 if (n == -1) { in add_files() 59 if (n == 0) { in add_files() 63 while (n--) { in add_files() 64 std::string file_path = dir_path + namelist[n]->d_name; in add_files() 66 free(namelist[n]); in add_files()
|
D | imgdiff_test.cpp | 745 uint8_t n = 0; in TEST() local 746 generate_n(back_inserter(content), 4096 * 50, [&n]() { return n++ / 4096; }); in TEST()
|
/bootable/recovery/minui/ |
D | graphics_fbdev.cpp | 46 void MinuiBackendFbdev::SetDisplayedFramebuffer(size_t n) { in SetDisplayedFramebuffer() argument 47 if (n > 1 || !double_buffered) return; in SetDisplayedFramebuffer() 50 vi.yoffset = n * gr_framebuffer[0]->height; in SetDisplayedFramebuffer() 55 displayed_buffer = n; in SetDisplayedFramebuffer()
|
D | events.cpp | 163 for (int n = 0; n < g_polled_events_count; n++) { in ev_dispatch() local 164 FdInfo* fdi = static_cast<FdInfo*>(g_polled_events[n].data.ptr); in ev_dispatch() 167 cb(fdi->fd, g_polled_events[n].events); in ev_dispatch()
|
D | graphics_fbdev.h | 61 void SetDisplayedFramebuffer(size_t n);
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 95 int n = scandir(DM_PATH_PREFIX, &namelist, dm_name_filter, alphasort); in FindDmPartitions() local 96 if (n == -1) { in FindDmPartitions() 100 if (n == 0) { in FindDmPartitions() 108 while (n--) { in FindDmPartitions() 109 std::string path = DM_PATH_PREFIX + std::string(namelist[n]->d_name) + DM_PATH_SUFFIX; in FindDmPartitions() 129 dm_block_devices.emplace(dm_block_name, DEV_PATH + std::string(namelist[n]->d_name)); in FindDmPartitions() 131 free(namelist[n]); in FindDmPartitions()
|
/bootable/recovery/edify/ |
D | lexer.ll | 63 \\n { gColumn += yyleng; gPos += yyleng; string_buffer.push_back('\n'); } 76 \n { 110 (#.*)?\n gPos += yyleng; ++gLine; gColumn = 1;
|
D | parser.yy | 137 printf("line %d col %d: %s\n", gLine, gColumn, s);
|
D | README.md | 12 - String literals appear in double quotes. \n, \t, \", and \\ are
|
/bootable/recovery/install/ |
D | adb_install.cpp | 227 for (int n = 0; n < event_count; n++) { in ListenAndExecuteMinadbdCommands() local 228 if (events[n].events & EPOLLHUP) { in ListenAndExecuteMinadbdCommands()
|