Home
last modified time | relevance | path

Searched refs:shm_name (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D10-1.c27 char *shm_name; in main() local
36 shm_name = malloc(name_max + 3); in main()
38 if (!shm_name) { in main()
43 shm_name[0] = '/'; in main()
45 shm_name[i] = 'a'; in main()
46 shm_name[name_max + 2] = 0; in main()
48 result = shm_unlink(shm_name); in main()
D10-2.c33 char *shm_name; in main() local
40 shm_name = malloc(path_max + 1); in main()
42 if (!shm_name) { in main()
48 shm_name[i] = (i + 1) % COMPONENT_SIZE ? 'a' : '/'; in main()
49 shm_name[path_max] = 0; in main()
51 result = shm_unlink(shm_name); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D39-1.c28 char *shm_name; in main() local
35 shm_name = malloc(name_max + 3); in main()
37 shm_name[0] = '/'; in main()
39 shm_name[i] = 'a'; in main()
40 shm_name[name_max + 2] = 0; in main()
42 fd = shm_open(shm_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
49 shm_unlink(shm_name); in main()
D39-2.c33 char *shm_name; in main() local
40 shm_name = malloc(path_max + 1); in main()
43 shm_name[i] = (i + 1) % COMPONENT_SIZE ? 'a' : '/'; in main()
44 shm_name[path_max] = 0; in main()
46 fd = shm_open(shm_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
53 shm_unlink(shm_name); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
D2-1.c52 char shm_name[] = "tmp_pthread_spinlock_getpshared"; in main() local
57 shm_unlink(shm_name); in main()
59 shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
67 shm_unlink(shm_name); in main()
78 shm_unlink(shm_name); in main()
121 if ((shm_unlink(shm_name)) != 0) { in main()
D2-2.c59 char shm_name[] = "tmp_pthread_spinlock_init"; in main() local
65 shm_unlink(shm_name); in main()
67 shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
75 shm_unlink(shm_name); in main()
86 shm_unlink(shm_name); in main()
127 if ((shm_unlink(shm_name)) != 0) { in main()
/third_party/boost/libs/interprocess/test/
Dwindows_shared_dir_func.cpp46 const char *const shm_name = "test_shm"; in main() local
52 shm_path += shm_name; in main()
55 shared_memory_object::remove(shm_name); in main()
58 shared_memory_object shm(create_only, shm_name, read_write); in main()
68 shared_memory_object::remove(shm_name); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/
D2-1.c54 char shm_name[] = "tmp_pthread_rwlock_getpshared"; in main() local
82 shm_unlink(shm_name); in main()
84 shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
92 shm_unlink(shm_name); in main()
103 shm_unlink(shm_name); in main()
146 if ((shm_unlink(shm_name)) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/
D2-1.c64 char shm_name[] = "tmp_pthread_barrierattr_getpshared"; in main() local
103 shm_unlink(shm_name); in main()
105 shm_open(shm_name, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
113 shm_unlink(shm_name); in main()
123 shm_unlink(shm_name); in main()
205 if ((shm_unlink(shm_name)) != 0) { in main()
/third_party/boost/boost/interprocess/detail/
Dportable_intermodule_singleton.hpp132 …gmem_erase_func(const char *shm_name, const char *singleton_lock_file_path, managed_global_memory … in gmem_erase_func()
133 :shm_name_(shm_name), singleton_lock_file_path_(singleton_lock_file_path), shm_(shm) in gmem_erase_func()
/third_party/glib/gio/
Dgdbusprivate.c2129 read_shm (const char *shm_name) in read_shm() argument
2140 shared_mem = OpenFileMappingA (FILE_MAP_READ, FALSE, shm_name); in read_shm()
2170 set_shm (const char *shm_name, const char *value) in set_shm() argument
2176 0, strlen (value) + 1, shm_name); in set_shm()