Home
last modified time | relevance | path

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

/external/python/cffi/c/
Dmisc_win32.h92 WCHAR *s_buf = NULL; /* Free via LocalFree */ in b_getwinerror() local
115 (LPWSTR) &s_buf, in b_getwinerror()
123 while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.')) in b_getwinerror()
124 s_buf[--len] = L'\0'; in b_getwinerror()
125 message = PyUnicode_FromWideChar(s_buf, len); in b_getwinerror()
131 LocalFree(s_buf); in b_getwinerror()
140 char *s_buf = NULL; /* Free via LocalFree */ in b_getwinerror() local
164 (LPTSTR) &s_buf, in b_getwinerror()
171 s_buf = NULL; in b_getwinerror()
173 s = s_buf; in b_getwinerror()
[all …]
/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.c577 WCHAR *s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObjects() local
617 (LPWSTR) &s_buf, in PyErr_SetFromErrnoWithFilenameObjects()
623 s_buf = NULL; in PyErr_SetFromErrnoWithFilenameObjects()
627 while (len > 0 && (s_buf[len-1] <= L' ' || s_buf[len-1] == L'.')) in PyErr_SetFromErrnoWithFilenameObjects()
628 s_buf[--len] = L'\0'; in PyErr_SetFromErrnoWithFilenameObjects()
629 message = PyUnicode_FromWideChar(s_buf, len); in PyErr_SetFromErrnoWithFilenameObjects()
638 LocalFree(s_buf); in PyErr_SetFromErrnoWithFilenameObjects()
663 LocalFree(s_buf); in PyErr_SetFromErrnoWithFilenameObjects()
713 WCHAR *s_buf = NULL; /* Free via LocalFree */ in PyErr_SetExcFromWindowsErrWithFilenameObjects() local
731 (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/deqp-deps/amber/tests/cases/
Dshader_specialization.amber103 BUFFER s_buf DATA_TYPE uint32 SIZE 16 FILL 0
113 BIND BUFFER s_buf AS storage DESCRIPTOR_SET 0 BINDING 3
118 EXPECT s_buf IDX 0 EQ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/external/tensorflow/tensorflow/core/kernels/
Dbias_op_gpu.cu.cc131 GPU_DYNAMIC_SHARED_MEM_DECL(8, char, s_buf); in BiasGradNHWC_SharedAtomics()
132 AccT* s_data = reinterpret_cast<AccT*>(s_buf); in BiasGradNHWC_SharedAtomics()