Home
last modified time | relevance | path

Searched refs:s_buf (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop05.c74 struct sembuf s_buf; variable
127 s_buf.sem_op = TC[i].op; in main()
128 s_buf.sem_flg = TC[i].flg; in main()
129 s_buf.sem_num = TC[i].num; in main()
200 TEST(semop(sem_id_1, &s_buf, 1)); in do_child()
238 s_buf.sem_op = TC[i].op; in do_child_uclinux()
239 s_buf.sem_flg = TC[i].flg; in do_child_uclinux()
240 s_buf.sem_num = TC[i].num; in do_child_uclinux()
Dsemop02.c45 struct sembuf s_buf[PSEMS]; variable
58 {&sem_id_1, (struct sembuf *)&s_buf, BIGOPS, E2BIG},
59 {&sem_id_2, (struct sembuf *)&s_buf, NSOPS, EACCES},
61 {&sem_id_1, (struct sembuf *)&s_buf, 0, EINVAL},
62 {&bad_id, (struct sembuf *)&s_buf, NSOPS, EINVAL},
63 {&sem_id_1, (struct sembuf *)&s_buf, 1, ERANGE}
133 s_buf[0].sem_op = ipc_buf.semvmx; in setup()
Dsemop03.c60 struct sembuf s_buf; variable
74 s_buf.sem_op = 1; /* add this value to struct sem.semval */ in main()
75 s_buf.sem_flg = SEM_UNDO; /* undo when process exits */ in main()
87 s_buf.sem_num = TC[i]; in main()
93 TEST(semop(sem_id_1, &s_buf, 1)); in main()
Dsemop04.c60 struct sembuf s_buf; variable
98 s_buf.sem_op = TC[i].op; in main()
99 s_buf.sem_flg = TC[i].flg; in main()
100 s_buf.sem_num = TC[i].num; in main()
113 TEST(semop(sem_id_1, &s_buf, 1)); in main()
/external/python/cpython3/Python/
Derrors.c493 WCHAR *s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObjects() local
533 (LPWSTR) &s_buf, in PyErr_SetFromErrnoWithFilenameObjects()
539 s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObjects()
543 while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.')) in PyErr_SetFromErrnoWithFilenameObjects()
544 s_buf[--len] = L'\0'; in PyErr_SetFromErrnoWithFilenameObjects()
545 message = PyUnicode_FromWideChar(s_buf, len); in PyErr_SetFromErrnoWithFilenameObjects()
554 LocalFree(s_buf); in PyErr_SetFromErrnoWithFilenameObjects()
579 LocalFree(s_buf); in PyErr_SetFromErrnoWithFilenameObjects()
628 WCHAR *s_buf = NULL; /* Free via LocalFree */ in PyErr_SetExcFromWindowsErrWithFilenameObjects() local
642 (LPWSTR) &s_buf, in PyErr_SetExcFromWindowsErrWithFilenameObjects()
[all …]
/external/python/cpython2/Python/
Derrors.c322 char *s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObject() local
358 (LPTSTR) &s_buf, in PyErr_SetFromErrnoWithFilenameObject()
366 s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObject()
368 s = s_buf; in PyErr_SetFromErrnoWithFilenameObject()
386 LocalFree(s_buf); in PyErr_SetFromErrnoWithFilenameObject()
429 char *s_buf = NULL; /* Free via LocalFree */ in PyErr_SetExcFromWindowsErrWithFilenameObject() local
443 (LPTSTR) &s_buf, in PyErr_SetExcFromWindowsErrWithFilenameObject()
450 s_buf = NULL; in PyErr_SetExcFromWindowsErrWithFilenameObject()
452 s = s_buf; in PyErr_SetExcFromWindowsErrWithFilenameObject()
465 LocalFree(s_buf); in PyErr_SetExcFromWindowsErrWithFilenameObject()
/external/tensorflow/tensorflow/core/kernels/
Dbias_op_gpu.cu.cc122 extern __shared__ char s_buf[];
129 AccT* s_data = reinterpret_cast<AccT*>(s_buf); in BiasGradNHWC_SharedAtomics()