Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 147) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_LWPCookieJar.py20 def lwp_cookie_str(cookie): argument
26 h = [(cookie.name, cookie.value),
27 ("path", cookie.path),
28 ("domain", cookie.domain)]
29 if cookie.port is not None: h.append(("port", cookie.port))
30 if cookie.path_specified: h.append(("path_spec", None))
31 if cookie.port_specified: h.append(("port_spec", None))
32 if cookie.domain_initial_dot: h.append(("domain_dot", None))
33 if cookie.secure: h.append(("secure", None))
34 if cookie.expires: h.append(("expires",
[all …]
Dcookielib.py814 def set_ok(self, cookie, request): argument
823 def return_ok(self, cookie, request): argument
911 def set_ok(self, cookie, request): argument
918 _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
920 assert cookie.name is not None
925 if not fn(cookie, request):
930 def set_ok_version(self, cookie, request): argument
931 if cookie.version is None:
935 cookie.name, cookie.value)
937 if cookie.version > 0 and not self.rfc2965:
[all …]
D_MozillaCookieJar.py122 for cookie in self:
123 if not ignore_discard and cookie.discard:
125 if not ignore_expires and cookie.is_expired(now):
127 if cookie.secure: secure = "TRUE"
129 if cookie.domain.startswith("."): initial_dot = "TRUE"
131 if cookie.expires is not None:
132 expires = str(cookie.expires)
135 if cookie.value is None:
140 value = cookie.name
142 name = cookie.name
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dstdio.c61 __sread(void *cookie, char *buf, int n) in __sread() argument
63 FILE *fp = cookie; in __sread()
83 __swrite(void *cookie, char const *buf, int n) in __swrite() argument
85 FILE *fp = cookie; in __swrite()
87 _DIAGASSERT(cookie != NULL); in __swrite()
101 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument
103 FILE *fp = cookie; in __sseek()
123 __sclose(void *cookie) in __sclose() argument
126 _DIAGASSERT(cookie != NULL); in __sclose()
127 if(cookie == NULL) { in __sclose()
[all …]
/device/google/contexthub/firmware/os/inc/
Di2c.h28 typedef void (*I2cCallbackF)(void *cookie, size_t tx, size_t rx, int err);
33 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie);
35 const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie) in i2cMasterTx() argument
37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} in i2cMasterTx()
39 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie) in i2cMasterRx() argument
41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); in i2cMasterRx()
48 I2cCallbackF callback, void *cookie);
50 I2cCallbackF callback, void *cookie);
52 I2cCallbackF callback, void *cookie);
Dspi.h29 typedef void (*SpiCbkF)(void *cookie, int err);
78 void *cookie);
87 SpiCbkF callback, void *cookie);
90 void *cookie);
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_debug.c45 static void xputs(const char *s, void (*xputc)(unsigned n, void *cookie), void *cookie) in xputs() argument
48 xputc(*s++, cookie); in xputs()
52 void __xprintf(const char *fmt, va_list ap,void (*xputc)(unsigned n, void *cookie), void *cookie) in __xprintf() argument
64 xputc(n, cookie); in __xprintf()
70 xputc(hex2asc(n >> 12), cookie); in __xprintf()
71 xputc(hex2asc(n >> 8), cookie); in __xprintf()
72 xputc(hex2asc(n >> 4), cookie); in __xprintf()
73 xputc(hex2asc(n >> 0), cookie); in __xprintf()
79 xputc(hex2asc(n >> 4), cookie); in __xprintf()
80 xputc(hex2asc(n >> 0), cookie); in __xprintf()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/
Dboard_arm_trusted_boot.c66 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument
147 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
152 assert(cookie != NULL); in plat_get_nv_ctr()
155 oid = (const char *)cookie; in plat_get_nv_ctr()
177 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
203 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument
254 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
258 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
261 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
278 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
[all …]
/device/google/contexthub/firmware/app/chre/common/
Dchre11_app_syscalls.c67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
71 return syscallDo4P(SYSCALL_CHRE_API(TIMER_SET), dur_lo, dur_hi, cookie, oneShot); in chreTimerSet()
194 …sLocationSessionStartAsync(uint32_t minIntervalMs, uint32_t minTimeToNextFixMs, const void *cookie) in chreGnssLocationSessionStartAsync() argument
196 …_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_LOC_START_ASYNC), minIntervalMs, minTimeToNextFixMs, cookie); in chreGnssLocationSessionStartAsync()
199 bool chreGnssLocationSessionStopAsync(const void *cookie) in chreGnssLocationSessionStopAsync() argument
201 …_CHRE, SYSCALL_CHRE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_LOC_STOP_ASYNC), cookie); in chreGnssLocationSessionStopAsync()
204 bool chreGnssMeasurementSessionStartAsync(uint32_t minIntervalMs, const void *cookie) in chreGnssMeasurementSessionStartAsync() argument
206 …RE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_MEAS_START_ASYNC), minIntervalMs, cookie); in chreGnssMeasurementSessionStartAsync()
209 bool chreGnssMeasurementSessionStopAsync(const void *cookie) in chreGnssMeasurementSessionStopAsync() argument
211 …CHRE, SYSCALL_CHRE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_MEAS_STOP_ASYNC), cookie); in chreGnssMeasurementSessionStopAsync()
[all …]
Dchre_app_syscalls.c67 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot) in chreTimerSet() argument
71 return syscallDo4P(SYSCALL_CHRE_API(TIMER_SET), dur_lo, dur_hi, cookie, oneShot); in chreTimerSet()
204 …sLocationSessionStartAsync(uint32_t minIntervalMs, uint32_t minTimeToNextFixMs, const void *cookie) in chreGnssLocationSessionStartAsync() argument
206 …_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_LOC_START_ASYNC), minIntervalMs, minTimeToNextFixMs, cookie); in chreGnssLocationSessionStartAsync()
209 bool chreGnssLocationSessionStopAsync(const void *cookie) in chreGnssLocationSessionStopAsync() argument
211 …_CHRE, SYSCALL_CHRE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_LOC_STOP_ASYNC), cookie); in chreGnssLocationSessionStopAsync()
214 bool chreGnssMeasurementSessionStartAsync(uint32_t minIntervalMs, const void *cookie) in chreGnssMeasurementSessionStartAsync() argument
216 …RE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_MEAS_START_ASYNC), minIntervalMs, cookie); in chreGnssMeasurementSessionStartAsync()
219 bool chreGnssMeasurementSessionStopAsync(const void *cookie) in chreGnssMeasurementSessionStopAsync() argument
221 …CHRE, SYSCALL_CHRE_DRIVERS, SYSCALL_CHRE_DRV_GNSS, SYSCALL_CHRE_DRV_GNSS_MEAS_STOP_ASYNC), cookie); in chreGnssMeasurementSessionStopAsync()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_cookielib.py381 cookie = c._cookies["www.acme.com"]["/"]["eggs"]
382 self.assertTrue(cookie.value is None)
383 self.assertEqual(cookie.name, "eggs")
384 cookie = c._cookies["www.acme.com"]['/foo/']['"spam"']
385 self.assertTrue(cookie.value is None)
386 self.assertEqual(cookie.name, '"spam"')
387 self.assertEqual(lwp_cookie_str(cookie), (
427 cookie = c._cookies["www.example.com"]["/"]["ni"]
431 self.assertEqual(cookie.version, version)
451 cookie = c._cookies[".acme.com"]["/"]["spam"]
[all …]
/device/google/contexthub/firmware/lib/libc/
Daeabi.cpp99 extern "C" void* __aeabi_vec_ctor_cookie_nodtor(array_cookie* cookie,
141 extern "C" void* __aeabi_vec_ctor_cookie_nodtor(array_cookie* cookie, in __aeabi_vec_ctor_cookie_nodtor() argument
145 if (cookie == nullptr) { in __aeabi_vec_ctor_cookie_nodtor()
148 cookie->element_size = element_size; in __aeabi_vec_ctor_cookie_nodtor()
149 cookie->element_count = element_count; in __aeabi_vec_ctor_cookie_nodtor()
150 return __aeabi_vec_ctor_nocookie_nodtor(user_array_of(cookie), constructor, in __aeabi_vec_ctor_cookie_nodtor()
172 array_cookie* cookie = reinterpret_cast<array_cookie*>( in __aeabi_vec_new_cookie_noctor() local
175 cookie->element_size = element_size; in __aeabi_vec_new_cookie_noctor()
176 cookie->element_count = element_count; in __aeabi_vec_new_cookie_noctor()
177 return user_array_of(cookie); in __aeabi_vec_new_cookie_noctor()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/common/tbbr/
Dplat_tbbr.c28 int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc, in plat_set_nv_ctr2() argument
33 assert(cookie != NULL); in plat_set_nv_ctr2()
36 trusted_nv_ctr = strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0; in plat_set_nv_ctr2()
44 return plat_set_nv_ctr(cookie, nv_ctr); in plat_set_nv_ctr2()
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_dbg.h48 #define KPI_ATRACE_ASYNC_BEGIN(name, cookie) ({\ argument
50 ATRACE_ASYNC_BEGIN(name, cookie); \
54 #define KPI_ATRACE_ASYNC_END(name, cookie) ({\ argument
56 ATRACE_ASYNC_END(name, cookie); \
/device/google/contexthub/firmware/os/core/
DhostIntfI2c.c25 static void hostIntfI2cPreambleCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cPreambleCallback() argument
29 static void hostIntfI2cRxCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cRxCallback() argument
31 HostIntfCommCallbackF callback = cookie; in hostIntfI2cRxCallback()
37 static void hostIntfI2cTxCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cTxCallback() argument
39 HostIntfCommCallbackF callback = cookie; in hostIntfI2cTxCallback()
Dspi.c157 void *cookie = state->rxTxCookie; in spiMasterDone() local
160 callback(cookie, err); in spiMasterDone()
215 void *cookie = state->finishCookie; in spiSlaveCsInactive() local
220 callback(cookie, 0); in spiSlaveCsInactive()
248 void *cookie = state->rxTxCookie; in spiSlaveIdle() local
254 callback(cookie, err); in spiSlaveIdle()
275 SpiCbkF callback, void *cookie) in spiSetupRxTx() argument
281 state->rxTxCookie = cookie; in spiSetupRxTx()
319 void *cookie) in spiMasterRxTx() argument
327 ret = spiSetupRxTx(state, packets, n, callback, cookie); in spiMasterRxTx()
[all …]
DhostIntfSpi.c38 static void hostIntfSpiRxCallback(void *cookie, int err) in hostIntfSpiRxCallback() argument
41 HostIntfCommCallbackF callback = cookie; in hostIntfSpiRxCallback()
45 static void hostIntfSpiTxCallback(void *cookie, int err) in hostIntfSpiTxCallback() argument
47 HostIntfCommCallbackF callback = cookie; in hostIntfSpiTxCallback()
/device/google/contexthub/firmware/os/platform/native/
Di2c.c41 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument
57 I2cCallbackF callback, void *cookie) in i2cSlaveEnableRx() argument
62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument
67 …cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie) in i2cSlaveTxPacket() argument
/device/google/contexthub/contexthubhal/
Dlegacyhal.cpp24 static int legacy_cbk(uint32_t hub_id, const HubMessage &rxMsg, void *cookie) in legacy_cbk() argument
26 return mSavedCbk(hub_id, &rxMsg, cookie); in legacy_cbk()
29 static int legacy_subscribe_messages(uint32_t hub_id, context_hub_callback *cbk, void *cookie) in legacy_subscribe_messages() argument
33 return NanoHub::subscribeMessages(hub_id, legacy_cbk, cookie); in legacy_subscribe_messages()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/common/
Dmtk_sip_svc.c27 void *cookie, in mediatek_plat_sip_handler() argument
42 void *cookie, in mediatek_sip_handler() argument
78 cookie, handle, flags); in mediatek_sip_handler()
90 void *cookie, in sip_smc_handler() argument
111 cookie, handle, flags); in sip_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_tbbr.c11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument
21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
32 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
Dqemu_trusted_boot.c11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument
21 int plat_get_nv_ctr(void *cookie, unsigned int *nv_ctr) in plat_get_nv_ctr() argument
28 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_trusted_boot.c22 int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr) in plat_set_nv_ctr() argument
27 assert(cookie != NULL); in plat_set_nv_ctr()
29 oid = (const char *)cookie; in plat_set_nv_ctr()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c182 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err);
253 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument
255 struct I2cTransfer *xfer = cookie; in i2cCallback()
261 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.id); in i2cCallback()
266 static void baroTimerCallback(uint32_t timerId, void *cookie) in baroTimerCallback() argument
268 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, cookie, NULL, mTask.id); in baroTimerCallback()
271 static void tempTimerCallback(uint32_t timerId, void *cookie) in tempTimerCallback() argument
273 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, cookie, NULL, mTask.id); in tempTimerCallback()
276 static void softresetCallback(uint32_t timerId, void *cookie) in softresetCallback() argument
278 osEnqueuePrivateEvt(EVT_SENSOR_SOFTRESET_TIMER, cookie, NULL, mTask.id); in softresetCallback()
[all …]
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c64 static void debounceTimerCallback(uint32_t timerId, void *cookie) in debounceTimerCallback() argument
67 bool prevPinState = (bool)cookie; in debounceTimerCallback()
136 static bool hallPower(bool on, void *cookie) in hallPower() argument
157 static bool hallFirmwareUpload(void *cookie) in hallFirmwareUpload() argument
162 static bool hallSetRate(uint32_t rate, uint64_t latency, void *cookie) in hallSetRate() argument
176 static bool hallFlush(void *cookie) in hallFlush() argument
181 static bool hallSendLastSample(void *cookie, uint32_t tid) in hallSendLastSample() argument

123456