Lines Matching defs:field
1398 const char *eq, *field;
1414 field = strndupa(assignment, eq - assignment);
1417 if (streq(field, "CPUQuota")) {
1437 } else if (streq(field, "EnvironmentFile")) {
1444 } else if (STR_IN_SET(field, "AccuracySec", "RandomizedDelaySec", "RuntimeMaxSec")) {
1450 return log_error_errno(r, "Failed to parse %s= parameter: %s", field, eq);
1452 l = strlen(field);
1458 strcpy(mempcpy(n, field, l - 3), "USec");
1463 r = sd_bus_message_append_basic(m, SD_BUS_TYPE_STRING, field);
1467 rl = rlimit_from_string(field);
1488 sn = strjoina(field, "Soft");
1491 } else if (STR_IN_SET(field,
1504 } else if (streq(field, "MemoryLimit")) {
1519 } else if (streq(field, "TasksMax")) {
1534 } else if (STR_IN_SET(field, "CPUShares", "StartupCPUShares")) {
1539 log_error("Failed to parse %s value %s.", field, eq);
1545 } else if (STR_IN_SET(field, "BlockIOWeight", "StartupBlockIOWeight")) {
1550 log_error("Failed to parse %s value %s.", field, eq);
1556 } else if (STR_IN_SET(field,
1565 else if (streq(field, "SyslogLevel")) {
1570 log_error("Failed to parse %s value %s.", field, eq);
1576 } else if (streq(field, "SyslogFacility")) {
1581 log_error("Failed to parse %s value %s.", field, eq);
1587 } else if (streq(field, "DeviceAllow")) {
1611 } else if (STR_IN_SET(field, "BlockIOReadBandwidth", "BlockIOWriteBandwidth")) {
1624 log_error("Failed to parse %s value %s.", field, eq);
1642 } else if (streq(field, "BlockIODeviceWeight")) {
1655 log_error("Failed to parse %s value %s.", field, eq);
1666 log_error("Failed to parse %s value %s.", field, weight);
1672 } else if (streq(field, "Nice")) {
1677 log_error("Failed to parse %s value %s.", field, eq);
1683 } else if (STR_IN_SET(field, "Environment", "PassEnvironment")) {
1707 if (streq(field, "Environment")) {
1730 } else if (streq(field, "KillSignal")) {
1735 log_error("Failed to parse %s value %s.", field, eq);
1741 } else if (streq(field, "TimerSlackNSec")) {
1746 log_error("Failed to parse %s value %s", field, eq);
1751 } else if (streq(field, "OOMScoreAdjust")) {
1756 log_error("Failed to parse %s value %s", field, eq);
1766 } else if (STR_IN_SET(field, "ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories")) {
1785 log_error("Failed to parse %s value %s", field, eq);
1792 log_error("Failed to parse %s value %s", field, eq);
1798 log_error("Failed to parse %s value %s", field, eq);
1815 } else if (streq(field, "RuntimeDirectory")) {
1833 return log_error_errno(r, "Failed to parse %s value %s", field, eq);
1947 * connections OTOH have no initialized sender field, and