/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
H A D | It_ipc_fdzero_001.cpp | 56 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 60 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
|
H A D | It_ipc_fdclr_001.cpp | 53 printf("next is select ...\n"); in Testcase() 54 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 56 printf("select passed &&&&&&&&&&&&&&&&\n"); in Testcase() 58 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 67 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 10-1.c | 13 #include <sys/select.h> 53 if (!select(0, NULL, NULL, NULL, &tv)) in wait_for_notification() 79 select(0, NULL, NULL, NULL, &tv); in main()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Socket.cpp | 23 #include <sys/select.h> 70 bool Socket::select(int us) in select() function in sw::Socket 78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Socket.cpp | 23 # include <sys/select.h> 71 bool Socket::select(int us) in select() function in sw::Socket 79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | coprocessor.h | 39 xchal_ncp_store \clb \at1 \at2 \at3 \at4 select=_SELECT variable 46 xchal_ncp_load \clb \at1 \at2 \at3 \at4 select=_SELECT variable 58 xchal_ncp_store \clb \at1 \at2 \at3 \at4 select=_SELECT variable 65 xchal_ncp_load \clb \at1 \at2 \at3 \at4 select=_SELECT variable
|
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | coprocessor.h | 39 xchal_ncp_store \clb \at1 \at2 \at3 \at4 select=_SELECT variable 46 xchal_ncp_load \clb \at1 \at2 \at3 \at4 select=_SELECT variable 58 xchal_ncp_store \clb \at1 \at2 \at3 \at4 select=_SELECT variable 65 xchal_ncp_load \clb \at1 \at2 \at3 \at4 select=_SELECT variable
|
/third_party/python/Lib/test/ |
H A D | test_asyncore.py | 2 import select namespace 81 r, w, e = select.select([conn], [], [], 0.1) 131 # asyncore.readwrite uses constants in the select module that 136 @unittest.skipUnless(hasattr(select, 'poll'), 'select.poll required') 143 (select.POLLIN, 'read'), 144 (select.POLLPRI, 'expt'), 145 (select.POLLOUT, 'write'), 146 (select [all...] |
H A D | test_selectors.py | 273 result = s.select() 328 ready = s.select() 336 ready = s.select() 358 'select.select() cannot be used with empty fd sets') 360 # Issue #23009: Make sure EpollSelector.select() works when no FD is 364 self.assertEqual(s.select(timeout=0), []) 374 self.assertEqual(1, len(s.select(0))) 375 self.assertEqual(1, len(s.select(-1))) 381 self.assertFalse(s.select( [all...] |
/third_party/ltp/testcases/kernel/syscalls/personality/ |
H A D | personality02.c | 11 * This test checks if select() timeout is not updated when personality with 17 #include <sys/select.h> 31 TEST(select(2, &rfds, NULL, NULL, &tv)); in run() 33 tst_brk(TBROK | TERRNO, "select() error"); in run()
|
/third_party/musl/compat/time32/ |
H A D | select_time32.c | 4 #include <sys/select.h> 8 return select(n, rfds, wfds, efds, !tv32 ? 0 : (&(struct timeval){ in __select_time32()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 250 int select, int ofs) in netcp_xgbe_serdes_write_tbus_addr() 253 reg_rmw(serdes_regs + 0x0008, ((select << 5) + ofs) << 24, in netcp_xgbe_serdes_write_tbus_addr() 259 switch (select) { in netcp_xgbe_serdes_write_tbus_addr() 261 select = 2; in netcp_xgbe_serdes_write_tbus_addr() 264 select = 3; in netcp_xgbe_serdes_write_tbus_addr() 270 reg_rmw(serdes_regs + 0x00fc, ((select << 8) + ofs) << 16, ~0xf800ffff); in netcp_xgbe_serdes_write_tbus_addr() 274 int select, int ofs) in netcp_xgbe_serdes_read_select_tbus() 277 netcp_xgbe_serdes_write_tbus_addr(serdes_regs, select, ofs); in netcp_xgbe_serdes_read_select_tbus() 249 netcp_xgbe_serdes_write_tbus_addr(void __iomem *serdes_regs, int select, int ofs) netcp_xgbe_serdes_write_tbus_addr() argument 273 netcp_xgbe_serdes_read_select_tbus(void __iomem *serdes_regs, int select, int ofs) netcp_xgbe_serdes_read_select_tbus() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 250 int select, int ofs) in netcp_xgbe_serdes_write_tbus_addr() 253 reg_rmw(serdes_regs + 0x0008, ((select << 5) + ofs) << 24, in netcp_xgbe_serdes_write_tbus_addr() 259 switch (select) { in netcp_xgbe_serdes_write_tbus_addr() 261 select = 2; in netcp_xgbe_serdes_write_tbus_addr() 264 select = 3; in netcp_xgbe_serdes_write_tbus_addr() 270 reg_rmw(serdes_regs + 0x00fc, ((select << 8) + ofs) << 16, ~0xf800ffff); in netcp_xgbe_serdes_write_tbus_addr() 274 int select, int ofs) in netcp_xgbe_serdes_read_select_tbus() 277 netcp_xgbe_serdes_write_tbus_addr(serdes_regs, select, ofs); in netcp_xgbe_serdes_read_select_tbus() 249 netcp_xgbe_serdes_write_tbus_addr(void __iomem *serdes_regs, int select, int ofs) netcp_xgbe_serdes_write_tbus_addr() argument 273 netcp_xgbe_serdes_read_select_tbus(void __iomem *serdes_regs, int select, int ofs) netcp_xgbe_serdes_read_select_tbus() argument
|
/kernel/linux/linux-6.6/kernel/ |
H A D | profile.c | 62 const char *select = NULL; in profile_setup() local 69 select = sleepstr; in profile_setup() 75 select = schedstr; in profile_setup() 78 select = kvmstr; in profile_setup() 86 if (select) { in profile_setup() 87 if (str[strlen(select)] == ',') in profile_setup() 88 str += strlen(select) + 1; in profile_setup() 92 select, prof_shift); in profile_setup()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 105 assertEquals(locale + " NaN", "other", rules.select(Double.NaN)); in testOverUnderflow() 106 assertEquals(locale + " ∞", "other", rules.select(Double.POSITIVE_INFINITY)); in testOverUnderflow() 107 assertEquals(locale + " -∞", "other", rules.select(Double.NEGATIVE_INFINITY)); in testOverUnderflow() 362 assertEquals("value " + i, targets[i], rules.select(i)); in checkTargets() 369 assertEquals("empty", "a", rules.select(0)); in testParseEmpty() 479 String foundKeyword = rule.select(item); in testUniqueRules() 486 rule.select(item); in testUniqueRules() 515 String result = rules.select(dqNum); in checkValue() 523 * {@code PluralRules.select(FormattedNumber)}, which in turn can support 640 assertEquals(message, expectedKeyword, rules.select(numbe in testBuiltInRules() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dpp.c | 66 enum dcn10_input_csc_select select; in dpp3_program_post_csc() local 90 * currently. select the alternate set to double buffer in dpp3_program_post_csc() 97 select = INPUT_CSC_SELECT_ICSC; in dpp3_program_post_csc() 99 select = INPUT_CSC_SELECT_COMA; in dpp3_program_post_csc() 106 if (select == INPUT_CSC_SELECT_ICSC) { in dpp3_program_post_csc() 124 CM_POST_CSC_MODE, select); in dpp3_program_post_csc() 183 enum dcn10_input_csc_select select = INPUT_CSC_SELECT_BYPASS; in dpp3_cnv_setup() local 227 select = INPUT_CSC_SELECT_ICSC; in dpp3_cnv_setup() 233 select = INPUT_CSC_SELECT_ICSC; in dpp3_cnv_setup() 239 select in dpp3_cnv_setup() [all...] |
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
H A D | ccu_frac.h | 15 u32 select; member 23 .select = _select, \
|
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
H A D | ccu_frac.h | 15 u32 select; member 23 .select = _select, \
|
/third_party/curl/src/ |
H A D | tool_sleep.c | 27 # include <sys/select.h> 59 select(0, NULL, NULL, NULL, &timeout); in tool_go_sleep()
|
/third_party/backends/lib/ |
H A D | usleep.c | 28 # include <sys/select.h> 54 select (0, 0, 0, 0, &delay); in usleep()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | max6697.c | 330 int val, ret, index, select; in offset_store() local 342 select = i2c_smbus_read_byte_data(data->client, MAX6581_REG_OFFSET_SELECT); in offset_store() 343 if (select < 0) { in offset_store() 344 ret = select; in offset_store() 347 channel_enabled = (select & (1 << (index - 1))); in offset_store() 354 select & ~(1 << (index - 1))); in offset_store() 360 select | (1 << (index - 1))); in offset_store() 375 int select, ret, index; in offset_show() local 380 select = i2c_smbus_read_byte_data(data->client, MAX6581_REG_OFFSET_SELECT); in offset_show() 381 if (select < in offset_show() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | max6697.c | 329 int val, ret, index, select; in offset_store() local 341 select = i2c_smbus_read_byte_data(data->client, MAX6581_REG_OFFSET_SELECT); in offset_store() 342 if (select < 0) { in offset_store() 343 ret = select; in offset_store() 346 channel_enabled = (select & (1 << (index - 1))); in offset_store() 353 select & ~(1 << (index - 1))); in offset_store() 359 select | (1 << (index - 1))); in offset_store() 374 int select, ret, index; in offset_show() local 379 select = i2c_smbus_read_byte_data(data->client, MAX6581_REG_OFFSET_SELECT); in offset_show() 380 if (select < in offset_show() [all...] |
/third_party/python/Tools/freeze/ |
H A D | checkextensions.py | 32 files = files + select(e, mods, vars, 35 files = files + select(e, mods, vars, mod, 0) 39 def select(e, mods, vars, mod, skipofiles): function
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_decompress_symbolic.cpp | 53 color = select(color, color_u8, u8_mask); in lerp_color_int() 84 vint4 datai = select(color_unorm, color_lns, lns_mask); in decode_texel() 232 colori = select(colori, colori_u8, u8_mask); in decompress_symbolic_block() 309 vint4 weight = select(vint4(plane1_weights[tix]), vint4(plane2_weights[tix]), plane2_mask); in decompress_symbolic_block() 371 vint4 weight = select(vint4(plane1_weights[i]), vint4(plane2_weights[i]), plane2_mask); in compute_symbolic_block_difference_2plane() 584 colori_r = select(colori_r, colori_r8, vmask(u8_mask.lane<0>())); in compute_symbolic_block_difference_1plane_1partition() 587 colori_g = select(colori_g, colori_g8, vmask(u8_mask.lane<1>())); in compute_symbolic_block_difference_1plane_1partition() 590 colori_b = select(colori_b, colori_b8, vmask(u8_mask.lane<2>())); in compute_symbolic_block_difference_1plane_1partition() 593 colori_a = select(colori_a, colori_a8, vmask(u8_mask.lane<3>())); in compute_symbolic_block_difference_1plane_1partition()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | plurults.cpp | 182 key = empRule->select(i); in testAPI() 247 if ((newRules->select(fData[i])== KEYWORD_A) != isKeywordA[i]) { in testAPI() 305 key= test.select(i); in checkEqual() 346 key[j] = rules[j]->select(n); in testEquality() 407 * as an input to .select() for the rules object, and assert the actual return plural keyword matches 451 UnicodeString resultKeyword = rules->select(values[j]); in testGetSamples() 456 errln("file %s, line %d, Locale %s, sample for keyword \"%s\": %g, select(%g) returns keyword \"%s\"", in testGetSamples() 471 * as an input to .select() for the rules object, and assert the actual return plural keyword matches 521 UnicodeString resultKeyword = rules->select(values[j]); in testGetDecimalQuantitySamples() 526 errln("file %s, line %d, Locale %s, sample for keyword \"%s\": %s, select( in testGetDecimalQuantitySamples() [all...] |