Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/fs/crypto/
H A Dhooks.c343 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local
373 cstr.name = (unsigned char *)sd->encrypted_path; in fscrypt_get_symlink()
374 cstr.len = le16_to_cpu(sd->len); in fscrypt_get_symlink()
376 if (cstr.len == 0) in fscrypt_get_symlink()
379 if (cstr.len + sizeof(*sd) > max_size) in fscrypt_get_symlink()
382 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink()
386 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink()
/openbmc/linux/scripts/gcc-plugins/
H A Dgcc-common.h118 tree cstr, elem, index, type; in build_const_char_string() local
120 cstr = build_string(len, str); in build_const_char_string()
124 TREE_TYPE(cstr) = type; in build_const_char_string()
125 TREE_CONSTANT(cstr) = 1; in build_const_char_string()
126 TREE_READONLY(cstr) = 1; in build_const_char_string()
127 TREE_STATIC(cstr) = 1; in build_const_char_string()
128 return cstr; in build_const_char_string()
/openbmc/qemu/tests/unit/
H A Dcheck-qjson.c84 QString *cstr; in escaped_string() local
90 cstr = from_json_str(test_cases[i].json_in, j, &error_abort); in escaped_string()
91 g_assert_cmpstr(qstring_get_str(cstr), in escaped_string()
94 jstr = to_json_str(cstr); in escaped_string()
98 qobject_unref(cstr); in escaped_string()
100 cstr = from_json_str(test_cases[i].json_in, j, NULL); in escaped_string()
101 g_assert(!cstr); in escaped_string()
116 char *cstr; in string_with_quotes() local
122 cstr = g_strndup(test_cases[i] + 1, strlen(test_cases[i]) - 2); in string_with_quotes()
123 g_assert_cmpstr(qstring_get_str(str), ==, cstr); in string_with_quotes()
[all …]
/openbmc/linux/rust/kernel/
H A Dstr.rs599 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
602 buf.try_extend_from_slice(cstr.as_bytes_with_nul()) in try_from()
/openbmc/openbmc/poky/meta/recipes-gnome/librsvg/
H A Dlibrsvg-crates.inc44 crate://crates.io/const-cstr/0.3.0 \
54 crate://crates.io/cstr/0.2.11 \
316 SRC_URI[const-cstr-0.3.0.sha256sum] = "ed3d0b5ff30645a68f35ece8cea4556ca14ef8a1651455f789a099a05135…
326 SRC_URI[cstr-0.2.11.sha256sum] = "8aa998c33a6d3271e3678950a22134cd7dd27cef86dee1b611b5b14207d1d90b"
/openbmc/linux/tools/perf/
H A Dbuiltin-diff.c233 char *cstr = (char *) str; in setup_compute() local
258 cstr = buf; in setup_compute()
262 if (!strcmp(cstr, compute_names[i])) { in setup_compute()
/openbmc/libcper/
H A D.clang-tidy199 readability-redundant-string-cstr,
/openbmc/obmc-console/
H A D.clang-tidy199 readability-redundant-string-cstr,
/openbmc/libpldm/
H A D.clang-tidy200 readability-redundant-string-cstr,
/openbmc/phosphor-bmc-code-mgmt/
H A D.clang-tidy253 readability-redundant-string-cstr,
/openbmc/phosphor-state-manager/
H A D.clang-tidy278 readability-redundant-string-cstr,
/openbmc/phosphor-led-manager/
H A D.clang-tidy277 readability-redundant-string-cstr,
/openbmc/phosphor-psu-code-mgmt/
H A D.clang-tidy249 readability-redundant-string-cstr,
/openbmc/estoraged/
H A D.clang-tidy283 readability-redundant-string-cstr,
/openbmc/phosphor-time-manager/
H A D.clang-tidy294 readability-redundant-string-cstr,
/openbmc/phosphor-led-sysfs/
H A D.clang-tidy298 readability-redundant-string-cstr,
/openbmc/entity-manager/
H A D.clang-tidy332 readability-redundant-string-cstr,
/openbmc/bmcweb/
H A D.clang-tidy363 readability-redundant-string-cstr,
/openbmc/dbus-sensors/
H A D.clang-tidy357 readability-redundant-string-cstr,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A D0001-Forward-port-to-OpenSSL-1.1.x.patch290 acc->method = OBJ_txt2obj(type.cstr(), 0);
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drv32-rustix-libc-backend.patch19 …":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c…
21 …":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c…
H A Drv32-cargo-rustix-0.38.19-fix.patch37 …":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c…
39 …":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c…