/external/ltp/testcases/cve/ |
cve-2016-7042.c | 38 static key_serial_t key; variable 45 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING); 46 if (key == -1) 47 tst_brk(TBROK, "Failed to add key"); 49 if (keyctl(KEYCTL_UPDATE, key, "b", 1)) 50 tst_brk(TBROK, "Failed to update key"); 62 if (keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING)) 63 tst_brk(TBROK, "Failed to unlink key"); 64 key = 0; 75 if (key > 0 && keyctl(KEYCTL_UNLINK, key, KEY_SPEC_SESSION_KEYRING) [all...] |
/external/ltp/testcases/kernel/mem/shmt/ |
shmt02.c | 60 key_t key; local 63 key = (key_t) getpid(); 67 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) {
|
shmt05.c | 52 key_t key[2]; variable 65 key[0] = (key_t) lrand48(); 66 key[1] = (key_t) lrand48(); 73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) { 91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) {
|
shmt07.c | 64 key_t key; local 66 key = (key_t) getpid(); 72 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) {
|
shmt08.c | 52 key_t key; variable 61 key = (key_t) getpid(); 65 if ((shmid = shmget(key, 24 * K_1, IPC_CREAT | 0666)) < 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setspecific/ |
1-2.c | 10 * shall acssociate a thread-specific value with a key obtained via a previouse call to 11 * pthread_key_create. Different threads may bind different values to the same key. 12 * Calling pthread_setspecific with a key value not obtiained from pthread_key_create of after 13 * the key has been deleted with pthread_key_delete is undefined. 16 * 1. Create a key 17 * 2. Bind a value from the main thread to this key 18 * 3. Create a thread and bind another value to this key 19 * 4. Compare the values bound to the key between the main thread and the newly created thread, 33 pthread_key_t key; variable 39 /* Bind a value to key for this thread (this will be different from the valu [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_sf.c | 50 struct brw_sf_prog_key *key ) 64 c.key = *key; 66 if (c.key.do_point_coord) { 85 switch (key->primitive) { 96 if (key->do_point_sprite) 126 &c.key, sizeof(c.key), 139 struct brw_sf_prog_key key; local 158 memset(&key, 0, sizeof(key)) [all...] |
brw_vec4_tcs.h | 44 const struct brw_tcs_prog_key *key, 81 const struct brw_tcs_prog_key *key; member in class:brw::vec4_tcs_visitor
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
HelpCommandHandler.java | 46 String key = StringUtil.join(parameters, " ");
local 47 String help = getServerConfiguration().getHelpText(key);
49 sendReply(session, ReplyCodes.HELP_OK, "help.noHelpTextDefined", list(key));
|
/external/python/cpython3/Modules/clinic/ |
_weakref.c.h | 34 "_remove_dead_weakref($module, dct, key, /)\n" 37 "Atomically remove key from dict if it points to a dead weakref."); 44 PyObject *key); 51 PyObject *key; local 54 &PyDict_Type, &dct, &key)) { 57 return_value = _weakref__remove_dead_weakref_impl(module, dct, key);
|
/external/skia/src/gpu/ |
GrTextureRenderTargetProxy.cpp | 80 const GrUniqueKey& key = this->getUniqueKey(); local 83 kFlags, this->mipMapped(), key.isValid() ? &key : nullptr)) { 86 if (key.isValid()) { 87 SkASSERT(key == this->getUniqueKey());
|
/external/skia/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 69 int key = (int)fRenderPass << 2; local 71 key |= 2; 74 key |= 1; 81 b->add32(key);
|
/external/skia/src/pdf/ |
SkKeyedImage.h | 31 const SkBitmapKey& key() const { return fKey; } function in class:SkKeyedImage 42 * Given an Image, return the Bitmap Key that corresponds to it. If the Image 43 * wraps a Bitmap, use that Bitmap's key.
|
/external/skqp/src/gpu/ |
GrTextureRenderTargetProxy.cpp | 73 const GrUniqueKey& key = this->getUniqueKey(); local 77 key.isValid() ? &key : nullptr)) { 80 if (key.isValid()) { 81 SkASSERT(key == this->getUniqueKey());
|
/external/skqp/src/gpu/ccpr/ |
GrCCCoverageProcessor.cpp | 69 int key = (int)fRenderPass << 1; local 71 key |= 1; 78 b->add32(key);
|
/external/skqp/src/pdf/ |
SkKeyedImage.h | 31 const SkBitmapKey& key() const { return fKey; } function in class:SkKeyedImage 42 * Given an Image, return the Bitmap Key that corresponds to it. If the Image 43 * wraps a Bitmap, use that Bitmap's key.
|
/external/strace/ |
ipc_msg.c | 48 const int key = (int) tcp->u_arg[0]; local 49 if (key) 50 tprintf("%#x", key);
|
ipc_shm.c | 55 const int key = (int) tcp->u_arg[0]; local 56 if (key) 57 tprintf("%#x", key);
|
/external/syslinux/com32/libutil/ |
keyname.c | 31 * Conversion between strings and get_key() key numbers. 46 int key; member in struct:keyname 102 return name->key; /* KEY_NONE at end of array */ 105 const char *key_code_to_name(int key) 110 if (key < 0) 113 if (key > ' ' && key < 0x100) { 114 if (key & 0x60) { 115 buf[0] = key; 119 buf[1] = key | 0x40 [all...] |
/external/syslinux/gpxe/src/core/ |
monojob.c | 66 int key; local 77 key = getchar(); 78 switch ( key ) {
|
/external/syslinux/gpxe/src/usr/ |
ifmgmt.c | 112 int key; local 131 key = getchar(); 132 if ( key == CTRL_C ) {
|
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_worker.cc | 60 const string& key = request->rendezvous_key(); local 61 TRACEPRINTF("RecvTensor: %lld %s", step_id, key.c_str()); 63 s = Rendezvous::ParseKey(key, &parsed); 73 // Request the tensor associated with the rendezvous key. Any time
|
/external/tensorflow/tensorflow/core/common_runtime/ |
session_state.cc | 77 string key = it->second.GetHandle(op_name); local 78 TF_RETURN_IF_ERROR(session_state->AddTensor(key, it->second.tensor));
|
/external/tensorflow/tensorflow/stream_executor/ |
multi_platform_manager.cc | 29 string key = port::Lowercase(platform->Name()); local 31 if (GetPlatformMap()->find(key) != GetPlatformMap()->end()) { 42 (*GetPlatformMap())[key] = platform.release();
|
/external/toybox/kconfig/lxdialog/ |
yesno.c | 44 int i, x, y, key = 0, button = 0; local 78 while (key != KEY_ESC) { 79 key = wgetch(dialog); 80 switch (key) { 93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); 103 key = on_key_esc(dialog); 113 return key; /* ESC pressed */
|