| /NextBSD/contrib/ntp/libntp/ |
| HD | calyearstart.c | 27 ntpcal_split split; in calyearstart() local 30 split = ntpcal_daysplit(&vlong); in calyearstart() 31 ndays = ntpcal_rd_to_ystart(split.hi + DAY_NTP_STARTS) in calyearstart() 46 ntpcal_split split; in calmonthstart() local 49 split = ntpcal_daysplit(&vlong); in calmonthstart() 50 ndays = ntpcal_rd_to_mstart(split.hi + DAY_NTP_STARTS) in calmonthstart() 65 ntpcal_split split; in calweekstart() local 68 split = ntpcal_daysplit(&vlong); in calweekstart() 69 ndays = ntpcal_weekday_le(split.hi + DAY_NTP_STARTS, CAL_MONDAY) in calweekstart() 82 ntpcal_split split; in caldaystart() local [all …]
|
| HD | ntp_calendar.c | 747 int32_t split[3], in priv_timesplit() 768 split[0] = (int32_t)(uh - ud * HRSPERDAY ); in priv_timesplit() 769 split[1] = (int32_t)(um - uh * MINSPERHR ); in priv_timesplit() 770 split[2] = (int32_t)(us - um * SECSPERMIN); in priv_timesplit() 878 ntpcal_split split; in ntpcal_rd_to_date() local 893 split = ntpcal_split_eradays(rd - 1, &leapy); in ntpcal_rd_to_date() 900 split.hi += 1; in ntpcal_rd_to_date() 901 ymask = 0u - ((split.hi >> 16) == 0); in ntpcal_rd_to_date() 902 jd->year = (uint16_t)(split.hi & ymask); in ntpcal_rd_to_date() 903 jd->yearday = (uint16_t)split.lo + 1; in ntpcal_rd_to_date() [all …]
|
| HD | caljulian.c | 28 ntpcal_split split; in caljulian() local 39 split = ntpcal_daysplit(&vlong); in caljulian() 40 ntpcal_daysplit_to_date(jt, &split, DAY_NTP_STARTS); in caljulian()
|
| /NextBSD/contrib/atf/atf-c++/detail/ |
| D | text_test.cpp | 158 ATF_TEST_CASE(split); 159 ATF_TEST_CASE_HEAD(split) in ATF_TEST_CASE_HEAD() argument 163 ATF_TEST_CASE_BODY(split) in ATF_TEST_CASE_BODY() argument 165 using atf::text::split; in ATF_TEST_CASE_BODY() 169 words = split("", " "); in ATF_TEST_CASE_BODY() 172 words = split(" ", " "); in ATF_TEST_CASE_BODY() 175 words = split(" ", " "); in ATF_TEST_CASE_BODY() 178 words = split("a b", " "); in ATF_TEST_CASE_BODY() 183 words = split("a b c d", " "); in ATF_TEST_CASE_BODY() 190 words = split("foo bar", " "); in ATF_TEST_CASE_BODY() [all …]
|
| /NextBSD/contrib/netbsd-tests/net/bpf/ |
| HD | t_mbuf.c | 53 test_ldb_abs(size_t split) in test_ldb_abs() argument 86 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldb_abs() 90 test_ldh_abs(size_t split) in test_ldh_abs() argument 116 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldh_abs() 120 test_ldw_abs(size_t split) in test_ldw_abs() argument 138 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldw_abs() 142 test_ldb_ind(size_t split) in test_ldb_ind() argument 179 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldb_ind() 183 test_ldw_ind(size_t split) in test_ldw_ind() argument 208 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldw_ind() [all …]
|
| HD | h_bpf.h | 60 unsigned char pkt[], size_t pktsize, size_t split) in init_mchain2() argument 65 mb1->m_next = (split < pktsize) ? mb2 : NULL; in init_mchain2() 66 mb1->m_len = (split < pktsize) ? split : pktsize; in init_mchain2() 68 if (split < pktsize) { in init_mchain2() 71 mb2->m_data = (char *)&pkt[split]; in init_mchain2() 72 mb2->m_len = pktsize - split; in init_mchain2() 111 unsigned char pkt[], size_t pktsize, size_t split) in interp_prog_mchain2() argument 118 args.pkt = init_mchain2(&mb1, &mb2, pkt, pktsize, split); in interp_prog_mchain2() 135 unsigned char pkt[], size_t pktsize, size_t split) in exec_prog_mchain2() argument 142 args.pkt = init_mchain2(&mb1, &mb2, pkt, pktsize, split); in exec_prog_mchain2()
|
| /NextBSD/contrib/netbsd-tests/net/bpfjit/ |
| HD | t_mbuf.c | 54 test_ldb_abs(size_t split) in test_ldb_abs() argument 88 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldb_abs() 92 test_ldh_abs(size_t split) in test_ldh_abs() argument 119 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldh_abs() 123 test_ldw_abs(size_t split) in test_ldw_abs() argument 142 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldw_abs() 146 test_ldb_ind(size_t split) in test_ldb_ind() argument 184 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldb_ind() 188 test_ldw_ind(size_t split) in test_ldw_ind() argument 214 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldw_ind() [all …]
|
| /NextBSD/contrib/ntp/tests/libntp/ |
| HD | calendar.c | 241 ntpcal_split split; in test_DaySplitMerge() local 246 split = ntpcal_daysplit(&merge); in test_DaySplitMerge() 259 TEST_ASSERT_EQUAL(eday, split.hi); in test_DaySplitMerge() 260 TEST_ASSERT_EQUAL(esec, split.lo); in test_DaySplitMerge() 273 ntpcal_split split = ntpcal_split_yeardays(eyd, 0); in test_SplitYearDays1() local 274 if (split.lo >= 0 && split.hi >= 0) { in test_SplitYearDays1() 275 TEST_ASSERT_TRUE(isGT(12,split.hi)); in test_SplitYearDays1() 276 TEST_ASSERT_TRUE(isGT(real_month_days[0][split.hi+1], split.lo)); in test_SplitYearDays1() 277 int32 tyd = real_month_table[0][split.hi] + split.lo; in test_SplitYearDays1() 292 ntpcal_split split = ntpcal_split_yeardays(eyd, 1); in test_SplitYearDays2() local [all …]
|
| /NextBSD/contrib/gcc/ |
| HD | genemit.c | 581 gen_split (rtx split) in gen_split() argument 586 ((GET_CODE (split) == DEFINE_PEEPHOLE2) ? "peephole2" : "split"); in gen_split() 590 if (XVEC (split, 0) == 0) in gen_split() 593 else if (XVEC (split, 2) == 0) in gen_split() 599 max_operand_vec (split, 2); in gen_split() 605 if (GET_CODE (split) == DEFINE_PEEPHOLE2) in gen_split() 625 if (GET_CODE (split) == DEFINE_PEEPHOLE2) in gen_split() 626 output_peephole2_scratches (split); in gen_split() 633 if (XSTR (split, 3)) in gen_split() 635 print_rtx_ptr_loc (XSTR (split, 3)); in gen_split() [all …]
|
| HD | gensupport.c | 69 struct queue_elem *split; member 162 e->split = NULL; in queue_pattern() 304 rtx split; in process_rtx() local 311 split = rtx_alloc (DEFINE_SPLIT); in process_rtx() 314 XVEC (split, 0) = rtvec_alloc (i); in process_rtx() 317 XVECEXP (split, 0, i) = copy_rtx (XVECEXP (desc, 1, i)); in process_rtx() 318 remove_constraints (XVECEXP (split, 0, i)); in process_rtx() 329 XSTR (split, 1) = split_cond; in process_rtx() 330 XVEC (split, 2) = XVEC (desc, 5); in process_rtx() 331 XSTR (split, 3) = XSTR (desc, 6); in process_rtx() [all …]
|
| HD | genconfig.c | 218 gen_split (rtx split) in gen_split() argument 224 for (i = 0; i < XVECLEN (split, 0); i++) in gen_split() 225 walk_insn_part (XVECEXP (split, 0, i), 1, 0); in gen_split() 227 if (XVECLEN (split, 2) > max_insns_per_split) in gen_split() 228 max_insns_per_split = XVECLEN (split, 2); in gen_split()
|
| /NextBSD/tools/tools/notescheck/ |
| HD | notescheck.py | 165 platforms.append(file[len(tree):].split('/')[0]) 201 if len(line) == 0 or len(line.split()) == 0: 206 if line.split()[0][0] == '#': 223 groups = line.split('"') 240 for word in group.split(): 294 name = line.split()[0] 308 words = line.split() 321 option = options.find(words[1].split('=')[0])
|
| /NextBSD/contrib/llvm/tools/clang/lib/Rewrite/ |
| HD | RewriteRope.cpp | 106 RopePieceBTreeNode *split(unsigned Offset); 207 RopePieceBTreeNode *split(unsigned Offset); 234 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() function in RopePieceBTreeLeaf 439 RopePieceBTreeNode *split(unsigned Offset); 470 RopePieceBTreeNode *RopePieceBTreeInterior::split(unsigned Offset) { in split() function in RopePieceBTreeInterior 485 if (RopePieceBTreeNode *RHS = getChild(i)->split(Offset-ChildOffset)) in split() 626 RopePieceBTreeNode *RopePieceBTreeNode::split(unsigned Offset) { in split() function in RopePieceBTreeNode 629 return Leaf->split(Offset); in split() 630 return cast<RopePieceBTreeInterior>(this)->split(Offset); in split() 741 if (RopePieceBTreeNode *RHS = getRoot(Root)->split(Offset)) in insert() [all …]
|
| /NextBSD/sys/powerpc/ps3/ |
| HD | ps3-hv-header.awk | 17 split($5, outs, ",") 19 split("", ins, ",") 21 split($4, ins, ",")
|
| /NextBSD/lib/libc/regex/grot/ |
| HD | Makefile | 25 SRCMISSING = split.c 26 OBJMISSING = split.o 65 main.o: debug.ih main.ih split.ih 66 split.o: split.ih
|
| HD | split.c | 17 split(char *string, char *fields[], int nfields, char *sep) in split() function 169 (void) split(buf, fields, MNF, argv[2]); in main() 191 nf = split(string, fields, NF, seps); in dosplit() 290 nf = split(buf, fields, RNF, tests[n].seps); in regress()
|
| /NextBSD/contrib/bzip2/ |
| HD | bzip2recover.c | 467 Char* split; in main() local 472 split = strrchr (outFileName, BZ_SPLIT_SYM); in main() 473 if (split == NULL) { in main() 474 split = outFileName; in main() 476 ++split; in main() 479 ofs = split - outFileName; in main() 480 sprintf (split, "rec%5d", wrBlock+1); in main() 481 for (p = split; *p != 0; p++) if (*p == ' ') *p = '0'; in main()
|
| /NextBSD/contrib/xz/src/xz/ |
| HD | options.c | 77 char *split = strchr(name, ','); in parse_options() local 78 if (split != NULL) in parse_options() 79 *split = '\0'; in parse_options() 131 if (split == NULL) in parse_options() 134 name = split + 1; in parse_options()
|
| /NextBSD/usr.bin/patch/ |
| HD | patch.c | 766 LINENUM i, j, split; in abort_hunk() local 776 split = -1; in abort_hunk() 779 split = i; in abort_hunk() 783 if (split == -1) { in abort_hunk() 788 j = split + 1; in abort_hunk() 792 while (i < split || j <= pat_end) { in abort_hunk() 793 ch1 = i < split ? pch_char(i) : -1; in abort_hunk() 803 while (i < split && ch1 == '!') { in abort_hunk() 806 ch1 = i < split ? pch_char(i) : -1; in abort_hunk() 820 i, split, j); in abort_hunk()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | DataLayout.cpp | 192 static std::pair<StringRef, StringRef> split(StringRef Str, char Separator) { in split() function 194 std::pair<StringRef, StringRef> Split = Str.split(Separator); in split() 222 std::pair<StringRef, StringRef> Split = split(Desc, '-'); in parseSpecifier() 226 Split = split(Split.first, ':'); in parseSpecifier() 256 Split = split(Rest, ':'); in parseSpecifier() 265 Split = split(Rest, ':'); in parseSpecifier() 274 Split = split(Rest, ':'); in parseSpecifier() 309 Split = split(Rest, ':'); in parseSpecifier() 318 Split = split(Rest, ':'); in parseSpecifier() 335 Split = split(Rest, ':'); in parseSpecifier()
|
| /NextBSD/contrib/netbsd-tests/lib/libc/regex/ |
| HD | split.c | 45 split(char *string, char *fields[], int nfields, const char *sep) in split() function 197 (void) split(buf, fields, MNF, argv[2]); in main() 219 nf = split(string, fields, NF, seps); in dosplit() 318 nf = split(buf, fields, RNF, tests[n].seps); in regress()
|
| /NextBSD/lib/msun/src/ |
| HD | s_fmal.c | 131 static const long double split = 0x1p32L + 1.0; in dd_mul() local 133 static const long double split = 0x1p57L + 1.0; in dd_mul() 138 p = a * split; in dd_mul() 143 p = b * split; in dd_mul()
|
| /NextBSD/contrib/ntp/sntp/libevent/ |
| HD | event_rpcgen.py | 455 return code.split('\n') 479 return code.split('\n') 502 return code.split('\n') 643 return code.split('\n') 724 return code.split('\n') 736 return code.split('\n') 882 return code.split('\n') 907 return code.split('\n') 1022 return code.split('\n') 1115 return code.split('\n') [all …]
|
| /NextBSD/tools/tools/nanobsd/ |
| HD | mtree-dedup.awk | 67 if (split(str, xxx, "=") == 2) { 96 n = split(str, yyy, " "); 99 if (split(s, xxx, "=") == 2)
|
| /NextBSD/contrib/atf/atf-c/detail/ |
| HD | tp_main.c | 210 char *split; in parse_vflag() local 212 split = strchr(arg, '='); in parse_vflag() 213 if (split == NULL) { in parse_vflag() 218 *split = '\0'; in parse_vflag() 219 split++; in parse_vflag() 221 err = atf_map_insert(config, arg, split, false); in parse_vflag()
|