| /linux/rust/syn/ |
| H A D | group.rs | 15 pub content: ParseBuffer<'a>, field 24 pub content: ParseBuffer<'a>, field 33 pub content: ParseBuffer<'a>, field 43 pub content: ParseBuffer<'a>, field 49 parse_delimited(input, Delimiter::Parenthesis).map(|(span, content)| Parens { in parse_parens() 51 content, in parse_parens() 58 parse_delimited(input, Delimiter::Brace).map(|(span, content)| Braces { in parse_braces() 60 content, in parse_braces() 67 parse_delimited(input, Delimiter::Bracket).map(|(span, content)| Brackets { in parse_brackets() 69 content, in parse_brackets() [all …]
|
| H A D | restriction.rs | 80 if group.content.is_empty() { in parse() 101 let content; in parse_pub() localVariable 102 let paren_token = parenthesized!(content in ahead); in parse_pub() 103 if content.peek(Token![crate]) in parse_pub() 104 || content.peek(Token![self]) in parse_pub() 105 || content.peek(Token![super]) in parse_pub() 107 let path = content.call(Ident::parse_any)?; in parse_pub() 113 if content.is_empty() { in parse_pub() 122 } else if content.peek(Token![in]) { in parse_pub() 123 let in_token: Token![in] = content.parse()?; in parse_pub() [all …]
|
| H A D | pat.rs | 500 let content; in pat_tuple_struct() localVariable 501 let paren_token = parenthesized!(content in input); in pat_tuple_struct() 504 while !content.is_empty() { in pat_tuple_struct() 505 let value = Pat::parse_multi_with_leading_vert(&content)?; in pat_tuple_struct() 507 if content.is_empty() { in pat_tuple_struct() 510 let punct = content.parse()?; in pat_tuple_struct() 524 let content; in pat_struct() localVariable 525 let brace_token = braced!(content in input); in pat_struct() 529 while !content.is_empty() { in pat_struct() 530 let attrs = content.call(Attribute::parse_outer)?; in pat_struct() [all …]
|
| H A D | ty.rs | 382 let content; in ambig_ty() localVariable 383 let paren_token = parenthesized!(content in input); in ambig_ty() 384 if content.is_empty() { in ambig_ty() 390 if content.peek(Lifetime) { in ambig_ty() 393 elem: Box::new(Type::TraitObject(content.parse()?)), in ambig_ty() 396 if content.peek(Token![?]) { in ambig_ty() 403 ..content.parse()? in ambig_ty() 421 let mut first: Type = content.parse()?; in ambig_ty() 422 if content.peek(Token![,]) { in ambig_ty() 428 elems.push_punct(content.parse()?); in ambig_ty() [all …]
|
| H A D | expr.rs | 1628 let content; in trailer_helper() localVariable 1632 paren_token: parenthesized!(content in input), in trailer_helper() 1633 args: content.parse_terminated(Expr::parse, Token![,])?, in trailer_helper() 1671 let content; in trailer_helper() localVariable 1678 paren_token: parenthesized!(content in input), in trailer_helper() 1679 args: content.parse_terminated(Expr::parse, Token![,])?, in trailer_helper() 1692 let content; in trailer_helper() localVariable 1696 bracket_token: bracketed!(content in input), in trailer_helper() 1697 index: content.parse()?, in trailer_helper() 1723 let content; in trailer_expr() localVariable [all …]
|
| H A D | lib.rs | 989 pub fn parse_file(mut content: &str) -> Result<File> { in parse_file() 992 if content.starts_with(BOM) { in parse_file() 993 content = &content[BOM.len()..]; in parse_file() 997 if content.starts_with("#!") { in parse_file() 998 let rest = whitespace::skip(&content[2..]); in parse_file() 1000 if let Some(idx) = content.find('\n') { in parse_file() 1001 shebang = Some(content[..idx].to_string()); in parse_file() 1002 content = &content[idx..]; in parse_file() 1004 shebang = Some(content.to_string()); in parse_file() 1005 content = ""; in parse_file() [all …]
|
| H A D | discouraged.rs | 216 if let Some((content, delimiter, span, rest)) = cursor.any_group() { in parse_any_delimiter() 218 let nested = crate::parse::advance_step_cursor(cursor, content); in parse_any_delimiter() 220 let content = crate::parse::new_parse_buffer(scope, nested, unexpected); in parse_any_delimiter() localVariable 221 Ok(((delimiter, span, content), rest)) in parse_any_delimiter()
|
| /linux/tools/testing/selftests/filesystems/fuse/ |
| H A D | fuse_mnt.c | 19 static char *content; variable 70 if (!content || content_size == 0) in test_read() 79 memcpy(buf, content + offset, size); in test_read() 98 content = realloc(content, new_size); in test_write() 102 if (!content) in test_write() 105 memcpy(content + offset, buf, size); in test_write() 116 free(content); in test_truncate() 117 content = NULL; in test_truncate() 122 content = realloc(content, size); in test_truncate() 124 if (!content) in test_truncate() [all …]
|
| /linux/Documentation/sphinx-static/ |
| H A D | theme_overrides.css | 15 h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend { 43 .rst-content .highlight > pre { 48 .rst-content table.field-list th.field-name { 52 .rst-content table.field-list td.field-body { 59 /* content column 61 * RTD theme's default is 800px as max width for the content, but we have 65 .wy-nav-content{max-width: none; } 76 .rst-content table.docutils caption { text-align: left; font-size: 100%; } 84 caption, .wy-table caption, .rst-content table.field-list caption { 103 .rst-content .section ul li:last-child, .rst-content .section ul li p:last-child { [all …]
|
| /linux/tools/testing/ktest/examples/bootconfigs/ |
| H A D | verify-functiongraph.sh | 8 content=`cat $file` 9 if [ "$content" != "$val" ]; then 10 echo "FAILED: $file has '$content', expected '$val'" 18 content=`cat $file | sed -ne "/^$val/p"` 19 if [ -z "$content" ]; then 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 42 if [ -z "$content" ]; then
|
| H A D | verify-tracing.sh | 8 content=`cat $file` 9 if [ "$content" != "$val" ]; then 10 echo "FAILED: $file has '$content', expected '$val'" 18 content=`cat $file | sed -ne "/^$val/p"` 19 if [ -z "$content" ]; then 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 42 if [ -z "$content" ]; then
|
| H A D | verify-boottrace.sh | 8 content=`cat $file` 9 if [ "$content" != "$val" ]; then 10 echo "FAILED: $file has '$content', expected '$val'" 18 content=`cat $file | sed -ne "/^$val/p"` 19 if [ -z "$content" ]; then 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 42 if [ -z "$content" ]; then
|
| /linux/rust/macros/ |
| H A D | module.rs | 42 fn emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) { in emit_base() 49 content = content in emit_base() 86 fn emit_only_builtin(&mut self, field: &str, content: &str, param: bool) { in emit_only_builtin() 87 self.emit_base(field, content, true, param) in emit_only_builtin() 90 fn emit_only_loadable(&mut self, field: &str, content: &str, param: bool) { in emit_only_loadable() 91 self.emit_base(field, content, false, param) in emit_only_loadable() 94 fn emit(&mut self, field: &str, content: &str) { in emit() 95 self.emit_internal(field, content, false); in emit() 98 fn emit_internal(&mut self, field: &str, content: &str, param: bool) { in emit_internal() 99 self.emit_only_builtin(field, content, param); in emit_internal() [all …]
|
| /linux/tools/lib/python/abi/ |
| H A D | abi_parser.py | 99 content = None 105 content = match.group(3) 127 if content not in self.what_symbols: 128 self.add_symbol(what=content, fname=fdata.fname, ln=fdata.ln) 131 fdata.what.append(content.strip("\n")) 141 fdata.label = content 144 key = "abi_" + content.lower() 161 "what": [content], 169 self.what_refs[content] = fdata.key 174 t = (content, fdata.key) [all …]
|
| /linux/scripts/ |
| H A D | asn1_compiler.c | 305 char *content; member 329 val = memcmp(token->content, dir, clen); in directive_compare() 423 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 424 if (!tokens[tix].content) { in tokenise() 428 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise() 429 tokens[tix].content[tokens[tix].size] = 0; in tokenise() 434 if (islower(tokens[tix].content[0])) { in tokenise() 463 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise() 464 if (!tokens[tix].content) { in tokenise() 468 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise() [all …]
|
| H A D | insert-sys-cert.c | 64 void *content; member 130 s->content = (void *)hdr + s->offset; in get_symbol_from_map() 181 s->content = (void *)hdr + s->offset; in get_symbol_from_table() 380 lsize = (unsigned long *)lsize_sym.content; in main() 381 used = (int *)used_sym.content; in main() 390 strncmp(cert_sym.content, cert, cert_size) == 0) { in main() 398 memcpy(cert_sym.content, cert, cert_size); in main() 400 memset(cert_sym.content + cert_size, in main()
|
| /linux/Documentation/sphinx/ |
| H A D | kernel_abi.py | 106 content = ViewList() 145 content.append(line, f, ln - 1) 158 if content: 159 self.do_parse(content, node) 160 content = ViewList() 171 def do_parse(self, content, node): argument 172 with switch_source_input(self.state, content): 173 self.state.nested_parse(content, 0, node, match_titles=1)
|
| /linux/fs/exfat/ |
| H A D | fatent.c | 39 unsigned int *content) in __exfat_ent_get() argument 52 *content = le32_to_cpu(*(__le32 *)(&bh->b_data[off])); in __exfat_ent_get() 55 if (*content > EXFAT_BAD_CLUSTER) in __exfat_ent_get() 56 *content = EXFAT_EOF_CLUSTER; in __exfat_ent_get() 63 unsigned int content) in exfat_ent_set() argument 78 *fat_entry = cpu_to_le32(content); in exfat_ent_set() 86 unsigned int *content) in exfat_ent_get() argument 98 err = __exfat_ent_get(sb, loc, content); in exfat_ent_get() 106 if (*content == EXFAT_FREE_CLUSTER) { in exfat_ent_get() 113 if (*content == EXFAT_BAD_CLUSTER) { in exfat_ent_get() [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | generator.py | 59 content = fd.read() 62 return content 143 content = self._read_file(file_to_patch) 144 content = content.replace(marker, line + "\n" + marker) 145 self.__write_file(file_to_patch, content) 207 def __write_file(self, file_name, content): argument 213 file.write(content) 217 def _create_file(self, file_name, content): argument 221 self.__write_file(path, content)
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | sec.c | 31 u32 content; in rtw_sec_write_cam() local 50 content = ((key->keyidx & 0x3)) | in rtw_sec_write_cam() 58 content = (cam->addr[2]) | in rtw_sec_write_cam() 65 content = 0; in rtw_sec_write_cam() 69 content = (key->key[j]) | in rtw_sec_write_cam() 77 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content); in rtw_sec_write_cam()
|
| /linux/fs/afs/ |
| H A D | mntpt.c | 124 const char *content; in afs_mntpt_set_params() local 133 content = afs_get_link(mntpt, d_inode(mntpt), &cleanup); in afs_mntpt_set_params() 134 if (IS_ERR(content)) { in afs_mntpt_set_params() 136 return PTR_ERR(content); in afs_mntpt_set_params() 140 if (content[size - 1] == '.') in afs_mntpt_set_params() 142 &QSTR_LEN(content, size - 1)); in afs_mntpt_set_params()
|
| /linux/tools/testing/selftests/tc-testing/plugin-lib/ |
| H A D | valgrindPlugin.py | 130 content = vfd.read() 131 def_mo = self.definitely_lost_re.search(content) 132 ind_mo = self.indirectly_lost_re.search(content) 133 pos_mo = self.possibly_lost_re.search(content) 134 nle_mo = self.non_leak_error_re.search(content) 150 res.append_failmsg(content)
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-dv.rst | 98 the AVI InfoFrame. The term 'IT Content' is used for content that 99 originates from a computer as opposed to content from a TV broadcast 101 the possible content types: 110 - Graphics content. Pixel data should be passed unfiltered and 113 - Photo content. The content is derived from digital still pictures. 114 The content should be passed through with minimal scaling and 117 - Cinema content. 119 - Game content. Audio and video latency should be minimized. 157 InfoFrame. The term 'IT Content' is used for content that originates 158 from a computer as opposed to content from a TV broadcast or an [all …]
|
| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs.sh | 12 content=$2 15 if ! echo "$content" > "$file" 17 echo "writing $content to $file failed" 26 content=$2 29 if (echo "$content" > "$file") 2> /dev/null 31 echo "writing $content to $file succeed ($fail_reason)"
|
| /linux/fs/cachefiles/ |
| H A D | xattr.c | 24 __u8 content; /* Content presence (enum cachefiles_content) */ member 60 buf->content = object->content_info; in cachefiles_set_object_xattr() 62 buf->content = CACHEFILES_CONTENT_DIRTY; in cachefiles_set_object_xattr() 81 buf->content, in cachefiles_set_object_xattr() 90 buf->content, in cachefiles_set_object_xattr() 140 } else if (buf->content == CACHEFILES_CONTENT_DIRTY) { in cachefiles_check_auxdata() 152 buf->content, why); in cachefiles_check_auxdata()
|