/openbmc/linux/fs/crypto/ |
H A D | hooks.c | 343 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 D | gcc-common.h | 118 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 D | check-qjson.c | 84 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 D | str.rs | 599 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/linux/tools/perf/ |
H A D | builtin-diff.c | 233 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/libpldm/ |
H A D | .clang-tidy | 200 readability-redundant-string-cstr,
|
/openbmc/obmc-console/ |
H A D | .clang-tidy | 199 readability-redundant-string-cstr,
|
/openbmc/libcper/ |
H A D | .clang-tidy | 199 readability-redundant-string-cstr,
|
/openbmc/phosphor-psu-code-mgmt/ |
H A D | .clang-tidy | 249 readability-redundant-string-cstr,
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | .clang-tidy | 253 readability-redundant-string-cstr,
|
/openbmc/phosphor-state-manager/ |
H A D | .clang-tidy | 278 readability-redundant-string-cstr,
|
/openbmc/phosphor-led-manager/ |
H A D | .clang-tidy | 277 readability-redundant-string-cstr,
|
/openbmc/estoraged/ |
H A D | .clang-tidy | 283 readability-redundant-string-cstr,
|
/openbmc/phosphor-time-manager/ |
H A D | .clang-tidy | 295 readability-redundant-string-cstr,
|
/openbmc/phosphor-led-sysfs/ |
H A D | .clang-tidy | 298 readability-redundant-string-cstr,
|
/openbmc/entity-manager/ |
H A D | .clang-tidy | 332 readability-redundant-string-cstr,
|
/openbmc/dbus-sensors/ |
H A D | .clang-tidy | 357 readability-redundant-string-cstr,
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/ |
H A D | 0001-Forward-port-to-OpenSSL-1.1.x.patch | 290 acc->method = OBJ_txt2obj(type.cstr(), 0);
|
/openbmc/bmcweb/ |
H A D | .clang-tidy | 375 readability-redundant-string-cstr,
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | rv32-rustix-libc-backend.patch | 19 …":"bd443c60868586c1a3114afacc95193de1d8cb99b7c9d710e0b3835596c74a24","src/cstr.rs":"41af2a4429fe6c… 21 …":"bd443c60868586c1a3114afacc95193de1d8cb99b7c9d710e0b3835596c74a24","src/cstr.rs":"41af2a4429fe6c…
|
H A D | rv32-cargo-rustix-0.38.28-fix.patch | 37 …":"7237847231f9d2bd070606262a25de6351de666f95065972967a5f2aae6fef0e","src/cstr.rs":"41af2a4429fe6c… 39 …":"7237847231f9d2bd070606262a25de6351de666f95065972967a5f2aae6fef0e","src/cstr.rs":"41af2a4429fe6c…
|
/openbmc/qemu/ |
H A D | meson.build | 4030 # We would like to use --generate-cstr, but it is only available
|