PageRenderTime 394ms queryFilters 0ms Sphinxql 273ms app.CodeModel.GetByIds 69ms findMatchingLines 18ms GetByIds 87ms meta 0ms repositoryFilters 8ms languageFilters 10ms sourceFilters 3ms

4,916,907 results for 'foreach' (394 ms)

Source

Language

Repository

vc8.mpd https://bitbucket.org/wownsk/core_tbc | Unknown | 1,026 lines
117<%endif%>
118                                PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%><%dynamicflag%>;<%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%><%staticflag%>;<%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%><%pch_define%>;<%endfor%><%endif%><%foreach(defines common_defines cpu_defines platform_defines macros)%><%define%><%fornotlast(";")%><%endfor%><%if(macro_for_lib_modifier)%><%if(use_lib_modifier)%><%if(lib_modifier)%>;MPC_LIB_MODIFIER=\&quot;<%lib_modifier%>\&quot;<%endif%><%endif%><%endif%>"
119<%if(IgnoreStandardIncludePath)%>
319<%if(type_is_binary)%>
320				AdditionalDependencies="<%foreach(reverse(libs))%><%fornotfirst(" ")%><%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%><%endfor%><%foreach(reverse(lit_libs))%> <%lit_lib%>.lib<%endfor%><%foreach(reverse(pure_libs))%> <%pure_lib%><%endfor%>"
321<%endif%>
807						Description="Invoking <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> on <%custom_type->input_file%>"
808						CommandLine="<%if(custom_type->libpath)%>PATH=%PATH%;<%custom_type->libpath%>&#x0D;&#x0A;<%endif%><%if(flag_overrides(custom_type->input_file, gendir))%>if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>&#x0D;&#x0A;<%endif%><%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> <%if(custom_type->output_option)%>&quot;<%custom_type->input_file%>&quot; <%custom_type->output_option%><%foreach(custom_type->input_file->output_files)%> &quot;<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%>&quot;<%endfor%><%else%>&quot;<%custom_type->input_file%>&quot;<%endif%><%if(flag_overrides(custom_type->input_file, postcommand))%><%foreach(custom_type->input_file)%> &amp;&amp; <%flag_overrides(custom_type->input_file, postcommand)%><%endfor%><%else%><%if(custom_type->postcommand)%><%foreach(custom_type->input_file)%> &amp;&amp; <%custom_type->postcommand%><%endfor%><%endif%><%endif%><%if(pch_header)%><%if(custom_type->pch_postrule)%><%foreach(custom_type->input_file->source_output_files)%> &amp;&amp; echo #include &quot;<%pch_header%>&quot; &gt; temporary.src &amp;&amp; type &quot;<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>&quot; &gt;&gt; temporary.src &amp;&amp; move /y temporary.src &quot;<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>&quot;<%endfor%><%endif%><%endif%>"
809<%if(flag_overrides(custom_type->input_file, dependent))%>
809<%if(flag_overrides(custom_type->input_file, dependent))%>
810						AdditionalDependencies="<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%><%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
811<%else%>
812<%if(custom_type->dependent)%>
813						AdditionalDependencies="<%foreach(custom_type->dependent)%><%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
814<%else%>
vc6.mpd https://bitbucket.org/wownsk/core_tbc | Unknown | 381 lines
55<%endif%>
56# ADD CPP /nologo <%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/Ob0")%><%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%>/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines common_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"<%intermediate_dir%>\<%noextension(project_file)%>\<%noextension(pch_header)%>.pch" <%endif%>/FD /c
57<%if(compile_flags_removed)%>
60<%if(midl_includes)%># ADD MTL <%foreach(midl_includes)%>/I "<%midl_include%>" <%endfor%><%endif%>
61# ADD MTL <%foreach(defines)%>/D "<%define%>" <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%foreach(midl_defines)%>/D "<%midl_define%>" <%endfor%><%midl_flags%>
62# ADD RSC /l 0x409<%foreach(defines macros)%> /d <%define%><%endfor%><%if(unicode)%> /d UNICODE /d _UNICODE<%endif%><%foreach(includes)%> /i "<%include%>"<%endfor%>
66LINK32=link.exe
67# ADD LINK32 <%systemlibs("advapi32.lib user32.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%> <%endfor%><%foreach(reverse(lit_libs))%><%lit_lib%>.lib <%endfor%><%foreach(reverse(pure_libs))%><%pure_lib%> <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>" <%endfor%>/nologo<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:<%subsystem("windows")%><%if(pdbl)%><%if(sharedname)%> /pdb:"<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"<%else%><%if(exename)%> /pdb:"<%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"<%endif%><%endif%><%else%> /pdb:none<%endif%><%if(type_is_dynamic)%> /implib:"<%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>" <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%debug_switch("/debug")%> /machine:<%machine("I386")%> /out:"<%if(sharedname)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(exename)%><%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
68<%if(link_flags_removed)%>
318<%if(flag_overrides(custom_type->input_file, dependent))%>
319USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>"<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
320<%else%>
321<%if(custom_type->dependent)%>
322USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(custom_type->dependent)%>"<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
323<%else%>
nmake.mpd https://bitbucket.org/wownsk/core_tbc | Unknown | 347 lines
80<%if(source_files || pch_source)%>
81	$(DEPGEN)<%foreach(includes)%> -I"<%include%>"<%endfor%><%foreach(defines cpu_defines common_defines platform_defines macros)%> -D<%define%><%endfor%><%if(unicode)%> -DUNICODE -D_UNICODE<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%> -D<%dynamicflag%><%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%> -D<%staticflag%><%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%> -D<%pch_define%><%endfor%><%endif%> -f "<%noextension(project_file)%>.dep"<%foreach(source_files)%> "<%source_file%>"<%endfor%><%if(pch_source)%> "<%pch_source%>"<%endif%>
82<%else%>
135CPP=<%cc("cl.exe")%>
136CPP_COMMON=<%if(TreatWChar_tAsBuiltInType)%>/Zc:wchar_t <%endif%>/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/Ob0")%><%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(managed)%> /EHsc- /Gm- /clr<%endif%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines platform_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(macro_for_lib_modifier)%><%if(use_lib_modifier)%><%if(lib_modifier)%>/D MPC_LIB_MODIFIER=\"<%lib_modifier%>\"<%endif%><%endif%><%endif%> /FD /c
137<%if(pch_header)%>CPP_PCH=<%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"$(INTDIR)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch"<%endif%>
146LINK32=<%link("link.exe")%>
147LINK32_FLAGS=<%systemlibs%><%if(link_options)%> <%link_options%><%endif%> <%if(managed)%>/FIXED:NO <%endif%>/INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%> <%endfor%><%foreach(reverse(lit_libs))%><%lit_lib%>.lib <%endfor%><%foreach(reverse(pure_libs))%><%pure_lib%> <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>" <%endfor%>/nologo<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:<%subsystem("windows")%><%if(type_is_dynamic)%> <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%debug_switch("/debug")%> <%if(pdbl)%>/pdb:"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%><%if(type_is_static)%>$(OUTDIR)\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%>" <%endif%>/machine:<%machine("I386")%> /out:"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"<%if(type_is_dynamic)%> /implib:"$(OUTDIR)\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endif%>
148<%endif%>
245
246CPP_SWITCHES=<%if(TreatWChar_tAsBuiltInType)%>/Zc:wchar_t <%endif%>/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags%><%else%><%debug_flags%><%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines platform_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%>/Fp"$(INTDIR)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch" /Yc"<%pch_header%>" <%endif%>/FD /c
247
278
279<%foreach(custom_type->input_file->output_files)%>"<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%>" <%endfor%>: $(SOURCE) <%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%><%if(flag_overrides(custom_type->input_file, dependent))%><%foreach(dep, flag_overrides(custom_type->input_file, dependent))%> "<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%endfor%><%else%><%if(custom_type->dependent)%><%foreach(custom_type->dependent)%> "<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%endfor%><%endif%><%endif%>
280	<<tempfile.bat
em3.mpd https://bitbucket.org/wownsk/core_tbc | Unknown | 396 lines
61RSC=rc.exe
62# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CePlatform)"<%foreach(defines common_defines cpu_defines macros)%> /d <%define%><%endfor%><%foreach(includes)%> /i "<%include%>"<%endfor%> /r
63CPP=<%cpp("cl.exe")%>
63CPP=<%cpp("cl.exe")%>
64# ADD CPP /nologo <%if(optimize)%>/O2<%else%>/Ob0<%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>/<%endif%>"<%endif%> <%cpu_options%> <%foreach(includes)%>/I "<%include%>" <%endfor%>/D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) <%foreach(defines common_defines cpu_defines macros)%>/D <%define%> <%endfor%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%noextension(pch_header)%>.pch" <%endif%> /FD /Gy /c
65<%if(compile_flags_removed)%>
71LINK32=link.exe
72# ADD LINK32 <%systemlibs("winsock.lib commctrl.lib coredll.lib iphlpapi.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%> <%endfor%><%foreach(reverse(lit_libs))%><%lit_lib%>.lib <%endfor%><%foreach(reverse(pure_libs))%><%pure_lib%> <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>\<%machine%>" <%endfor%>/nologo /base:"<%base("0x00010000")%>" <%if(type_is_dynamic)%> /implib:"<%libout%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>" /entry:"_DllMainCRTStartup"<%endif%> /nodefaultlib:"$(CENoDefaultLib)<%foreach(ignore_libs)%>,<%ignore_lib%><%endfor%>"<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:$(CESubsystem) /align:"<%align("4096")%>"<%if(pdbl)%><%if(sharedname)%> /pdb:"<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"<%else%><%if(exename)%> /pdb:"<%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%machine%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"<%endif%><%endif%><%else%> /pdb:none<%endif%> <%if(type_is_dynamic)%> <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%if(use_debug_libraries)%>/debug <%endif%>/machine:<%machine%> /out:"<%if(sharedname)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(exename)%><%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%machine%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
73<%if(link_flags_removed)%>
332<%if(flag_overrides(custom_type->input_file, dependent))%>
333USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>"<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
334<%else%>
335<%if(custom_type->dependent)%>
336USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(custom_type->dependent)%>"<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
337<%else%>
TemplateParser.pm https://bitbucket.org/wownsk/core_tbc | Perl | 2,037 lines
28# 0 means there is a get_ method available (used by if and nested functions)
29# 1 means there is a perform_ method available (used by foreach and nested)
30# 2 means there is a doif_ method available (used by if)
117  $self->{'foreach'}->{'count'}      = -1;
118  $self->{'foreach'}->{'nested'}     = 0;
119  $self->{'foreach'}->{'name'}       = [];
191  if ($_[0]->{'foreach'}->{'count'} >= 0) {
192    $_[0]->{'foreach'}->{'text'}->[$_[0]->{'foreach'}->{'count'}] .= $_[1];
193  }
1940          if ($self->{'foreach'}->{'count'} < 0 ||
1941              $self->{'foreach'}->{'processing'} > $self->{'foreach'}->{'nested'} ||
1942              (($efcheck || $focheck) &&
1942              (($efcheck || $focheck) &&
1943               $self->{'foreach'}->{'nested'} == $self->{'foreach'}->{'processing'})) {
1944            ($errorString, $nlen) = $self->process_name($item);
Reports.pm https://bitbucket.org/cgj/mercury-qc | Perl | 1,366 lines
84    my $columnOffset = 0;
85    foreach my $column (@columns) {
86        my ($width, $name) = split ',', $column;
140
141    foreach my $defect (@{$defects_ref}) {
142
246
247    foreach $manager (sort keys %team) {
248        $team{$manager}{valid} += 0;
248        $team{$manager}{valid} += 0;
249        foreach my $item qw(total rcPhase rcCategory rcReason) {
250            $team{$manager}{invalid}{$item} += 0;
275    )->{Row};
276    foreach my $row (3 .. $usedRows - 1) {
277        push @categoryRows, $row if $sheet->Cells($row, 2)->{Value};
Core.xotcl https://bitbucket.org/pgaubatz/xosaml | Unknown | 1,054 lines
48	set heritage [list]
49	foreach c [[my class] info heritage] {
50		if { [namespace qualifiers $c] eq "::xoXSD" } break
59	# create new instances of all classchildren
60	foreach c [concat [my class] [lreverse $heritage]] {
61		foreach	child [$c info classchildren] {
67	
68	foreach slot [my __getLocalSlots] {
69		set slotclass [namespace tail [$slot class]]
102	set slots [list]
103	foreach slot [my __getLocalSlots] {
104		if { [namespace tail [$slot class]] eq "XMLAttribute" } {
110	my __sequence [list]
111	foreach slot [lsort -integer -index 1 $slots] {
112		set slot [lindex $slot 0]
ImplGen.cst https://bitbucket.org/eglimi/storm | Unknown | 737 lines
23		{ <%
24			foreach(MethodInfo mInfo in Factory.GetMethods(BindingFlags.DeclaredOnly|BindingFlags.Instance|BindingFlags.Public))
25			{
28				bool notFirst = false;
29				foreach(ParameterInfo pInfo in mInfo.GetParameters())
30				{
73		<%
74		foreach(MethodInfo mInfo in Finder.GetMethods(BindingFlags.DeclaredOnly|BindingFlags.Instance|BindingFlags.Public))
75		{
80				bool notFirst = false;
81				foreach(ParameterInfo pInfo in mInfo.GetParameters())
82				{
91					paramString.Append(pInfo.Name);
92					foreach(Attribute paramAttr in pInfo.GetCustomAttributes(true))
93					{
KDefProcessor.d https://bitbucket.org/h3r3tic/boxen | D | 883 lines
90	void dispose() {
91		foreach (ref mod; _modules) {
92			delete mod;
100		Stdout.formatln("got {} modules:", _modules.keys.length);
101		foreach (name, mod; _modules) {
102			Stdout.formatln("mod {}:", name);
116	int converters(int delegate(ref SemanticConverter) dg) {
117		foreach (name, mod; _modules) {
118			foreach (ref conv; mod.converters) {
142		
143		foreach (k, ref v; this.kernels) {
144			assert (v.impl.id.isValid);
165	int kernelImpls(int delegate(ref KernelImpl) dg) {
166		foreach (n, k; this.kernels) {
167			if (int r = dg(*k.impl)) {
KernelGraphOps.d https://bitbucket.org/h3r3tic/boxen | D | 1,888 lines
66) {
67	foreach (src; kg.flow.iterIncomingConnections(dstNid)) {
68		foreach (fl; kg.flow.iterDataFlow(src, dstNid)) {
147		(int delegate(ref GraphNodeId) sink) {
148			foreach (nid; dstGraphTopological) {
149				if (int r = sink(nid)) {
177
178	foreach (dummy; graph.flow.iterIncomingConnections(input)) {
179		error(
189	final outputPorts = LocalDynArray!(NodeParam)(stack);
190	foreach (ref fromParam; *graph.getNode(input).getParamList()) {
191		if (fromParam.isOutput) {
201	// input node to the inputs of the output node from the first graph
202	foreach (id; dstGraphTopological) {
203		if (inputNodeIsFunc && input == id) {
Graph.d https://bitbucket.org/h3r3tic/boxen | D | 1,479 lines
66	int iterAllConnections(int delegate(ref Connection) dg) {
67		foreach (n; _nodes) {
68			foreach (o; n.outgoing) {
85		GraphNode nodeToDelete = null;
86		foreach (n; _nodes) {
87			if (!n.doGUI) {
103
104		foreach (ni, n; this.nodes) {
105			VarDef[1] vars;
120			(void delegate(lazy NC) gen) {
121				foreach (n; nodes) {
122					foreach (con; n.outgoing) {
122					foreach (con; n.outgoing) {
123						foreach (flow; con.flow) {
124							if (depOutputConnectorName == flow.from) {
user_transaction.dwt https://bitbucket.org/luxi78/fengyu | Unknown | 1,082 lines
46        <script type="text/javascript">
47          {foreach from=$lang.profile_js item=item key=key}
48            var {$key} = "{$item}";
48            var {$key} = "{$item}";
49          {/foreach}
50        </script>
96                </tr>
97		{foreach from=$extend_info_list item=field}
98		<tr>
103		</tr>
104		{/foreach}
105                <tr>
136      <script type="text/javascript">
137        {foreach from=$lang.profile_js item=item key=key}
138          var {$key} = "{$item}";
goods.dwt https://bitbucket.org/luxi78/fengyu | Unknown | 640 lines
68  <div id="category_tree">
69    <!--{foreach from=$categories item=cat}-->
70     <dl>
71     <dt><a href="{$cat.url}">{$cat.name|escape:html}</a></dt>
72     <!--{foreach from=$cat.children item=child}-->
73     <dd><a href="{$child.url}">{$child.name|escape:html}</a></dd>
73     <dd><a href="{$child.url}">{$child.name|escape:html}</a></dd>
74     <!--{/foreach}-->
75     </dl>
75     </dl>
76    <!--{/foreach}-->
77  </div>
89      <div class="boxCenterList clearfix">
90      <!--{foreach from=$related_goods item=goods}-->
91        <ul class="clearfix">
flow.dwt https://bitbucket.org/luxi78/fengyu | Unknown | 901 lines
31  <script type="text/javascript">
32  {foreach from=$lang.password_js item=item key=key}
33    var {$key} = "{$item}";
33    var {$key} = "{$item}";
34  {/foreach}
35  </script>
52            </tr>
53            <!-- {foreach from=$goods_list item=goods} -->
54            <tr>
73                  <div id="suit_{$goods.goods_id}" style="display:none">
74                      <!-- {foreach from=$goods.package_goods_list item=package_goods_list} -->
75                        <a href="goods.php?id={$package_goods_list.goods_id}" target="_blank" class="f6">{$package_goods_list.goods_name}</a><br />
75                        <a href="goods.php?id={$package_goods_list.goods_id}" target="_blank" class="f6">{$package_goods_list.goods_name}</a><br />
76                      <!-- {/foreach} -->
77                  </div>
user_transaction.dwt https://bitbucket.org/luxi78/fengyu | Unknown | 1,099 lines
33<script type="text/javascript">
34	{foreach from=$lang.profile_js item=item key=key}
35		var {$key} = "{$item}";
35		var {$key} = "{$item}";
36	{/foreach}
37</script>
85						</tr>
86					  {foreach from=$extend_info_list item=field}
87						<tr>
92						</tr>
93						{/foreach}
94						<tr>
126<script type="text/javascript">
127	{foreach from=$lang.profile_js item=item key=key}
128		var {$key} = "{$item}";
pcbsketchwidget.cpp https://bitbucket.org/steve918/fritzing | C++ | 1,700 lines
206	QUndoCommand * parentCommand = NULL;
207	foreach (QGraphicsItem * item, scene()->selectedItems()) {
208		Wire * wire = dynamic_cast<Wire *>(item);
255		makeWiresChangeConnectionCommands(chained, parentCommand);
256		foreach (Wire * c, chained) {
257			makeDeleteItemCommand(c, BaseCommand::SingleView, parentCommand);
277		rat->collectChained(rats, ends, uniqueEnds);
278		foreach (Wire * r, rats) {
279			makeChangeRoutedCommand(r, true, getRatsnestOpacity(true), parentCommand);
287{
288	foreach (QGraphicsItem * item, scene()->selectedItems()) {
289		Wire * wire = dynamic_cast<Wire *>(item);
296			wire->collectChained(wires, ends, uniqueEnds);
297			foreach (Wire * w, wires) {
298				w->setAutoroutable(!exclude);
autorouter1.cpp https://bitbucket.org/steve918/fritzing | C++ | 2,303 lines
239	int edgesDone = 0;
240	foreach (Edge * edge, edges) {
241		QList<ConnectorItem *> fromConnectorItems;
252		QList<Subedge *> subedges;
253		foreach (ConnectorItem * from, fromConnectorItems) {
254			QPointF p1 = from->sceneAdjustedTerminalPoint(NULL);
254			QPointF p1 = from->sceneAdjustedTerminalPoint(NULL);
255			foreach (ConnectorItem * to, toConnectorItems) {
256				subedges.append(makeSubedge(p1, from, to->sceneAdjustedTerminalPoint(NULL), to));
261		drawingNet.append(toConnectorItems);
262		foreach (QList<ConnectorItem *> * pconnectorItems, m_allPartConnectorItems) {
263			if (pconnectorItems->contains(edge->from)) {
269
270		foreach (Wire * wire, fromTraces) {
271			addSubedge(wire, toConnectorItems, subedges);
grammar.cpp https://bitbucket.org/lippo/spanalyzer | C++ | 917 lines
114    QList<term> right;
115    foreach(QString part, parts) {
116        QString s = UnShield(part);
148        it.next();
149        foreach(QList<term> termList, it.value()) {
150            res.append(it.key()+" -> ");
150            res.append(it.key()+" -> ");
151            foreach(term t, termList)
152                res.append(t.s + " ");
161    QString res;
162    foreach(QString A, hash.uniqueKeys()) {
163        QString a = A.mid(1, A.length()-2);
164        res.append(a+"\t[");
165        foreach(QStringList sl, F->value(A)) {
166            res.append("[");
theme.inc https://bitbucket.org/leishao/drupal | Pascal | 2,029 lines
99  // Grab stylesheets from base theme
100  foreach ($base_theme as $base) {
101    if (!empty($base->stylesheets)) {
101    if (!empty($base->stylesheets)) {
102      foreach ($base->stylesheets as $media => $stylesheets) {
103        foreach ($stylesheets as $name => $stylesheet) {
111  if (!empty($theme->stylesheets)) {
112    foreach ($theme->stylesheets as $media => $stylesheets) {
113      foreach ($stylesheets as $name => $stylesheet) {
119  // And now add the stylesheets properly
120  foreach ($final_stylesheets as $media => $stylesheets) {
121    foreach ($stylesheets as $stylesheet) {
129  // Grab scripts from base theme
130  foreach ($base_theme as $base) {
131    if (!empty($base->scripts)) {
clusters-of-atoms.tex https://bitbucket.org/berteun/texample | Unknown | 160 lines
51    %first row
52    \foreach \x  in {1.5,2,2.5,3,3.5,4}%
53        \shadedraw [ball color= red] (\x,1,-0.5) circle (0.25cm);
55        \shadedraw [ball color= red] (\x,1,0) circle (0.25cm);
56    \foreach \x  in {1,1.5,2,2.5,3,3.5,4,4.5}%
57        \shadedraw [ball color= red] (\x,1,0.5) circle (0.25cm);
57        \shadedraw [ball color= red] (\x,1,0.5) circle (0.25cm);
58    \foreach \x  in {0.75,1.25,1.75,2.25,2.75,3.25,3.75,4.25,4.75}%
59        \shadedraw [ball color= red] (\x,1,1) circle (0.25cm);
59        \shadedraw [ball color= red] (\x,1,1) circle (0.25cm);
60    \foreach \x  in {0.5,1,1.5,2,2.5,3,3.5,4,4.5,5}%
61        \shadedraw [ball color= red] (\x,1,1.5) circle (0.25cm);
131    %second row
132    \foreach \x  in {7} %this foreach is used to be general, but it makes no sense if we put just one sphere!
133        \shadedraw [ball color=yellow] (\x,3,13.25) circle (0.25cm);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21