Home
last modified time | relevance | path

Searched refs:gstate (Results 1 – 10 of 10) sorted by relevance

/third_party/toybox/toys/pending/
Ddhcpd.c325 static server_state_t gstate; variable
683 sltmp->next = gstate.leases.sleases; in get_staticlease()
684 gstate.leases.sleases = sltmp; in get_staticlease()
778 if (gstate.listensock > 0) close(gstate.listensock); in open_listensock6()
782 gstate.listensock = xsocket(PF_INET6, SOCK_DGRAM, 0); in open_listensock6()
783 setsockopt(gstate.listensock, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in open_listensock6()
784 setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_CHECKSUM, &constone, sizeof(constone)); in open_listensock6()
786 if (setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &constone, in open_listensock6()
789 close(gstate.listensock); in open_listensock6()
793 …setsockopt(gstate.listensock, SOL_SOCKET, SO_BINDTODEVICE, gconfig.interface, strlen(gconfig.inter… in open_listensock6()
[all …]
/third_party/littlefs/scripts/
Dreadtree.py12 gstate = b'\0\0\0\0\0\0\0\0\0\0\0\0'
59 gstate = bytes((a or 0) ^ (b or 0)
60 for a,b in it.zip_longest(gstate, ngstate.data))
112 print("gstate 0x%s" % ''.join('%02x' % c for c in gstate))
113 tag = Tag(struct.unpack('<I', gstate[0:4].ljust(4, b'\xff'))[0])
114 blocks = struct.unpack('<II', gstate[4:4+8].ljust(8, b'\xff'))
/third_party/littlefs/
Dlfs.c1085 lfs_gstate_t *gstate) { in lfs_dir_getgstate() argument
1096 lfs_gstate_xor(gstate, &temp); in lfs_dir_getgstate()
1740 lfs_gstate_xor(&delta, &lfs->gstate); in lfs_dir_compact()
1781 lfs->gdisk = lfs->gstate; in lfs_dir_compact()
1914 lfs_gstate_xor(&delta, &lfs->gstate); in lfs_dir_commit()
1953 lfs->gdisk = lfs->gstate; in lfs_dir_commit()
3373 if (!samepair && lfs_gstate_hasmove(&lfs->gstate)) {
3579 lfs->gstate = (lfs_gstate_t){0};
3768 err = lfs_dir_getgstate(lfs, &dir, &lfs->gstate);
3781 if (!lfs_gstate_iszero(&lfs->gstate)) {
[all …]
DDESIGN.md1873 0x00 --> xor ------------------> xor ------> xor --> gstate 0x12
1889 0x00 --> xor ----------------> xor -|------> xor --> gstate = 0x12
1892 change gstate to 0xab --> xor <------------|--------------------------'
1904 0x00 --> xor ------------------> xor ------> xor --> gstate = 0xab
1925 .--------. gstate = no move
1946 begin move, add reference in dir C, change gstate to have move
1948 .--------. gstate = moving file D in dir A (m1)
1970 complete move, remove reference in dir A, change gstate to no move
1972 .--------. gstate = no move (m1^~m1)
2002 .--------. gstate = moving file D in dir A (m1)
[all …]
Dlfs.h399 lfs_gstate_t gstate; member
DSPEC.md679 0x00 --> xor ------------------> xor ------> xor --> gstate = 0x12
/third_party/littlefs/tests/
Dtest_evil.toml185 [[case]] # invalid gstate pointer
192 // create an invalid gstate
204 // we try to fix the gstate
/third_party/python/Modules/_sqlite/
Dconnection.c874 PyGILState_STATE gstate; in _destructor() local
875 gstate = PyGILState_Ensure(); in _destructor()
877 PyGILState_Release(gstate); in _destructor()
/third_party/python/Modules/
D_ssl.c4348 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback() local
4353 PyGILState_Release(gstate); in _servername_callback()
4431 PyGILState_Release(gstate); in _servername_callback()
4438 PyGILState_Release(gstate); in _servername_callback()
/third_party/python/Doc/c-api/
Dinit.rst793 PyGILState_STATE gstate;
794 gstate = PyGILState_Ensure();
801 PyGILState_Release(gstate);