Home
last modified time | relevance | path

Searched full:main (Results 1 – 25 of 5785) sorted by relevance

12345678910>>...232

/openbmc/linux/tools/build/feature/
H A Dtest-all.c3 * test-all.c: Try to build all the main testcases at once.
13 #define main main_test_libpython macro
15 #undef main
17 #define main main_test_libperl macro
19 #undef main
21 #define main main_test_hello macro
23 #undef main
25 #define main main_test_libelf macro
27 #undef main
29 #define main main_test_get_current_dir_name macro
[all …]
/openbmc/openbmc/poky/meta/conf/machine/include/arm/
H A Darch-armv8m-main.inc2 # Defaults for ARMv8-m.main
4 DEFAULTTUNE ?= "armv8m-main"
10 TUNEVALID[armv8m-main] = "Enable instructions for ARMv8-m.main"
11 TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-main', ' -march=armv8-m.main', …
12 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-main', 'armv8m-main:', '', d)}"
14 TUNECONFLICTS[armv8m-main] = "armv4 armv5 armv6 armv7a"
16 AVAILTUNES += "armv8m-main armv8m-maine armv8m-main-vfpv5spd16…
17 ARMPKGARCH:tune-armv8m-main = "armv8m-main"
18 ARMPKGARCH:tune-armv8m-maine = "armv8m-main"
19 ARMPKGARCH:tune-armv8m-main-vfpv5spd16 = "armv8m-main"
[all …]
H A Darch-armv8-1m-main.inc3 # Defaults for ARMv8.1-M.main
5 DEFAULTTUNE ?= "armv8-1m-main"
7 TUNEVALID[armv8-1m-main] = "Enable instructions for ARMv8.1-m.main"
8 …GS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-1m-main', ' -march=armv8.1-m.main', '', …
9 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-1m-main', 'armv8-1m-main:', '', d…
11 TUNECONFLICTS[armv8-1m-main] = "armv4 armv5 armv6 armv7a"
13 require conf/machine/include/arm/arch-armv8m-main.inc
15 AVAILTUNES += "armv8-1m-main"
16 ARMPKGARCH:tune-armv8-1m-main = "armv8-1m-main"
17 TUNE_FEATURES:tune-armv8-1m-main = "armv8-1m-main"
[all …]
/openbmc/linux/tools/virtio/ringtest/
H A DMakefile10 main.o: main.c main.h
11 ring.o: ring.c main.h
12 ptr_ring.o: ptr_ring.c main.h ../../../include/linux/ptr_ring.h
13 virtio_ring_0_9.o: virtio_ring_0_9.c main.h
14 virtio_ring_poll.o: virtio_ring_poll.c virtio_ring_0_9.c main.h
15 virtio_ring_inorder.o: virtio_ring_inorder.c virtio_ring_0_9.c main.h
16 ring: ring.o main.o
17 virtio_ring_0_9: virtio_ring_0_9.o main.o
18 virtio_ring_poll: virtio_ring_poll.o main.o
19 virtio_ring_inorder: virtio_ring_inorder.o main.o
[all …]
/openbmc/linux/tools/perf/tests/
H A Dhists_cumulate.c29 /* perf [perf] main() */
37 /* perf [perf] main() */
41 /* bash [bash] main() */
54 /* schedule => run_command => main */
56 /* main */
58 /* cmd_record => run_command => main */
60 /* malloc => cmd_record => run_command => main */
63 /* free => cmd_record => run_command => main */
66 /* main */
68 /* page_fault => sys_perf_event_open => run_command => main */
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/daemontools/daemontools/
H A D0001-Fix-signature-of-main-function.patch4 Subject: [PATCH] Fix signature of main function
35 -int main()
36 +int main(int argc, char *argv[])
48 -int main()
49 +int main(int argc, char *argv[])
61 -int main()
62 +int main(int argc, char *argv[])
73 -int main()
76 +int main(int argc, char *argv[])
89 -main()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib.sh107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
108 fib4_trap_check $ns "table main 192.0.2.1/32 dev dummy1" true
109 check_err $? "Main table route in hardware when should not"
114 # Test that local routes can replace routes in main table.
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
116 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" false
117 check_err $? "Main table route not in hardware when should"
121 check_err $? "Local table route did not replace route in main table when should"
123 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" true
124 check_err $? "Main table route was not replaced when should"
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lvgl/files/
H A D0005-Add-DRM-KMS-example-support.patch6 Extend the main.c to support both legacy fbdev and DRM/KMS initialization.
20 main.c | 8 ++++++++
29 add_executable(main main.c mouse_cursor_icon.c)
31 -target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} m pthrea…
35 +target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm…
36 add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main)
38 diff --git a/main.c b/main.c
40 --- a/main.c
41 +++ b/main.c
H A D0006-Add-SDL2-example-support.patch6 Extend the main.c to support both legacy fbdev, DRM/KMS, SDL2 initialization.
29 main.c | 8 ++++++++
36 @@ -15,6 +15,10 @@ add_executable(main main.c mouse_cursor_icon.c)
40 -target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm…
45 +target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${SDL2_I…
46 add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main)
48 diff --git a/main.c b/main.c
50 --- a/main.c
51 +++ b/main.c
H A D0004-Factor-out-fbdev-initialization-code.patch14 main.c | 18 ++++++++++++++----
17 diff --git a/main.c b/main.c
19 --- a/main.c
20 +++ b/main.c
25 -int main(void)
41 +int main(void)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/
H A D0001-cpuburn-a8.S-Remove-.func-.endfunc.patch25 .global main
27 -.func main
28 .type main, %function
29 main:
31 @@ -88,4 +87,3 @@ main:
44 -.func main
46 main:
48 @@ -70,4 +69,3 @@ main:
61 -.func main
62 .type main, %function
[all …]
/openbmc/qemu/docs/devel/
H A Dmultiple-iothreads.rst14 The main loop and ``IOThread``\ s
21 The default event loop is called the main loop (see ``main-loop.c``). It is
25 Side note: The main loop and ``IOThread`` are both event loops but their code is
31 ``IOThread``\ s allow the user to control the placement of work. The main loop is a
33 several ``IOThread``\ s instead of just one main loop. When set up correctly this
36 The main loop is also deeply associated with the BQL, which is a
37 scalability bottleneck in itself. vCPU threads and the main loop use the BQL
41 The fact that all I/O processing is done in a single main loop and that the
42 BQL is contended by all vCPU threads and the main loop explain
53 The main difference between legacy code and new code that can run in an
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/
H A D0001-scripts-build-Fix-the-tests-to-build-with-clang15.patch18 -echo "main(int ac, char *av[]) { int i; }" > ${BASE}$$.c
19 +echo "int main(int ac, char *av[]) { int i; }" > ${BASE}$$.c
27 - echo "main(int ac, char *av[])" >> ${BASE}$$.c
28 + echo "int main(int ac, char *av[])" >> ${BASE}$$.c
36 -echo "main() { char a[256], b[256]; bcopy(a, b, 256); }" >> ${BASE}$$.c
37 +echo "int main() { char a[256], b[256]; bcopy(a, b, 256); }" >> ${BASE}$$.c
44 -echo "main() { char* buf = valloc(123); }" >> ${BASE}$$.c
45 +echo "int main() { char* buf = valloc(123); }" >> ${BASE}$$.c
53 -echo "main() { off64_t off; }" >> ${BASE}$$.c
54 +echo "int main() { off64_t off; }" >> ${BASE}$$.c
[all …]
/openbmc/qemu/include/qemu/
H A Dmain-loop.h34 #define TYPE_MAIN_LOOP "main-loop"
43 * qemu_init_main_loop: Set up the process so that it can run the main loop.
47 * main one should block signals that are trapped by the main loop.
58 * main_loop_wait: Run one iteration of the main loop.
61 * one actually occurs. The main loop usually consists of a loop that
64 * Main loop services include file descriptor callbacks, bottom halves
70 * case, the coroutine actually should be started from within the main loop,
71 * so that the main loop can run whenever the coroutine yields. To do this,
72 * you can use a bottom half to enter the coroutine as soon as the main loop
95 * qemu_get_aio_context: Return the main loop's AioContext
[all …]
/openbmc/linux/tools/perf/Documentation/
H A Dcallchain-overhead-calculation.txt33 int main(void) {
40 child of 'main' so 'foo' also is a child of 'main'. In other words,
41 'main' is a parent of 'foo' and 'bar', and 'bar' is a parent of 'foo'.
54 main
60 main
76 100.00% 0.00% main
78 --- main
84 main
91 main
96 'children' overhead of 'bar', 'main' and '\_\_libc_start_main'.
[all …]
/openbmc/phosphor-pid-control/tools/
H A Dfan_rpm_loop_unittest.sh24 if main 0 0; then
25 echo "main 0 0 not rejected?"
28 if main 1 0; then
29 echo "main 1 0 not rejected?"
35 main 1000 5005 || return
38 function main() { function
48 # not sourced, execute main function
49 main "$@"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/tokyocabinet/tokyocabinet/
H A D0001-configure-Fix-check-functions-for-AC_CHECK_LIB-test.patch20 -AC_CHECK_LIB(c, main)
21 -AC_CHECK_LIB(m, main)
26 - AC_CHECK_LIB(pthread, main)
27 - AC_CHECK_LIB(rt, main)
33 - AC_CHECK_LIB(z, main)
38 - AC_CHECK_LIB(bz2, main)
43 - AC_CHECK_LIB(lzma, main)
48 - AC_CHECK_LIB(lzo2, main)
51 -AC_CHECK_LIB(tokyocabinet, main, AC_MSG_WARN([old version of Tokyo Cabinet was detected]))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gtkperf/gtkperf/
H A D0001-main.c-Define-prototype-for-setup_appdata.patch4 Subject: [PATCH] main.c: Define prototype for setup_appdata
9 src/main.c | 2 ++
12 diff --git a/src/main.c b/src/main.c
14 --- a/src/main.c
15 +++ b/src/main.c
23 main (int argc, char **argv)
/openbmc/openbmc/meta-google/recipes-google/test/test-sh/
H A Dtest.sh25 main || exit
44 ! main || exit
60 ! main || exit
72 ! main || exit
84 main || exit
96 ! main || exit
109 main || exit
121 ! main || exit
133 main || exit
145 ! main || exit
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/
H A D0009-Fix-quoting-for-BUILD_WITH.patch16 src/main/libfreeradius-server.mk | 2 +-
17 src/main/unittest.mk | 2 +-
21 diff --git a/src/main/libfreeradius-server.mk b/src/main/libfreeradius-server.mk
23 --- a/src/main/libfreeradius-server.mk
24 +++ b/src/main/libfreeradius-server.mk
32 diff --git a/src/main/unittest.mk b/src/main/unittest.mk
34 --- a/src/main/unittest.mk
35 +++ b/src/main/unittest.mk
/openbmc/openbmc/poky/meta/recipes-extended/zip/zip-3.0/
H A D0001-configure-Specify-correct-function-signatures-and-de.patch28 - echo "int main(){ $func(); return 0; }" > conftest.c
35 +int main(){ rmdir(NULL); return 0; }
43 +int main(){ strchr(NULL,0); return 0; }
51 +int main(){ strrchr(NULL,0); return 0; }
59 +int main(){ rename(NULL,NULL); return 0; }
67 +int main(){ mktemp(NULL); return 0; }
75 +int main(){ mktime(NULL); return 0; }
83 +int main(){ return mkstemp(NULL); }
89 -echo "int main(){ char k; memset(&k,0,0); return 0; }" > conftest.c
92 +int main(){ char k; memset(&k,0,0); return 0; }
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A D0001-configure-Add-correct-system-headers-and-prototypes-.patch29 - echo "int main(){ $func(); return 0; }" > conftest.c
36 +int main(){ fchmod(0,0); return 0; }
44 +int main(){ fchown(0,0,0); return 0; }
52 +int main(){ lchown(NULL,0,0); return 0; }
60 +int main(){ nl_langinfo(0); return 0; }
71 -echo "int main(){ char k; memset(&k,0,0); return 0; }" > conftest.c
74 +int main(){ char k; memset(&k,0,0); return 0; }
82 -main()
83 +int main()
93 int main() { return closedir(opendir(".")); }
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb-examples/
H A D0001-spacedream-Add-typecast-to-pthread_t-in-assignment.patch12 src/spacedream/main.c | 4 ++--
15 diff --git a/src/spacedream/main.c b/src/spacedream/main.c
17 --- a/src/spacedream/main.c
18 +++ b/src/spacedream/main.c
20 int main( int argc, char *argv[] )
28 @@ -344,7 +344,7 @@ int main( int argc, char *argv[] )
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-console/gnome-console/
H A D0001-include-locale.h-for-setlocale.patch9 ../gnome-console-47.0/src/main.c:29:3: error: call to undeclared function 'setlocale'; ISO C99 and …
12 ../gnome-console-47.0/src/main.c:29:14: error: use of undeclared identifier 'LC_ALL'
19 src/main.c | 2 +-
22 diff --git a/src/main.c b/src/main.c
24 --- a/src/main.c
25 +++ b/src/main.c
/openbmc/openbmc/poky/documentation/sdk-manual/
H A Dworking-projects.rst59 main()
176 The main point of this section is to explain the following three cases
239 You need a ``main.c`` file from which you call your function, a
245 - ``main.c``::
249 int main()
295 all: main.o module.o
296 ${CC} main.o module.o -o target_bin
297 main.o: main.c module.h
298 ${CC} -I . -c main.c
311 …586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux -I . -c main.c
[all …]

12345678910>>...232