Lines Matching refs:starts_with
313 if name.starts_with("VM_FLAGS_") {
392 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
557 "st_birthtime" if struct_.starts_with("stat") => "__st_birthtime".to_string(),
558 "st_birthtime_nsec" if struct_.starts_with("stat") => "__st_birthtimensec".to_string(),
559 s if s.ends_with("_nsec") && struct_.starts_with("stat") => s.replace("e_nsec", ".tv_nsec"),
654 if ty.starts_with("__c_anonymous_") {
683 n if n.starts_with("P") => true,
684 n if n.starts_with("H") => true,
685 n if n.starts_with("LP") => true,
901 if ty.starts_with("__c_anonymous_") {
1110 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
1119 if ty.starts_with("__c_anonymous_") {
1143 n if n.starts_with("pthread") => true,
1323 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
1344 if ty.starts_with("__c_anonymous_") {
1362 n if n.starts_with("pthread") => true,
1468 t if t.starts_with("__wasi") && t.ends_with("_u") => format!("union {}", t),
1469 t if t.starts_with("__wasi") && is_struct => format!("struct {}", t),
1487 cfg.skip_fn_ptrcheck(|f| f.starts_with("__wasi"));
1672 s if s.ends_with("_nsec") && struct_.starts_with("stat") => s.to_string(),
1703 if ty.starts_with("__c_anonymous_") {
2034 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
2253 if ty.starts_with("__c_anonymous_") {
2514 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
2826 if ty.starts_with("__c_anonymous_") {
3266 s if s.ends_with("_nsec") && struct_.starts_with("stat") => {
3318 if ty.starts_with("__c_anonymous_") {
3322 if (musl || sparc64) && ty.starts_with("uinput_") {
3397 if name.starts_with("AF_")
3398 || name.starts_with("ARPHRD_")
3399 || name.starts_with("EPOLL")
3400 || name.starts_with("F_")
3401 || name.starts_with("FALLOC_FL_")
3402 || name.starts_with("IFLA_")
3403 || name.starts_with("MS_")
3404 || name.starts_with("MSG_")
3405 || name.starts_with("P_")
3406 || name.starts_with("PF_")
3407 || name.starts_with("RLIMIT_")
3408 || name.starts_with("SOL_")
3409 || name.starts_with("STATX_")
3410 || name.starts_with("SW_")
3411 || name.starts_with("SYS_")
3412 || name.starts_with("TCP_")
3413 || name.starts_with("UINPUT_")
3414 || name.starts_with("VMADDR_")
3421 if name.starts_with("J1939")
3422 || name.starts_with("SO_J1939")
3423 || name.starts_with("SCM_J1939")
3791 (struct_ == "timex" && field.starts_with("__unused")) ||
4006 s if s.starts_with("10") => Some(10),
4007 s if s.starts_with("11") => Some(11),
4008 s if s.starts_with("12") => Some(12),
4009 s if s.starts_with("13") => Some(13),
4010 s if s.starts_with("14") => Some(14),
4156 if ty.starts_with("__c_anonymous_") {