Home
last modified time | relevance | path

Searched refs:position (Results 1 – 19 of 19) sorted by relevance

/systemd-251/coccinelle/ !
Dstrempty.cocci7 * position element, which is, apparently, the default value of
9 * matching any "top level" position, including macros. Let's hope we never
12 position p : script:python() {
28 position p : script:python() { p[0].current_element != "strempty" };
36 position p : script:python() { p[0].current_element != "strnull" };
48 position p : script:python() { p[0].current_element != "strnull" };
56 position p : script:python() { p[0].current_element != "strna" };
68 position p : script:python() { p[0].current_element != "strna" };
Dzz-drop-braces.cocci3 position p : script:python() { p[0].file != "src/journal/lookup3.c" };
17 position p : script:python() { p[0].file != "src/journal/lookup3.c" };
Dstrjoina.cocci3 position p : script:python() { p[0].current_element != "test_strjoina" };
Dempty-to-null.cocci4 position p : script:python() { p[0].current_element != "empty_to_null" };
Dmfree_return.cocci4 position p : script:python() { p[0].current_element != "mfree" };
Dxsprintf.cocci3 position p : script:python() { not p[0].file.startswith("man/") };
Ddup-fcntl.cocci4 position p : script:python() { p[0].file != "src/test/test-fd-util.c" };
Dstrjoin.cocci3 position p : script:python() { p[0].current_element != "test_strjoin" };
Dflags-set.cocci6 position p : script:python() {
Disempty.cocci4 position p : script:python() { p[0].file != "src/test/test-string-util.c" };
Dtimestamp-is-set.cocci6 position p : script:python() { p[0].file != "src/basic/time-util.h" };
/systemd-251/src/login/ !
Dlogind-seat.c305 if (s->active && s->active->position > 0) in seat_switch_to_next()
306 start = s->active->position; in seat_switch_to_next()
327 size_t start = s->active && s->active->position > 0 ? s->active->position : 1; in seat_switch_to_previous()
476 unsigned pos = session->position; in seat_evict_position()
478 session->position = 0; in seat_evict_position()
490 if (iter->position == pos && session_get_state(iter) != SESSION_CLOSING) { in seat_evict_position()
507 session->position = pos; in seat_claim_position()
515 if (session->position > 0) in seat_assign_position()
Dlogind-session.c321 fprintf(f, "POSITION=%u\n", s->position); in session_save()
405 *position = NULL, in session_load() local
437 "POSITION", &position, in session_load()
498 if (position && s->seat) { in session_load()
501 safe_atou(position, &npos); in session_load()
Dlogind-session.h62 unsigned position; member
/systemd-251/src/basic/ !
Dstrv.c458 int strv_insert(char ***l, size_t position, char *value) { in strv_insert() argument
466 position = MIN(position, n); in strv_insert()
477 for (size_t i = 0; i < position; i++) in strv_insert()
479 c[position] = value; in strv_insert()
480 for (size_t i = position; i < n; i++) in strv_insert()
Dstrv.h43 int strv_insert(char ***l, size_t position, char *value);
/systemd-251/src/shared/ !
Dformat-table.c1366 size_t position = 0; in format_strv_width() local
1371 if (position == 0) { in format_strv_width()
1373 position = our_len; in format_strv_width()
1374 } else if (size_add(size_add(position, 1), our_len) <= column_width) { in format_strv_width()
1376 position = size_add(size_add(position, 1), our_len); in format_strv_width()
1379 position = our_len; in format_strv_width()
/systemd-251/src/resolve/ !
Dresolvectl.c1389 size_t cols = columns(), position = pos2 - pos1 + 2; in status_print_strv_ifindex() local
1395 if (position <= indent || size_add(size_add(position, 1), our_len) < cols) { in status_print_strv_ifindex()
1397 position = size_add(size_add(position, 1), our_len); in status_print_strv_ifindex()
1400 position = size_add(our_len, indent); in status_print_strv_ifindex()
/systemd-251/ !
DNEWS5157 -Db_pie=true option to meson to build position-independent