/external/tpm2/ |
Ticket.c | 15 // This function indicates if producing a ticket is safe. It checks if the leading bytes of an input buffer is 16 // TPM_GENERATED_VALUE or its substring of canonical form. If so, it is not safe to produce ticket for an 21 // TRUE It is safe to produce ticket 22 // FALSE It is not safe to produce ticket 34 // it is not safe to generate a ticket 49 // This function creates a TPMT_TK_VERIFIED ticket. 53 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket 56 TPMT_TK_VERIFIED *ticket // OUT: verified ticket 61 // Fill in ticket field [all...] |
Ticket_fp.h | 11 TPM_ST type, // IN: the type of ticket. 12 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket 17 TPMT_TK_AUTH *ticket // OUT: Created ticket 20 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy for ticket 23 TPMT_TK_CREATION *ticket // OUT: created ticket 26 TPMI_RH_HIERARCHY hierarchy, // IN: hierarchy constant for ticket 29 TPMT_TK_HASHCHECK *ticket // OUT: Created ticket [all...] |
PolicyTicket.c | 16 // TPM_RC_EXPIRED timeout value in the ticket is in the past and the ticket has expired 18 // TPM_RC_TICKET ticket is not valid 37 // A ticket is used in place of a previously given authorization. Since 39 // ticket is not necessary and, in place of using a ticket, one 40 // should use the intended authorization for which the ticket 61 // Validate Ticket 62 // Re-generate policy ticket by input parameters 63 TicketComputeAuth(in->ticket.tag, in->ticket.hierarchy, timeout, &in->cpHashA [all...] |
CertifyCreation.c | 31 TPMT_TK_CREATION ticket; local 39 // Re-compute ticket 41 &in->creationHash, &ticket); 42 // Compare ticket 43 if(!Memory2BEqual(&ticket.digest.b, &in->creationTicket.digest.b))
|
PolicyAuthorize.c | 28 TPMT_TK_VERIFIED ticket; local 58 // Validate ticket TPMT_TK_VERIFIED 75 &in->keySign, &ticket); 77 // Compare ticket digest. If not match, return error 78 if(!Memory2BEqual(&in->checkTicket.digest.b, &ticket.digest.b))
|
Sign.c | 20 // TPM_RC_TICKET validation is not a valid ticket 30 TPMT_TK_HASHCHECK ticket; local 48 // If validation is provided, or the key is restricted, check the ticket 52 // Compute and compare ticket 55 &in->digest, &ticket); 57 if(!Memory2BEqual(&in->validation.digest.b, &ticket.digest.b)) 61 // If we don't have a ticket, at least verify that the provided 'digest'
|
PolicyTicket_fp.h | 18 TPMT_TK_AUTH ticket; member in struct:__anon40473
|
Marshal_PolicyTicket.c | 34 result = TPMT_TK_AUTH_Unmarshal(&target->ticket, buffer, size);
|
/external/valgrind/coregrind/m_scheduler/ |
ticket-lock-linux.c | 3 /*--- Linux ticket lock implementation ticket-lock-linux.c ---*/ 73 return "ticket lock"; 104 * Acquire ticket lock. Increment the tail of the queue and use the original 105 * value as the ticket value. Wait until the head of the queue equals the 106 * ticket value. The futex used to wait depends on the ticket value in order 107 * to avoid that all threads get woken up every time a ticket lock is 111 * See also Nick Piggin, x86: FIFO ticket spinlocks, Linux kernel mailing list 116 unsigned ticket, futex_value local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/ |
TicketImageProxy.java | 21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket; 28 * Combines an {@link ImageProxy} with a {@link Ticket}. 32 private final Ticket mTicket; 35 public TicketImageProxy(ImageProxy image, Ticket ticket) { 37 mTicket = ticket; 46 // The ticket must be closed *after* the image is closed to avoid a race
|
/external/icu/icu4c/source/tools/toolutil/ |
udbgutil.h | 118 * @param ticket ticket string such as "10245" or "cldrbug:5013" 122 U_CAPI char *udbg_knownIssueURLFrom(const char *ticket, char *buf); 129 U_CAPI void *udbg_knownIssue_openU(void *ptr, const char *ticket, char *where, const UChar *msg, UBool *firstForTicket, 138 U_CAPI void *udbg_knownIssue_open(void *ptr, const char *ticket, char *where, const char *msg, UBool *firstForTicket,
|
udbgutil.cpp | 598 #define ICU_TRAC_URL "http://bugs.icu-project.org/trac/ticket/" 599 #define CLDR_TRAC_URL "http://unicode.org/cldr/trac/ticket/" 602 U_CAPI char *udbg_knownIssueURLFrom(const char *ticket, char *buf) { 603 if( ticket==NULL ) { 607 if( !strncmp(ticket, CLDR_TICKET_PREFIX, strlen(CLDR_TICKET_PREFIX)) ) { 609 strcat( buf, ticket+strlen(CLDR_TICKET_PREFIX) ); 612 strcat( buf, ticket ); 628 void add(const char *ticket, const char *where, const UChar *msg, UBool *firstForTicket, UBool *firstForWhere); 629 void add(const char *ticket, const char *where, const char *msg, UBool *firstForTicket, UBool *firstForWhere); 645 void KnownIssues::add(const char *ticket, const char *where, const UChar *msg, UBool *firstForTicket, UBool *firstForWhere [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
TicketRequiredFilter.java | 21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket; 28 * Decorates a BufferQueueController by attaching incoming images with a ticket 29 * from a TicketPool. If no ticket can be acquired, the incoming image is 44 Ticket ticket = mTicketProvider.tryAcquire(); local 45 if (ticket == null) { 48 mImageSequence.update(new TicketImageProxy(image, ticket));
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
registration.py | 27 @param ticket_id: valid id for a ticket. 35 """Updates the given registration ticket with the new data. 37 @param ticket_id: id of the ticket to update. 63 """Creates a new registration ticket.""" 79 """Finalizes a registration ticket by creating a new device. 81 @param ticket_id: id of ticket to finalize. 98 ticket = self.create_registration_ticket() 99 logging.info('Initial Ticket: %s', ticket) 100 ticket_id = ticket['id' [all...] |
/prebuilts/tools/linux-x86_64/kythe/proto/ |
xref.proto | 89 repeated string ticket = 1; 103 // If known and unambiguous, an anchor ticket for this node's definition 108 reserved "ticket"; 112 // One NodeInfo, keyed by its ticket, is returned for each requested node 114 // its ticket set since it would just be a copy of the map keys. 121 repeated string ticket = 1; 208 // matching outbound edges, keyed by the source node's ticket. The number of 214 // This field will contain one entry, keyed by ticket, for each distinct node 240 // The ticket of the file this location belongs to. If the location 241 // represents a memory buffer, the ticket should be omitted [all...] |
/external/autotest/client/common_lib/cros/fake_device_server/ |
registration_tickets.py | 24 client: POST .../ # Creates a new ticket with id <id> claims the ticket. 25 device: PATCH .../<id> with json blob # Populate ticket with device info 36 """Initializes a registration ticket. 48 """Creates and returns a new registration ticket.""" 50 ticket = {'kind': 'clouddevices#registrationTicket', 53 return ticket 56 def _finalize(self, id, api_key, ticket): 57 """Finalizes the ticket causing the server to add robot account info.""" 58 if 'userEmail' not in ticket [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
DynamicRingBuffer.java | 25 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket; 70 * @param parentTickets The parent ticket pool which implicitly determines 85 // Try to acquire a ticket to expand the ring-buffer and save the image. 86 Ticket ticket = null; local 90 // mQueue. However, for a brief moment, we acquire a ticket from 98 ticket = tryAcquireLowPriorityTicket(); 99 if (ticket == null) { 104 ticket = tryAcquireLowPriorityTicket(); 106 if (ticket != null) [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
sema.go | 120 s.ticket = 0 145 if s.ticket != 0 || cansemacquire(addr) { 188 if s.ticket != 0 { 189 throw("corrupted semaphore ticket") 192 s.ticket = 1 229 s.ticket = t.ticket 271 // The balanced tree is a treap using ticket as the random heap priority. 275 // on the ticket: s.ticket <= both s.prev.ticket and s.next.ticket [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
sema.go | 120 s.ticket = 0 145 if s.ticket != 0 || cansemacquire(addr) { 188 if s.ticket != 0 { 189 throw("corrupted semaphore ticket") 192 s.ticket = 1 229 s.ticket = t.ticket 271 // The balanced tree is a treap using ticket as the random heap priority. 275 // on the ticket: s.ticket <= both s.prev.ticket and s.next.ticket [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
error_reporter.py | 73 ticket = self._get_report_ticket() 74 if not ticket: 77 report = ErrorLogger('%s|%s' % (self.name, ticket)) 215 """Returns the next ticket, or none if all tickets have been used."""
|
rpc_connection.py | 43 _ticket_counter: The counter storing the current ticket number. 44 _ticket_lock: A lock on the ticket counter to prevent ticket collisions. 113 """Returns a ticket for a new request.""" 116 ticket = self._ticket_counter 117 return ticket
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_server.h | 41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
ReservableTicketPool.java | 47 * as soon as possible, which may depend on consumers of this ticket pool 71 * Wraps tickets from the parent ticket pool with logic to either release 75 private class TicketImpl implements Ticket { 76 private final Ticket mParentTicket; 79 private TicketImpl(Ticket parentTicket) { 93 // and return the ticket to the parent by closing it. 134 private final ArrayDeque<Ticket> mParentTickets; 172 public Collection<Ticket> acquire(int tickets) throws InterruptedException, 174 Collection<Ticket> acquiredParentTickets = acquireParentTickets(tickets); 176 List<Ticket> wrappedTicketList = new ArrayList<>() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestFmwk.java | 153 static final String ICU_TRAC_URL = "http://bugs.icu-project.org/trac/ticket/"; 154 static final String CLDR_TRAC_URL = "http://unicode.org/cldr/trac/ticket/"; 162 * @param ticket A ticket number string. For an ICU ticket, use numeric characters only, 163 * such as "10245". For a CLDR ticket, use prefix "cldrbug:" followed by ticket number, 168 protected static boolean logKnownIssue(String ticket, String comment) { 181 String ticketLink = "Unknown Ticket"; 182 if (ticket != null && ticket.length() > 0) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestFmwk.java | 152 static final String ICU_TRAC_URL = "http://bugs.icu-project.org/trac/ticket/"; 153 static final String CLDR_TRAC_URL = "http://unicode.org/cldr/trac/ticket/"; 161 * @param ticket A ticket number string. For an ICU ticket, use numeric characters only, 162 * such as "10245". For a CLDR ticket, use prefix "cldrbug:" followed by ticket number, 167 protected static boolean logKnownIssue(String ticket, String comment) { 180 String ticketLink = "Unknown Ticket"; 181 if (ticket != null && ticket.length() > 0) [all...] |