Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 33) sorted by relevance

12

/scripts/coccinelle/misc/
Dswap.cocci18 identifier tmp;
25 * T tmp;
27 * T tmp = 0;
29 * T *tmp = NULL;
31 ... when != tmp
32 * tmp = a;
34 * b = tmp;
35 ... when != tmp
38 identifier tmp;
43 * tmp = a;
[all …]
/scripts/
Dnsdeps44 sed '/MODULE_IMPORT_NS/Q' $source_file > ${source_file}.tmp
45 offset=$(wc -l ${source_file}.tmp | awk '{print $1;}')
46 cat $source_file | grep MODULE_IMPORT_NS | LC_ALL=C sort -u >> ${source_file}.tmp
47 tail -n +$((offset +1)) ${source_file} | grep -v MODULE_IMPORT_NS >> ${source_file}.tmp
48 if ! diff -q ${source_file} ${source_file}.tmp; then
49 mv ${source_file}.tmp ${source_file}
51 rm ${source_file}.tmp
Dextract-vmlinux33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
34 check_vmlinux $tmp
48 tmp=$(mktemp /tmp/vmlinux-XXX)
49 trap "rm -f $tmp" 0
Dextract-ikconfig51 tmp1=/tmp/ikconfig$$.1
52 tmp2=/tmp/ikconfig$$.2
Dtags.sh227 local mode=$1 lang tmp=() r
233 asm) tmp=("${regex_asm[@]}") ;;
234 c) tmp=("${regex_c[@]}") ;;
235 kconfig) tmp=("${regex_kconfig[@]}") ;;
DMakefile.lib249 dtc_cpp_flags = -Wp,-MMD,$(depfile).pre.tmp -nostdinc \
394 cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
397 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
398 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
430 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
Dheaders_install.sh22 TMPFILE=$OUTFILE.tmp
DMakefile.compiler23 TMP=$(TMPOUT)/tmp; \
DKbuild.include40 tmp-target = $(dir $@).tmp_$(notdir $@)
102 trap "rm -f $(tmp-target)" EXIT; \
103 { $(filechk_$(1)); } > $(tmp-target); \
104 if [ ! -r $@ ] || ! cmp -s $@ $(tmp-target); then \
106 mv -f $(tmp-target) $@; \
/scripts/dtc/libfdt/
Dlibfdt.h1327 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local
1328 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1362 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local
1363 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1482 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local
1483 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1487 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local
1488 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1694 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local
1695 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
[all …]
Dfdt_rw.c426 char *tmp; in fdt_open_into() local
465 tmp = buf; in fdt_open_into()
467 if (((tmp + newsize) > fdtstart) && (tmp < fdtend)) { in fdt_open_into()
469 tmp = (char *)(uintptr_t)fdtend; in fdt_open_into()
470 if ((tmp + newsize) > ((char *)buf + bufsize)) in fdt_open_into()
474 fdt_packblocks_(fdt, tmp, mem_rsv_size, struct_size, in fdt_open_into()
476 memmove(buf, tmp, newsize); in fdt_open_into()
/scripts/dtc/
Dfdtoverlay.c48 char *tmp = NULL; in apply_one() local
59 tmp = xrealloc(tmp, *buf_len); in apply_one()
60 ret = fdt_open_into(base, tmp, *buf_len); in apply_one()
70 ret = fdt_overlay_apply(tmp, tmpo); in apply_one()
84 return tmp; in apply_one()
88 if (tmp) in apply_one()
89 free(tmp); in apply_one()
/scripts/kconfig/
Dexpr.c318 struct expr *tmp; in expr_eliminate_yn() local
334 tmp = e->right.expr; in expr_eliminate_yn()
336 free(tmp); in expr_eliminate_yn()
350 tmp = e->left.expr; in expr_eliminate_yn()
352 free(tmp); in expr_eliminate_yn()
363 tmp = e->right.expr; in expr_eliminate_yn()
365 free(tmp); in expr_eliminate_yn()
379 tmp = e->left.expr; in expr_eliminate_yn()
381 free(tmp); in expr_eliminate_yn()
404 struct expr *tmp; in expr_join_or() local
[all …]
Dconfdata.c95 char tmp[PATH_MAX + 1]; in make_parent_dir() local
98 strncpy(tmp, path, sizeof(tmp)); in make_parent_dir()
99 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir()
102 p = strrchr(tmp, '/'); in make_parent_dir()
108 p = tmp; in make_parent_dir()
116 if (!is_dir(tmp) && mkdir(tmp, 0755)) in make_parent_dir()
1030 char name[PATH_MAX], tmp[PATH_MAX]; in conf_write_autoconf_cmd() local
1042 ret = snprintf(tmp, sizeof(tmp), "%s.cmd.tmp", autoconf_name); in conf_write_autoconf_cmd()
1043 if (ret >= sizeof(tmp)) /* check truncation */ in conf_write_autoconf_cmd()
1046 out = fopen(tmp, "w"); in conf_write_autoconf_cmd()
[all …]
Dmconf.c315 struct subtitle_list *pos, *tmp; in set_subtitle() local
317 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle()
318 tmp = pos->next; in set_subtitle()
340 struct subtitle_list *pos, *tmp; in reset_subtitle() local
342 for (pos = subtitles; pos != NULL; pos = tmp) { in reset_subtitle()
343 tmp = pos->next; in reset_subtitle()
480 struct jump_key *pos, *tmp; in search_conf() local
495 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
509 int type, tmp, doint = 2; in build_conf() local
653 tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */ in build_conf()
[all …]
Dpreprocess.c92 struct env *e, *tmp; in env_write_dep() local
94 list_for_each_entry_safe(e, tmp, &env_list, node) { in env_write_dep()
334 struct variable *v, *tmp; in variable_all_del() local
336 list_for_each_entry_safe(v, tmp, &variable_list, node) in variable_all_del()
348 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local
355 tmp = xstrndup(str, len); in eval_clause()
362 n = strtoul(tmp, &endptr, 10); in eval_clause()
368 prev = p = tmp; in eval_clause()
439 free(tmp); in eval_clause()
DMakefile52 $(Q)$(PERL) $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
54 cmp -s .tmp.config .config || \
56 mv -f .tmp.config .config; \
60 mv -f .tmp.config .config; \
63 $(Q)rm -f .tmp.config
Dnconf.c813 int type, tmp, doint = 2; in build_conf() local
962 tmp = 2 + strlen(sym_get_string_value(sym)); in build_conf()
965 tmp = indent - tmp + 4; in build_conf()
966 if (tmp < 0) in build_conf()
967 tmp = 0; in build_conf()
968 item_add_str("%*c%s%s", tmp, ' ', in build_conf()
Dmerge_config.sh123 TMP_FILE=$(mktemp ./.tmp.config.XXXXXXXXXX)
Dnconf.gui.c175 char tmp[x+10]; in fill_window() local
178 strncpy(tmp, line, min(len, x)); in fill_window()
179 tmp[len] = '\0'; in fill_window()
180 mvwprintw(win, i, 0, "%s", tmp); in fill_window()
Dconf.c191 int tmp = strtol(env, &endp, 10); in conf_set_all_new_symbols() local
193 if (tmp >= 0 && tmp <= 100) { in conf_set_all_new_symbols()
194 p[n++] = tmp; in conf_set_all_new_symbols()
/scripts/gcc-plugins/
Drandomize_layout_plugin.c203 struct partition_group tmp; in performance_shuffle() local
205 tmp = size_group[i]; in performance_shuffle()
207 size_group[randnum] = tmp; in performance_shuffle()
212 tree tmp; in performance_shuffle() local
222 tmp = newtree[i]; in performance_shuffle()
224 newtree[randnum] = tmp; in performance_shuffle()
234 tree tmp; in full_shuffle() local
236 tmp = newtree[i]; in full_shuffle()
238 newtree[randnum] = tmp; in full_shuffle()
Dlatent_entropy_plugin.c434 tree frame_addr, rand_const, tmp, fndecl, udi_frame_addr; in init_local_entropy() local
455 tmp = create_var(long_unsigned_type_node, "temp_latent_entropy"); in init_local_entropy()
460 assign = gimple_build_assign(tmp, latent_entropy_decl); in init_local_entropy()
465 assign = create_assign(BIT_XOR_EXPR, local_entropy, local_entropy, tmp); in init_local_entropy()
/scripts/genksyms/
Dgenksyms.c504 struct string_list *tmp, **tmp2; in print_list() local
512 tmp = list; in print_list()
513 while ((tmp = tmp->next) != NULL) in print_list()
534 struct string_list *tmp, **tmp2; in expand_and_crc_sym() local
540 tmp = list; in expand_and_crc_sym()
541 while ((tmp = tmp->next) != NULL) in expand_and_crc_sym()
/scripts/mod/
Dfile2alias.c360 char *tmp; in do_of_entry_multi() local
374 for (tmp = alias; tmp && *tmp; tmp++) in do_of_entry_multi()
375 if (isspace(*tmp)) in do_of_entry_multi()
376 *tmp = '_'; in do_of_entry_multi()
722 char *tmp; in do_vio_entry() local
730 for (tmp = alias; tmp && *tmp; tmp++) in do_vio_entry()
731 if (isspace (*tmp)) in do_vio_entry()
732 *tmp = '_'; in do_vio_entry()

12